
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a481588
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": {}, | |
"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.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.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"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": 789.85216, | |
"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.46796875, | |
"mean": 7.46796875, | |
"stdev": 0.0, | |
"p50": 7.46796875, | |
"p90": 7.46796875, | |
"p95": 7.46796875, | |
"p99": 7.46796875, | |
"values": [ | |
7.46796875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.354980091253917e-06, | |
"ram": 2.349107880382917e-06, | |
"gpu": 6.358060641999813e-06, | |
"total": 1.3062148613636647e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.822272, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 0.9979147510528572, | |
"mean": 0.006929963548978169, | |
"stdev": 0.0002205071944929939, | |
"p50": 0.006970880031585693, | |
"p90": 0.007187884807586671, | |
"p95": 0.007248281717300415, | |
"p99": 0.007400325169563293, | |
"values": [ | |
0.007351295948028564, | |
0.007262239933013916, | |
0.007172160148620606, | |
0.007215104103088379, | |
0.007156735897064209, | |
0.007746560096740723, | |
0.007194623947143554, | |
0.0072130560874938965, | |
0.0070891199111938474, | |
0.007161856174468994, | |
0.007168000221252442, | |
0.007244800090789795, | |
0.007143424034118652, | |
0.00694271993637085, | |
0.0070348801612854, | |
0.007049215793609619, | |
0.007104512214660645, | |
0.007103487968444824, | |
0.007121952056884766, | |
0.007064576148986816, | |
0.007000063896179199, | |
0.007054336071014404, | |
0.007205855846405029, | |
0.0071526398658752445, | |
0.007093247890472412, | |
0.007076863765716553, | |
0.00710041618347168, | |
0.006986752033233643, | |
0.007068672180175781, | |
0.0070687680244445805, | |
0.007143424034118652, | |
0.0069928960800170895, | |
0.006937600135803222, | |
0.0068884482383728025, | |
0.00695091199874878, | |
0.006931456089019775, | |
0.006949888229370117, | |
0.00695091199874878, | |
0.007000063896179199, | |
0.006972415924072266, | |
0.007110655784606934, | |
0.007207935810089112, | |
0.007131135940551757, | |
0.0071198720932006835, | |
0.007104512214660645, | |
0.006969344139099121, | |
0.007074880123138428, | |
0.0073134078979492185, | |
0.007103487968444824, | |
0.00709119987487793, | |
0.007088128089904785, | |
0.006987775802612305, | |
0.006969344139099121, | |
0.0069928960800170895, | |
0.006985727787017822, | |
0.007108607769012451, | |
0.007012351989746094, | |
0.006931456089019775, | |
0.007003136157989502, | |
0.006972415924072266, | |
0.00728879976272583, | |
0.007034848213195801, | |
0.007057407855987549, | |
0.007122943878173828, | |
0.007197663784027099, | |
0.007158783912658692, | |
0.0071116480827331545, | |
0.007108607769012451, | |
0.007023615837097168, | |
0.007081984043121338, | |
0.007041024208068848, | |
0.006964223861694336, | |
0.0070830078125, | |
0.007014400005340577, | |
0.006968319892883301, | |
0.006810624122619629, | |
0.006851583957672119, | |
0.007017471790313721, | |
0.006833151817321777, | |
0.00669593620300293, | |
0.006685696125030518, | |
0.006706175804138184, | |
0.006874112129211426, | |
0.006967296123504638, | |
0.007020544052124023, | |
0.007065599918365479, | |
0.007048192024230957, | |
0.007277567863464355, | |
0.006982656002044678, | |
0.006892543792724609, | |
0.006834176063537598, | |
0.007437312126159668, | |
0.006820864200592041, | |
0.006812672138214112, | |
0.0069918718338012695, | |
0.006765567779541016, | |
0.006721536159515381, | |
0.006665215969085693, | |
0.006716415882110595, | |
0.006642687797546387, | |
0.006659071922302246, | |
0.006656000137329102, | |
0.006684671878814697, | |
0.006627327919006347, | |
0.006665215969085693, | |
0.0066641921997070315, | |
0.006639616012573242, | |
0.006669312000274658, | |
0.006681600093841553, | |
0.00662937593460083, | |
0.0066744318008422855, | |
0.006632448196411133, | |
0.006632448196411133, | |
0.006651936054229736, | |
0.006651904106140137, | |
0.006639616012573242, | |
0.00663759994506836, | |
0.006669375896453857, | |
0.006658048152923584, | |
0.006661119937896728, | |
0.00667852783203125, | |
0.00667955207824707, | |
0.0067870721817016606, | |
0.006730751991271973, | |
0.00675328016281128, | |
0.006686719894409179, | |
0.0066620798110961915, | |
0.006666175842285156, | |
0.0067010560035705566, | |
0.00724889612197876, | |
0.006859839916229248, | |
0.0067420158386230465, | |
0.006685696125030518, | |
0.0067041277885437015, | |
0.006694911956787109, | |
0.006615039825439453, | |
0.006654975891113281, | |
0.00667955207824707, | |
0.006649824142456054, | |
0.0066406397819519045, | |
0.006670335769653321, | |
0.00659660816192627, | |
0.006663167953491211, | |
0.006639616012573242 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 144.30090330669216 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.709983687896234e-08, | |
"ram": 4.2156076515893074e-08, | |
"gpu": 1.593183092727285e-07, | |
"total": 2.785742226675839e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3589707.5846578837 | |
} | |
} | |
} | |
} |