
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
5d2e294
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": "warn", | |
"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.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": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 853.078016, | |
"max_global_vram": 709.361664, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.7395322265625, | |
"mean": 7.7395322265625, | |
"stdev": 0.0, | |
"p50": 7.7395322265625, | |
"p90": 7.7395322265625, | |
"p95": 7.7395322265625, | |
"p99": 7.7395322265625, | |
"values": [ | |
7.7395322265625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.306593188888878e-06, | |
"ram": 2.344583098657756e-06, | |
"gpu": 6.183616057999961e-06, | |
"total": 1.2834792345546595e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1092.108288, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 0.9983794260025023, | |
"mean": 0.007080705148953918, | |
"stdev": 0.0002588194628629438, | |
"p50": 0.0070256638526916505, | |
"p90": 0.007226367950439453, | |
"p95": 0.007616511821746826, | |
"p99": 0.007858995056152344, | |
"values": [ | |
0.007838719844818116, | |
0.007825407981872558, | |
0.007872511863708496, | |
0.007746560096740723, | |
0.007707647800445557, | |
0.007712768077850342, | |
0.007616511821746826, | |
0.00684441614151001, | |
0.006860799789428711, | |
0.007001088142395019, | |
0.0070563840866088865, | |
0.007164927959442138, | |
0.0069928960800170895, | |
0.007005184173583984, | |
0.0069847040176391605, | |
0.006743040084838867, | |
0.006773759841918945, | |
0.0067051839828491215, | |
0.006730751991271973, | |
0.006766592025756836, | |
0.006694911956787109, | |
0.0067123198509216305, | |
0.00694271993637085, | |
0.007208960056304932, | |
0.007135231971740722, | |
0.007010367870330811, | |
0.007226367950439453, | |
0.0070256638526916505, | |
0.007027711868286133, | |
0.006989823818206787, | |
0.007010303974151612, | |
0.007005184173583984, | |
0.006989823818206787, | |
0.007027711868286133, | |
0.006969344139099121, | |
0.007009280204772949, | |
0.006988800048828125, | |
0.0069621758460998535, | |
0.006982656002044678, | |
0.006976511955261231, | |
0.00708403205871582, | |
0.006975488185882568, | |
0.007158720016479493, | |
0.006991903781890869, | |
0.007003136157989502, | |
0.006969344139099121, | |
0.0069959678649902345, | |
0.007008255958557129, | |
0.007029759883880615, | |
0.006978559970855713, | |
0.006952960014343262, | |
0.0070696320533752445, | |
0.007008255958557129, | |
0.006796288013458252, | |
0.006715392112731934, | |
0.006726655960083008, | |
0.007018496036529541, | |
0.006977536201477051, | |
0.007023615837097168, | |
0.007032832145690918, | |
0.006991936206817627, | |
0.0069836158752441405, | |
0.007011328220367432, | |
0.006969344139099121, | |
0.006988800048828125, | |
0.006937600135803222, | |
0.00708403205871582, | |
0.0072427520751953125, | |
0.0069847040176391605, | |
0.007010303974151612, | |
0.007050240039825439, | |
0.0070522880554199216, | |
0.007102464199066162, | |
0.0069970240592956544, | |
0.006977536201477051, | |
0.006990848064422607, | |
0.007161856174468994, | |
0.007090176105499267, | |
0.007053311824798584, | |
0.007031807899475098, | |
0.007147520065307617, | |
0.007020544052124023, | |
0.007098368167877197, | |
0.006986752033233643, | |
0.007355391979217529, | |
0.007209983825683594, | |
0.007608320236206055, | |
0.007151616096496582, | |
0.007585792064666748, | |
0.008873984336853028, | |
0.007117760181427002, | |
0.007013343811035157, | |
0.007072768211364746, | |
0.007068672180175781, | |
0.007057407855987549, | |
0.007027711868286133, | |
0.007036928176879883, | |
0.007237599849700928, | |
0.007080959796905518, | |
0.007041024208068848, | |
0.007013408184051514, | |
0.007087103843688965, | |
0.007077888011932373, | |
0.007186431884765625, | |
0.007515071868896484, | |
0.007145472049713135, | |
0.007120895862579346, | |
0.007143424034118652, | |
0.007106592178344726, | |
0.007009280204772949, | |
0.007104479789733887, | |
0.0071485438346862796, | |
0.007098368167877197, | |
0.007104512214660645, | |
0.00708403205871582, | |
0.007077951908111572, | |
0.007090176105499267, | |
0.007098368167877197, | |
0.00714137601852417, | |
0.007049215793609619, | |
0.007103487968444824, | |
0.00714137601852417, | |
0.007061503887176514, | |
0.007020544052124023, | |
0.007068672180175781, | |
0.00709119987487793, | |
0.007203839778900147, | |
0.00710041618347168, | |
0.006922239780426025, | |
0.006918144226074219, | |
0.006947807788848877, | |
0.007005184173583984, | |
0.0070256638526916505, | |
0.006994944095611572, | |
0.0069324798583984375, | |
0.0068618240356445315, | |
0.006895616054534912, | |
0.007024640083312988, | |
0.006917119979858399, | |
0.006929408073425293, | |
0.00694374418258667 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.2288718373956 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.307170078185928e-08, | |
"ram": 4.5419671790859664e-08, | |
"gpu": 1.671640808951057e-07, | |
"total": 2.956554534678246e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3382315.4224646403 | |
} | |
} | |
} | |
} |