
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
733efdb
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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": {}, | |
"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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 831.832064, | |
"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.69782373046875, | |
"mean": 7.69782373046875, | |
"stdev": 0.0, | |
"p50": 7.69782373046875, | |
"p90": 7.69782373046875, | |
"p95": 7.69782373046875, | |
"p99": 7.69782373046875, | |
"values": [ | |
7.69782373046875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.310515313194449e-06, | |
"ram": 2.3466649628009036e-06, | |
"gpu": 6.295560592000033e-06, | |
"total": 1.2952740867995385e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1022.79168, | |
"max_global_vram": 782.761984, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 0.998684863567352, | |
"mean": 0.0070329919969531855, | |
"stdev": 0.0002901151963951112, | |
"p50": 0.0069995360374450685, | |
"p90": 0.007334809446334838, | |
"p95": 0.00737377290725708, | |
"p99": 0.007976498875617983, | |
"values": [ | |
0.007378943920135498, | |
0.007373824119567871, | |
0.007372799873352051, | |
0.007059423923492431, | |
0.007053311824798584, | |
0.007008255958557129, | |
0.007012351989746094, | |
0.006987775802612305, | |
0.006982656002044678, | |
0.0069816322326660156, | |
0.006982656002044678, | |
0.007064576148986816, | |
0.007246912002563477, | |
0.007157760143280029, | |
0.0072202239036560055, | |
0.007465983867645264, | |
0.008464384078979491, | |
0.008331263542175293, | |
0.0073471999168395995, | |
0.007294976234436036, | |
0.00719974422454834, | |
0.007263232231140137, | |
0.007392255783081054, | |
0.007342080116271973, | |
0.007333888053894043, | |
0.007282688140869141, | |
0.007361536026000977, | |
0.00723967981338501, | |
0.0072540159225463864, | |
0.007299071788787842, | |
0.007315455913543701, | |
0.007012351989746094, | |
0.006944767951965332, | |
0.00690176010131836, | |
0.006892543792724609, | |
0.0069027838706970214, | |
0.006953983783721924, | |
0.007324672222137451, | |
0.007233535766601563, | |
0.007331840038299561, | |
0.0073359360694885255, | |
0.007334911823272705, | |
0.007307263851165771, | |
0.007288832187652588, | |
0.007013440132141113, | |
0.006919167995452881, | |
0.0069621758460998535, | |
0.007060480117797851, | |
0.007001088142395019, | |
0.007005216121673584, | |
0.007012351989746094, | |
0.006981599807739258, | |
0.006892543792724609, | |
0.0072540159225463864, | |
0.0072540159225463864, | |
0.0072468481063842774, | |
0.007355391979217529, | |
0.007204864025115967, | |
0.007230463981628418, | |
0.007204864025115967, | |
0.007187456130981445, | |
0.00722431993484497, | |
0.007293951988220215, | |
0.007280640125274658, | |
0.007401472091674805, | |
0.007395328044891358, | |
0.007060480117797851, | |
0.007107583999633789, | |
0.00707583999633789, | |
0.006985695838928223, | |
0.006993919849395752, | |
0.007014400005340577, | |
0.006920191764831543, | |
0.0070522880554199216, | |
0.0072765440940856935, | |
0.007168000221252442, | |
0.007266304016113281, | |
0.007035871982574463, | |
0.007261184215545655, | |
0.007309311866760254, | |
0.006980639934539795, | |
0.006994944095611572, | |
0.0069621758460998535, | |
0.006997983932495117, | |
0.007139328002929687, | |
0.007139328002929687, | |
0.007061567783355713, | |
0.007136256217956543, | |
0.007285759925842285, | |
0.007188479900360107, | |
0.006969344139099121, | |
0.0069550080299377445, | |
0.006941696166992187, | |
0.006896639823913574, | |
0.006952960014343262, | |
0.006977536201477051, | |
0.006931456089019775, | |
0.006937600135803222, | |
0.006948895931243896, | |
0.006941696166992187, | |
0.006939648151397705, | |
0.0069816322326660156, | |
0.006956031799316406, | |
0.00694271993637085, | |
0.006949888229370117, | |
0.006908927917480469, | |
0.006945792198181152, | |
0.007044095993041993, | |
0.006916096210479736, | |
0.006850560188293457, | |
0.006691840171813965, | |
0.0066744318008422855, | |
0.006670335769653321, | |
0.006701024055480957, | |
0.006686719894409179, | |
0.006667263984680176, | |
0.00672870397567749, | |
0.006680575847625733, | |
0.006635519981384277, | |
0.006677504062652588, | |
0.006660096168518067, | |
0.006555647850036621, | |
0.0066109437942504885, | |
0.006592512130737305, | |
0.0065771517753601075, | |
0.006658048152923584, | |
0.006649856090545654, | |
0.006636544227600098, | |
0.006669312000274658, | |
0.00657919979095459, | |
0.00658841609954834, | |
0.006586368083953857, | |
0.006591487884521485, | |
0.006649856090545654, | |
0.006688831806182861, | |
0.006687744140625, | |
0.006659071922302246, | |
0.006706175804138184, | |
0.00667955207824707, | |
0.006821919918060302, | |
0.006841343879699707, | |
0.006661119937896728 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.18699529776478 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.19009939559401e-08, | |
"ram": 4.477915520972226e-08, | |
"gpu": 1.7446948823448254e-07, | |
"total": 3.011496374001449e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3320608.3481723587 | |
} | |
} | |
} | |
} |