IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d6f4a3b
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "timm", | |
"model": "timm/resnet50.a1_in1k", | |
"processor": "timm/resnet50.a1_in1k", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_kwargs": {}, | |
"no_weights": false, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"autocast_enabled": false, | |
"autocast_dtype": null, | |
"torch_compile": false, | |
"torch_compile_target": "forward", | |
"torch_compile_config": {}, | |
"quantization_scheme": null, | |
"quantization_config": {}, | |
"deepspeed_inference": false, | |
"deepspeed_inference_config": {}, | |
"peft_type": null, | |
"peft_config": {} | |
}, | |
"scenario": { | |
"name": "inference", | |
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario", | |
"iterations": 1, | |
"duration": 1, | |
"warmup_runs": 1, | |
"input_shapes": { | |
"batch_size": 1, | |
"num_choices": 2, | |
"sequence_length": 2 | |
}, | |
"new_tokens": null, | |
"latency": true, | |
"memory": true, | |
"energy": false, | |
"forward_kwargs": {}, | |
"generate_kwargs": { | |
"max_new_tokens": 2, | |
"min_new_tokens": 2 | |
}, | |
"call_kwargs": { | |
"num_inference_steps": 2 | |
} | |
}, | |
"launcher": { | |
"name": "process", | |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
"device_isolation": true, | |
"device_isolation_action": "error", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": "2516ce57a5b64eefeb78dc75a171e0cdff88823e", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1829.208064, | |
"max_global_vram": 1521.651712, | |
"max_process_vram": 110434.746368, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 163, | |
"total": 0.9936911573410038, | |
"mean": 0.006096264768963211, | |
"stdev": 0.00040179489989211874, | |
"p50": 0.005908806800842285, | |
"p90": 0.00655482292175293, | |
"p95": 0.006687462949752808, | |
"p99": 0.007875276069641113, | |
"values": [ | |
0.007925768852233887, | |
0.00736896800994873, | |
0.0074316878318786625, | |
0.007148007869720459, | |
0.006653767108917236, | |
0.006475687026977539, | |
0.006768968105316162, | |
0.006691206932067871, | |
0.006652166843414306, | |
0.006544167995452881, | |
0.006557446956634521, | |
0.006568006992340088, | |
0.0065616068840026855, | |
0.006544326782226563, | |
0.006598567962646485, | |
0.0059545660018920895, | |
0.005826725959777832, | |
0.005853607177734375, | |
0.005873445987701416, | |
0.00582608699798584, | |
0.005837285995483398, | |
0.005839685916900635, | |
0.005848327159881592, | |
0.005815365791320801, | |
0.005849606990814209, | |
0.005841606140136719, | |
0.005870885848999023, | |
0.005872807025909424, | |
0.0058904061317443844, | |
0.005844167232513428, | |
0.0059300861358642576, | |
0.005927526950836181, | |
0.008175528526306153, | |
0.006464807033538819, | |
0.006156166076660156, | |
0.005965446949005127, | |
0.005981606006622314, | |
0.005856006145477295, | |
0.006307046890258789, | |
0.005877126216888428, | |
0.006166246891021729, | |
0.005898726940155029, | |
0.0058401660919189455, | |
0.005872645854949951, | |
0.005903206825256348, | |
0.0060113658905029295, | |
0.005896327018737793, | |
0.006024806022644043, | |
0.005923525810241699, | |
0.005893286228179932, | |
0.005872646808624268, | |
0.006052966117858887, | |
0.005880486011505127, | |
0.005931046009063721, | |
0.005900806903839111, | |
0.005866725921630859, | |
0.0058924870491027835, | |
0.006045286178588867, | |
0.005898887157440185, | |
0.005880646228790283, | |
0.005915846824645996, | |
0.005857605934143067, | |
0.005908806800842285, | |
0.006042086124420166, | |
0.005821287155151367, | |
0.00588960599899292, | |
0.005911847114562988, | |
0.006150085926055909, | |
0.005898406982421875, | |
0.005857126235961914, | |
0.005894567012786865, | |
0.00587104606628418, | |
0.005905126094818115, | |
0.0059193668365478515, | |
0.005916646003723144, | |
0.0059164872169494625, | |
0.005844165802001953, | |
0.005844326972961425, | |
0.005900805950164795, | |
0.005868967056274414, | |
0.005905126094818115, | |
0.005904965877532959, | |
0.0059168062210083, | |
0.005872486114501953, | |
0.00586864709854126, | |
0.0059067258834838866, | |
0.005884167194366455, | |
0.005878245830535889, | |
0.0058961668014526365, | |
0.005921286106109619, | |
0.005895206928253174, | |
0.005879045963287354, | |
0.0058260860443115235, | |
0.0058424072265625, | |
0.005892486095428467, | |
0.005907846927642822, | |
0.0058828859329223635, | |
0.005894567012786865, | |
0.005900485992431641, | |
0.005917925834655762, | |
0.0058976058959960935, | |
0.005887206077575684, | |
0.005915367126464844, | |
0.005900485992431641, | |
0.005784646987915039, | |
0.005917126178741455, | |
0.005854406833648682, | |
0.005874725818634033, | |
0.005851847171783447, | |
0.005825766086578369, | |
0.0058670458793640134, | |
0.005860167026519775, | |
0.005891685962677002, | |
0.0060404868125915525, | |
0.0063219270706176755, | |
0.006171205997467041, | |
0.0062105669975280765, | |
0.0061635270118713375, | |
0.006185926914215088, | |
0.006414727210998535, | |
0.006143846988677979, | |
0.006341445922851563, | |
0.006138566970825195, | |
0.0062742471694946286, | |
0.006266087055206299, | |
0.006630567073822022, | |
0.0064320068359375, | |
0.007844328880310059, | |
0.007232808113098145, | |
0.006541767120361328, | |
0.006541926860809327, | |
0.006589447021484375, | |
0.006136006832122802, | |
0.0065403270721435544, | |
0.006147047042846679, | |
0.006449606895446778, | |
0.006425286769866943, | |
0.0063427271842956545, | |
0.006324007034301758, | |
0.006040326118469238, | |
0.006090887069702148, | |
0.005874725818634033, | |
0.00602608585357666, | |
0.005843845844268799, | |
0.005849445819854736, | |
0.005848326206207275, | |
0.0058504071235656735, | |
0.0058404860496521, | |
0.005825446128845215, | |
0.006014885902404785, | |
0.005882087230682373, | |
0.005871366024017334, | |
0.006048487186431885, | |
0.006034885883331299, | |
0.0058643269538879396, | |
0.006107845783233643, | |
0.006088167190551758, | |
0.005861125946044922, | |
0.00613072681427002, | |
0.005848004817962647, | |
0.006031045913696289, | |
0.006042087078094482, | |
0.0060412859916687016 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 164.03487018659615 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |