
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
4e3acb3
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 964.32128, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9957470402717593, | |
"mean": 0.006867220967391442, | |
"stdev": 0.00030867118927515355, | |
"p50": 0.006652927875518798, | |
"p90": 0.007280448055267333, | |
"p95": 0.007429120159149169, | |
"p99": 0.007678853149414062, | |
"values": [ | |
0.007700479984283447, | |
0.0075008001327514645, | |
0.0074414081573486324, | |
0.007377920150756836, | |
0.007458816051483155, | |
0.007379968166351319, | |
0.0073573760986328125, | |
0.007651328086853027, | |
0.007130112171173096, | |
0.007120895862579346, | |
0.007137311935424805, | |
0.00733900785446167, | |
0.007370751857757568, | |
0.007102528095245361, | |
0.007216127872467041, | |
0.007225344181060791, | |
0.007718912124633789, | |
0.007287807941436767, | |
0.007228415966033935, | |
0.007144447803497315, | |
0.007114687919616699, | |
0.007180319786071777, | |
0.007195648193359375, | |
0.006948863983154297, | |
0.007065599918365479, | |
0.007176191806793213, | |
0.007302144050598145, | |
0.007219200134277344, | |
0.007120895862579346, | |
0.007526400089263916, | |
0.007222271919250488, | |
0.0071792640686035155, | |
0.0071485438346862796, | |
0.0070266880989074704, | |
0.007252992153167725, | |
0.00709222412109375, | |
0.00707583999633789, | |
0.007069695949554444, | |
0.007046144008636474, | |
0.007071743965148926, | |
0.007238656044006348, | |
0.0072120318412780765, | |
0.007241727828979493, | |
0.007114751815795899, | |
0.007102528095245361, | |
0.00709222412109375, | |
0.007098368167877197, | |
0.0069959678649902345, | |
0.007032832145690918, | |
0.007107583999633789, | |
0.006971392154693603, | |
0.006785024166107178, | |
0.006696000099182129, | |
0.006796288013458252, | |
0.006873087882995605, | |
0.007113728046417236, | |
0.007063551902770996, | |
0.007090176105499267, | |
0.007269408226013184, | |
0.0072202239036560055, | |
0.006953983783721924, | |
0.006838272094726563, | |
0.007463935852050781, | |
0.006870016098022461, | |
0.006669312000274658, | |
0.006670335769653321, | |
0.006652927875518798, | |
0.0066109437942504885, | |
0.006711296081542969, | |
0.006644800186157227, | |
0.006576128005981445, | |
0.006623231887817383, | |
0.006625279903411865, | |
0.0065771517753601075, | |
0.006615039825439453, | |
0.006649856090545654, | |
0.006593535900115967, | |
0.006616064071655273, | |
0.0066304001808166506, | |
0.006589439868927002, | |
0.0066375679969787596, | |
0.0066304001808166506, | |
0.006595583915710449, | |
0.006648831844329834, | |
0.006626304149627686, | |
0.0065484800338745115, | |
0.006635519981384277, | |
0.006618112087249756, | |
0.006574079990386963, | |
0.006631423950195312, | |
0.0066406397819519045, | |
0.006563839912414551, | |
0.006614016056060791, | |
0.006608895778656006, | |
0.006590464115142822, | |
0.0070061440467834475, | |
0.006805568218231201, | |
0.006651872158050537, | |
0.0066375679969787596, | |
0.006690815925598144, | |
0.006590464115142822, | |
0.006612991809844971, | |
0.006651904106140137, | |
0.00657203197479248, | |
0.006622208118438721, | |
0.006624288082122802, | |
0.0065771517753601075, | |
0.006614016056060791, | |
0.0066344962120056155, | |
0.0065443840026855465, | |
0.006626304149627686, | |
0.006612991809844971, | |
0.00658131217956543, | |
0.006615071773529053, | |
0.006601727962493896, | |
0.006535168170928955, | |
0.006636544227600098, | |
0.006606847763061524, | |
0.0065710082054138185, | |
0.006620160102844238, | |
0.006813695907592773, | |
0.00658739185333252, | |
0.006627264022827148, | |
0.006619135856628418, | |
0.00658841609954834, | |
0.006648831844329834, | |
0.006624256134033203, | |
0.0065894718170166015, | |
0.006632448196411133, | |
0.00658841609954834, | |
0.006602752208709717, | |
0.0067338237762451176, | |
0.006604800224304199, | |
0.006601727962493896, | |
0.006648831844329834, | |
0.00658841609954834, | |
0.006616064071655273, | |
0.006635456085205078, | |
0.006589439868927002, | |
0.0065771517753601075, | |
0.006618112087249756, | |
0.00658739185333252, | |
0.006597631931304931, | |
0.006599679946899414, | |
0.00659660816192627 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.6193130741585 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.631556685493882e-08, | |
"ram": 4.172447216620879e-08, | |
"gpu": 1.6595454871794513e-07, | |
"total": 2.839945877390928e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3521193.864858808 | |
} | |
} | |
} | |
} |