IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
0cf2c13
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "timm", | |
"model_type": "resnet50", | |
"model": "timm/resnet50.a1_in1k", | |
"processor": "timm/resnet50.a1_in1k", | |
"device": "cuda", | |
"device_ids": "4", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_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, | |
"memory": true, | |
"latency": 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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1118.257152, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 50855.796736, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.7402021484375, | |
"mean": 8.7402021484375, | |
"stdev": 0.0, | |
"p50": 8.7402021484375, | |
"p90": 8.7402021484375, | |
"p95": 8.7402021484375, | |
"p99": 8.7402021484375, | |
"values": [ | |
8.7402021484375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1202.675712, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 104069.169152, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 0.9941948347091673, | |
"mean": 0.0075892735473982245, | |
"stdev": 0.0004001281854021923, | |
"p50": 0.007320777893066406, | |
"p90": 0.0081460542678833, | |
"p95": 0.008187894344329833, | |
"p99": 0.008391989135742187, | |
"values": [ | |
0.007808454990386963, | |
0.007320777893066406, | |
0.007427496910095215, | |
0.007287017822265625, | |
0.007391336917877197, | |
0.00740477705001831, | |
0.007307497978210449, | |
0.007442697048187256, | |
0.007391976833343506, | |
0.007407017230987549, | |
0.007400136947631836, | |
0.007385577201843262, | |
0.007360297203063965, | |
0.007407816886901855, | |
0.007369417190551758, | |
0.00738733720779419, | |
0.007404457092285157, | |
0.007300137996673584, | |
0.007306218147277832, | |
0.00730925703048706, | |
0.008397574424743653, | |
0.008198055267333984, | |
0.008189093589782715, | |
0.008391654014587403, | |
0.007518696784973145, | |
0.007267817974090576, | |
0.007950055122375487, | |
0.008181094169616699, | |
0.008218535423278809, | |
0.008392132759094239, | |
0.008186695098876953, | |
0.008129573822021485, | |
0.008146215438842773, | |
0.008305253982543946, | |
0.008158055305480957, | |
0.008144775390625, | |
0.008128615379333496, | |
0.008119975090026856, | |
0.008123814582824707, | |
0.008119974136352539, | |
0.008115654945373535, | |
0.008130694389343262, | |
0.008155335426330566, | |
0.00814445400238037, | |
0.008152774810791016, | |
0.008127814292907714, | |
0.008123655319213868, | |
0.008102214813232422, | |
0.008109414100646972, | |
0.00813005542755127, | |
0.008142213821411132, | |
0.008118695259094238, | |
0.008116774559020996, | |
0.00810365390777588, | |
0.00813613510131836, | |
0.008139493942260743, | |
0.008093415260314941, | |
0.008083334922790527, | |
0.0081460542678833, | |
0.008102054595947266, | |
0.00811917495727539, | |
0.008111815452575683, | |
0.00814157485961914, | |
0.008122214317321777, | |
0.007312138080596924, | |
0.007266538143157959, | |
0.007294376850128174, | |
0.0072921371459960934, | |
0.007265417098999023, | |
0.007309257984161377, | |
0.007300776958465576, | |
0.007254376888275147, | |
0.00726781702041626, | |
0.007296298027038574, | |
0.0072642979621887205, | |
0.007250856876373291, | |
0.007280296802520752, | |
0.00723373794555664, | |
0.007242056846618652, | |
0.007245418071746826, | |
0.007239977836608887, | |
0.007240777015686035, | |
0.007229738235473633, | |
0.007243338108062744, | |
0.007265256881713867, | |
0.00723101806640625, | |
0.007244777202606201, | |
0.007238856792449951, | |
0.007230217933654785, | |
0.007209577083587646, | |
0.0072215781211853024, | |
0.007812136173248291, | |
0.00728205680847168, | |
0.007272138118743897, | |
0.007291176795959473, | |
0.007287497043609619, | |
0.007288136959075928, | |
0.007270378112792969, | |
0.007274056911468506, | |
0.007275816917419434, | |
0.007269257068634033, | |
0.007266538143157959, | |
0.007275177001953125, | |
0.007281577110290528, | |
0.007296137809753418, | |
0.007294217109680176, | |
0.0072969369888305664, | |
0.007305897235870361, | |
0.007280776977539063, | |
0.0072831778526306155, | |
0.007362857818603515, | |
0.007325578212738037, | |
0.0073182168006896975, | |
0.007286217212677002, | |
0.007315977096557617, | |
0.007292457103729248, | |
0.007339016914367676, | |
0.007310216903686524, | |
0.007311178207397461, | |
0.007288777828216552, | |
0.007271976947784424, | |
0.007292936801910401, | |
0.0072638168334960935, | |
0.007312938213348389, | |
0.007574535846710205, | |
0.007463656902313233, | |
0.007662376880645752, | |
0.007238536834716797, | |
0.00746925687789917, | |
0.007266857147216797, | |
0.007297418117523193 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.7649171234344 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |