
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e65a01b
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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.224-212.876.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.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": 866.512896, | |
"max_global_vram": 716.701696, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.2765751953125, | |
"mean": 8.2765751953125, | |
"stdev": 0.0, | |
"p50": 8.2765751953125, | |
"p90": 8.2765751953125, | |
"p95": 8.2765751953125, | |
"p99": 8.2765751953125, | |
"values": [ | |
8.2765751953125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.7485268256900535e-06, | |
"ram": 3.1307144044380402e-06, | |
"gpu": 8.308895536000664e-06, | |
"total": 1.718813676612876e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1106.149376, | |
"max_global_vram": 790.102016, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 1.001879487991333, | |
"mean": 0.007259996289792267, | |
"stdev": 0.0002768269082974589, | |
"p50": 0.007204864025115967, | |
"p90": 0.007373619318008423, | |
"p95": 0.007538251352310181, | |
"p99": 0.008640153551101684, | |
"values": [ | |
0.007435264110565186, | |
0.007377920150756836, | |
0.007411712169647216, | |
0.007395328044891358, | |
0.0074035201072692874, | |
0.007371776103973389, | |
0.007360511779785156, | |
0.007341055870056152, | |
0.007208960056304932, | |
0.007251967906951904, | |
0.007241727828979493, | |
0.0072765440940856935, | |
0.007245823860168457, | |
0.007174143791198731, | |
0.0071526398658752445, | |
0.007187456130981445, | |
0.007202816009521484, | |
0.007177216053009033, | |
0.007265279769897461, | |
0.007233535766601563, | |
0.007261184215545655, | |
0.007346176147460938, | |
0.00723964786529541, | |
0.007186431884765625, | |
0.007198719978332519, | |
0.007349247932434082, | |
0.007268352031707764, | |
0.00728985595703125, | |
0.0072724480628967286, | |
0.007267327785491944, | |
0.007200767993927002, | |
0.007263232231140137, | |
0.007236608028411865, | |
0.007225344181060791, | |
0.007269375801086426, | |
0.007202816009521484, | |
0.00709119987487793, | |
0.007095295906066895, | |
0.007205887794494629, | |
0.007142399787902832, | |
0.007155712127685547, | |
0.00719155216217041, | |
0.007229440212249756, | |
0.007175168037414551, | |
0.0072130560874938965, | |
0.007331840038299561, | |
0.007287807941436767, | |
0.0072847681045532225, | |
0.007266304016113281, | |
0.0072325119972229, | |
0.007147520065307617, | |
0.007153664112091064, | |
0.007252992153167725, | |
0.0072499198913574215, | |
0.007228415966033935, | |
0.007235583782196045, | |
0.007256063938140869, | |
0.007151616096496582, | |
0.0071157760620117185, | |
0.00719974422454834, | |
0.007169023990631103, | |
0.0072130560874938965, | |
0.007280640125274658, | |
0.00714035177230835, | |
0.0071485438346862796, | |
0.007227392196655274, | |
0.007146495819091797, | |
0.007137279987335205, | |
0.007211008071899414, | |
0.007231488227844239, | |
0.007260159969329834, | |
0.00733900785446167, | |
0.007333888053894043, | |
0.007266304016113281, | |
0.007325695991516113, | |
0.007288832187652588, | |
0.007204864025115967, | |
0.0072499198913574215, | |
0.007208960056304932, | |
0.007130112171173096, | |
0.007204864025115967, | |
0.007208960056304932, | |
0.007108607769012451, | |
0.007051263809204102, | |
0.006978559970855713, | |
0.007337984085083008, | |
0.007197696208953858, | |
0.0072540159225463864, | |
0.008330240249633789, | |
0.008356863975524903, | |
0.007528416156768799, | |
0.00799126386642456, | |
0.008604672431945801, | |
0.008660991668701172, | |
0.0087326717376709, | |
0.0075939841270446775, | |
0.007355391979217529, | |
0.007432191848754883, | |
0.00733190393447876, | |
0.007210976123809815, | |
0.007163904190063477, | |
0.0072007360458374026, | |
0.0071402878761291505, | |
0.007111680030822754, | |
0.0071198720932006835, | |
0.0070891518592834475, | |
0.007138304233551026, | |
0.00714035177230835, | |
0.007122943878173828, | |
0.007094272136688232, | |
0.007093247890472412, | |
0.007078911781311035, | |
0.0070891518592834475, | |
0.007085055828094483, | |
0.007049215793609619, | |
0.007093247890472412, | |
0.007113728046417236, | |
0.007108607769012451, | |
0.007081984043121338, | |
0.007107615947723389, | |
0.007145472049713135, | |
0.007134208202362061, | |
0.007117824077606201, | |
0.0071157760620117185, | |
0.007118783950805664, | |
0.007128064155578613, | |
0.007120895862579346, | |
0.0071198720932006835, | |
0.007095295906066895, | |
0.007098368167877197, | |
0.007123968124389648, | |
0.007106592178344726, | |
0.007066688060760498, | |
0.0070891518592834475, | |
0.0071188478469848635, | |
0.007096320152282715, | |
0.007113728046417236, | |
0.00707583999633789 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.74111722426423 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.293606079282055e-08, | |
"ram": 4.518634679580199e-08, | |
"gpu": 1.8018918736111083e-07, | |
"total": 3.0831159494973336e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3243471.9173083273 | |
} | |
} | |
} | |
} |