
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d04c567
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_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": "0", | |
"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": true, | |
"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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.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": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 853.639168, | |
"max_global_vram": 688.390144, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.72423046875, | |
"mean": 7.72423046875, | |
"stdev": 0.0, | |
"p50": 7.72423046875, | |
"p90": 7.72423046875, | |
"p95": 7.72423046875, | |
"p99": 7.72423046875, | |
"values": [ | |
7.72423046875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.2887681694447604e-06, | |
"ram": 2.334319342122214e-06, | |
"gpu": 5.013615121999995e-06, | |
"total": 1.1636702633566969e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1092.337664, | |
"max_global_vram": 782.761984, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 1.0018334054946905, | |
"mean": 0.007055164827427395, | |
"stdev": 0.00022905126044482475, | |
"p50": 0.007041072130203247, | |
"p90": 0.0071966849803924565, | |
"p95": 0.007246028900146484, | |
"p99": 0.008072677698135378, | |
"values": [ | |
0.007217152118682861, | |
0.007185440063476562, | |
0.007197696208953858, | |
0.007153664112091064, | |
0.007226367950439453, | |
0.007166975975036621, | |
0.007120895862579346, | |
0.007151616096496582, | |
0.0072765440940856935, | |
0.007092288017272949, | |
0.0071145920753479, | |
0.007163904190063477, | |
0.00738918399810791, | |
0.0074403839111328125, | |
0.00663046407699585, | |
0.006626399993896484, | |
0.006638432025909424, | |
0.006635392189025879, | |
0.006627327919006347, | |
0.006543360233306885, | |
0.00658025598526001, | |
0.00658735990524292, | |
0.0067470078468322755, | |
0.006601727962493896, | |
0.0066087360382080075, | |
0.006684671878814697, | |
0.007058432102203369, | |
0.007021567821502686, | |
0.007005184173583984, | |
0.00703385591506958, | |
0.007023551940917969, | |
0.008261631965637208, | |
0.008553471565246582, | |
0.007800767898559571, | |
0.007412735939025879, | |
0.007197696208953858, | |
0.00709119987487793, | |
0.007077888011932373, | |
0.007078911781311035, | |
0.007208960056304932, | |
0.007058432102203369, | |
0.007028639793395996, | |
0.007108607769012451, | |
0.007007359981536865, | |
0.007106560230255127, | |
0.007031648159027099, | |
0.007050240039825439, | |
0.0069283838272094726, | |
0.006927360057830811, | |
0.006930431842803955, | |
0.006905856132507324, | |
0.007006207942962647, | |
0.007094272136688232, | |
0.0070553598403930665, | |
0.00704095983505249, | |
0.007022719860076904, | |
0.007156735897064209, | |
0.007037951946258545, | |
0.007031807899475098, | |
0.007023712158203125, | |
0.006996992111206054, | |
0.007058432102203369, | |
0.00707583999633789, | |
0.007037888050079346, | |
0.007016448020935059, | |
0.007050240039825439, | |
0.007051263809204102, | |
0.007065599918365479, | |
0.007027616024017334, | |
0.007045119762420654, | |
0.007041120052337647, | |
0.007006207942962647, | |
0.007187583923339844, | |
0.0070829758644104, | |
0.007078911781311035, | |
0.007037951946258545, | |
0.007029759883880615, | |
0.007031936168670655, | |
0.007078911781311035, | |
0.007056511878967285, | |
0.007035903930664063, | |
0.00698367977142334, | |
0.006961152076721191, | |
0.006936575889587402, | |
0.007041024208068848, | |
0.00704204797744751, | |
0.007042175769805909, | |
0.007049215793609619, | |
0.007036928176879883, | |
0.007061503887176514, | |
0.007076863765716553, | |
0.007109632015228271, | |
0.00712611198425293, | |
0.007006207942962647, | |
0.007046144008636474, | |
0.007090176105499267, | |
0.007073791980743408, | |
0.006999040126800537, | |
0.0070225920677185055, | |
0.007037856101989746, | |
0.007230463981628418, | |
0.0070553598403930665, | |
0.0070348801612854, | |
0.007040031909942627, | |
0.007078911781311035, | |
0.007059616088867187, | |
0.0072254080772399904, | |
0.00704201602935791, | |
0.007128064155578613, | |
0.007080959796905518, | |
0.007066688060760498, | |
0.007013440132141113, | |
0.006989823818206787, | |
0.007032832145690918, | |
0.00708403205871582, | |
0.007017471790313721, | |
0.007057407855987549, | |
0.007018367767333985, | |
0.0070256638526916505, | |
0.007040095806121826, | |
0.0072468481063842774, | |
0.007009280204772949, | |
0.007019519805908203, | |
0.007036928176879883, | |
0.007036992073059082, | |
0.0070042238235473635, | |
0.007038976192474365, | |
0.0070685758590698245, | |
0.007018496036529541, | |
0.007011263847351074, | |
0.007045119762420654, | |
0.007032832145690918, | |
0.0070152320861816405, | |
0.0070266880989074704, | |
0.0070553598403930665, | |
0.007048192024230957, | |
0.007032832145690918, | |
0.007105535984039306, | |
0.007028863906860351, | |
0.007003136157989502, | |
0.007054336071014404, | |
0.00694975996017456 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.74013286159345 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.907209370370452e-08, | |
"ram": 4.323343251807536e-08, | |
"gpu": 1.764964374933329e-07, | |
"total": 2.9880196371511273e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3346698.219672451 | |
} | |
} | |
} | |
} |