IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
acc8a66
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": "6", | |
"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.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"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": 1153.314816, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 50308.73088, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.8744267578125, | |
"mean": 8.8744267578125, | |
"stdev": 0.0, | |
"p50": 8.8744267578125, | |
"p90": 8.8744267578125, | |
"p95": 8.8744267578125, | |
"p99": 8.8744267578125, | |
"values": [ | |
8.8744267578125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.467136, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 98115.805184, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 0.9965746438503266, | |
"mean": 0.007437124207838257, | |
"stdev": 0.0033053270146927234, | |
"p50": 0.007260413408279419, | |
"p90": 0.00784086194038391, | |
"p95": 0.0081070152759552, | |
"p99": 0.009640789031982394, | |
"values": [ | |
0.007774894237518311, | |
0.007496334075927734, | |
0.007907374858856201, | |
0.007851853847503662, | |
0.007903055191040039, | |
0.007906254768371581, | |
0.007877933979034423, | |
0.007815214157104492, | |
0.007743534088134766, | |
0.007685294151306152, | |
0.007509774208068848, | |
0.007540974140167236, | |
0.007400814056396484, | |
0.007423373222351074, | |
0.007407534122467041, | |
0.007215854167938233, | |
0.0073867330551147465, | |
0.007248973846435547, | |
0.00739665412902832, | |
0.0072393732070922855, | |
0.007256814002990723, | |
0.0074160127639770505, | |
0.007240172863006592, | |
0.010366579055786133, | |
0.007646093845367432, | |
0.007174892902374268, | |
0.007351054191589356, | |
0.007313292980194092, | |
0.007200813770294189, | |
0.007342893123626709, | |
0.007139692783355713, | |
0.007357132911682129, | |
0.007220654010772705, | |
0.007359852790832519, | |
0.007242413997650146, | |
0.007199213027954101, | |
0.007375693798065185, | |
0.007349614143371582, | |
0.007350412845611573, | |
0.007205773830413818, | |
0.007189133167266846, | |
0.007393454074859619, | |
0.007370413780212403, | |
0.007336973190307617, | |
0.007242733001708984, | |
0.007606894016265869, | |
0.00725585412979126, | |
0.007410412788391114, | |
0.007370254039764404, | |
0.007362894058227539, | |
0.0072001729011535644, | |
0.007388654232025146, | |
0.007231692790985108, | |
0.007347214221954346, | |
0.0072598538398742675, | |
0.007208333015441894, | |
0.007210732936859131, | |
0.007210573196411133, | |
0.007247373104095459, | |
0.007241454124450684, | |
0.007231533050537109, | |
0.007220973968505859, | |
0.007227852821350098, | |
0.0073326539993286135, | |
0.007208652973175049, | |
0.007230894088745117, | |
0.007277613162994385, | |
0.007478734016418457, | |
0.007234734058380127, | |
0.00720369291305542, | |
0.0072264142036437985, | |
0.007238412857055664, | |
0.007205293178558349, | |
0.007169612884521484, | |
0.007217453002929687, | |
0.007531854152679443, | |
0.007234893798828125, | |
0.00726097297668457, | |
0.007255214214324951, | |
0.007228972911834716, | |
0.007237133979797364, | |
0.007230093002319336, | |
0.007231694221496582, | |
0.043146800994873044, | |
0.0023444840908050536, | |
0.0023249640464782714, | |
0.002324325084686279, | |
0.0023320040702819824, | |
0.0023200039863586425, | |
0.0023257648944854737, | |
0.003530885934829712, | |
0.007222733974456787, | |
0.007232812881469727, | |
0.0072643327713012695, | |
0.007246892929077148, | |
0.007238412857055664, | |
0.007277452945709228, | |
0.007236652851104737, | |
0.007242093086242676, | |
0.007204973220825196, | |
0.007250733852386474, | |
0.007203213214874268, | |
0.00724433422088623, | |
0.007227852821350098, | |
0.0072569727897644045, | |
0.0072329740524291995, | |
0.007253293037414551, | |
0.007284014225006103, | |
0.007224493026733399, | |
0.00725425386428833, | |
0.0072643327713012695, | |
0.007232173919677735, | |
0.007247532844543457, | |
0.007243693828582764, | |
0.008101775169372558, | |
0.008141135215759277, | |
0.008148494720458985, | |
0.008148015022277832, | |
0.007658094882965088, | |
0.008107535362243653, | |
0.008106735229492188, | |
0.008167215347290039, | |
0.0077688140869140625, | |
0.007615533828735352, | |
0.0074936141967773436, | |
0.007449613094329834, | |
0.007556014060974121, | |
0.007737294197082519, | |
0.007758574962615967, | |
0.007597454071044922, | |
0.007440013885498047, | |
0.007620014190673828, | |
0.0073356938362121584, | |
0.007546253204345703 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.46057535869355 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |