
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c05b4a9
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.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": 852.86912, | |
"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.67119384765625, | |
"mean": 7.67119384765625, | |
"stdev": 0.0, | |
"p50": 7.67119384765625, | |
"p90": 7.67119384765625, | |
"p95": 7.67119384765625, | |
"p99": 7.67119384765625, | |
"values": [ | |
7.67119384765625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.397417908333405e-06, | |
"ram": 2.3944184383214614e-06, | |
"gpu": 4.794170502000019e-06, | |
"total": 1.1586006848654885e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1091.801088, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 0.9996736316680909, | |
"mean": 0.0071918966307056905, | |
"stdev": 0.00025939316725421207, | |
"p50": 0.007114751815795899, | |
"p90": 0.00743321590423584, | |
"p95": 0.007598592138290405, | |
"p99": 0.00795336717605591, | |
"values": [ | |
0.007304192066192627, | |
0.007237631797790528, | |
0.0072120318412780765, | |
0.0076943359375, | |
0.007677951812744141, | |
0.00762169599533081, | |
0.007621632099151611, | |
0.00765235185623169, | |
0.007407616138458252, | |
0.007374847888946533, | |
0.007426047801971435, | |
0.007389120101928711, | |
0.007329792022705078, | |
0.00728166389465332, | |
0.007346176147460938, | |
0.007374847888946533, | |
0.00759603214263916, | |
0.007493631839752197, | |
0.0074926080703735356, | |
0.007393248081207275, | |
0.00739737606048584, | |
0.0073431038856506346, | |
0.007437312126159668, | |
0.007469056129455566, | |
0.007431168079376221, | |
0.007432191848754883, | |
0.00738099193572998, | |
0.007393280029296875, | |
0.007364607810974121, | |
0.00743833589553833, | |
0.007378943920135498, | |
0.0071281280517578125, | |
0.007006207942962647, | |
0.007064576148986816, | |
0.00701638412475586, | |
0.007088128089904785, | |
0.007090176105499267, | |
0.007189504146575928, | |
0.007156735897064209, | |
0.007230463981628418, | |
0.007278592109680176, | |
0.007181312084197998, | |
0.007159808158874512, | |
0.007172095775604248, | |
0.007137279987335205, | |
0.007041024208068848, | |
0.006979584217071533, | |
0.00714035177230835, | |
0.007127039909362793, | |
0.007078847885131836, | |
0.0071157760620117185, | |
0.007138304233551026, | |
0.0070594558715820314, | |
0.007002111911773682, | |
0.0070522880554199216, | |
0.007024640083312988, | |
0.007134208202362061, | |
0.007113728046417236, | |
0.00709939193725586, | |
0.007073728084564209, | |
0.007147520065307617, | |
0.007072703838348389, | |
0.007046144008636474, | |
0.007041024208068848, | |
0.007038976192474365, | |
0.007113728046417236, | |
0.007244863986968994, | |
0.007132160186767578, | |
0.007124991893768311, | |
0.007194623947143554, | |
0.007053311824798584, | |
0.007120895862579346, | |
0.0070830078125, | |
0.0070553598403930665, | |
0.007070720195770264, | |
0.007137279987335205, | |
0.007165952205657959, | |
0.009152511596679687, | |
0.008112128257751466, | |
0.0074106879234313965, | |
0.007357439994812012, | |
0.007097343921661377, | |
0.007029759883880615, | |
0.006971392154693603, | |
0.007244800090789795, | |
0.007418879985809326, | |
0.007377920150756836, | |
0.007346176147460938, | |
0.00738099193572998, | |
0.007417856216430664, | |
0.007517183780670166, | |
0.007136256217956543, | |
0.007109632015228271, | |
0.007085055828094483, | |
0.007095295906066895, | |
0.007114751815795899, | |
0.007093247890472412, | |
0.007047167778015137, | |
0.007050240039825439, | |
0.0069632000923156735, | |
0.0070266880989074704, | |
0.007081984043121338, | |
0.006970367908477783, | |
0.006952960014343262, | |
0.007072768211364746, | |
0.007116799831390381, | |
0.006975488185882568, | |
0.006945792198181152, | |
0.007010303974151612, | |
0.006988800048828125, | |
0.006982656002044678, | |
0.006958079814910889, | |
0.006965248107910156, | |
0.007027679920196533, | |
0.006970367908477783, | |
0.006960127830505371, | |
0.007172095775604248, | |
0.007098336219787598, | |
0.007045119762420654, | |
0.0069550080299377445, | |
0.006945792198181152, | |
0.006971392154693603, | |
0.007023615837097168, | |
0.007020544052124023, | |
0.007108607769012451, | |
0.007023615837097168, | |
0.007135231971740722, | |
0.007047167778015137, | |
0.006967296123504638, | |
0.007090176105499267, | |
0.006979584217071533, | |
0.007019519805908203, | |
0.007000063896179199, | |
0.007171072006225586, | |
0.007018496036529541, | |
0.007072768211364746, | |
0.007000063896179199, | |
0.0069632000923156735, | |
0.0069918718338012695 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.0453800087331 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.246149123263845e-08, | |
"ram": 4.508663211430099e-08, | |
"gpu": 1.6936741944444554e-07, | |
"total": 2.9691554279138496e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3367961.1063763252 | |
} | |
} | |
} | |
} |