IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
73c6cda verified
raw
history blame
11.9 kB
{
"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-211.872.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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"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.97152,
"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.68960400390625,
"mean": 7.68960400390625,
"stdev": 0.0,
"p50": 7.68960400390625,
"p90": 7.68960400390625,
"p95": 7.68960400390625,
"p99": 7.68960400390625,
"values": [
7.68960400390625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.279248393750103e-06,
"ram": 2.329867822508299e-06,
"gpu": 6.377505102000058e-06,
"total": 1.298662131825846e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1093.107712,
"max_global_vram": 782.761984,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 141,
"total": 1.0016522221565247,
"mean": 0.007103916469195209,
"stdev": 0.00034247166356223343,
"p50": 0.007044095993041993,
"p90": 0.007685120105743408,
"p95": 0.007831552028656007,
"p99": 0.008341094207763671,
"values": [
0.00790835189819336,
0.007770112037658691,
0.00790015983581543,
0.007831552028656007,
0.007769087791442871,
0.007742464065551758,
0.007734272003173828,
0.007710720062255859,
0.007685120105743408,
0.006944767951965332,
0.007177216053009033,
0.007197696208953858,
0.007147520065307617,
0.007019552230834961,
0.0070348801612854,
0.006790143966674805,
0.006785024166107178,
0.00682700777053833,
0.006731776237487793,
0.0067276802062988285,
0.0067645440101623535,
0.006747136116027832,
0.006747136116027832,
0.006746111869812011,
0.0067645440101623535,
0.006812672138214112,
0.007078911781311035,
0.006801407814025879,
0.006744063854217529,
0.006785024166107178,
0.006782976150512696,
0.006785056114196777,
0.0070225920677185055,
0.007137279987335205,
0.007077888011932373,
0.006808576107025147,
0.006763519763946534,
0.006809599876403808,
0.006763519763946534,
0.0067338237762451176,
0.006971392154693603,
0.007007232189178467,
0.006850560188293457,
0.006845439910888672,
0.007014400005340577,
0.00703385591506958,
0.006840320110321045,
0.0067840638160705565,
0.006915071964263916,
0.0067983040809631344,
0.006774816036224365,
0.006783999919891357,
0.006801407814025879,
0.006804543972015381,
0.006766592025756836,
0.00707583999633789,
0.007017471790313721,
0.007018496036529541,
0.0069918718338012695,
0.007044095993041993,
0.007101439952850342,
0.006976511955261231,
0.007007232189178467,
0.006978559970855713,
0.006994944095611572,
0.007015423774719238,
0.007009280204772949,
0.006978591918945312,
0.006964223861694336,
0.007095295906066895,
0.0069928960800170895,
0.006965248107910156,
0.007023615837097168,
0.007005184173583984,
0.006948863983154297,
0.006985727787017822,
0.007178239822387696,
0.0070471358299255375,
0.007022560119628906,
0.006998015880584717,
0.00698367977142334,
0.0068321280479431154,
0.006834176063537598,
0.00709222412109375,
0.007058432102203369,
0.006994944095611572,
0.006999040126800537,
0.0067563199996948245,
0.00678604793548584,
0.006806496143341064,
0.006767615795135498,
0.006749184131622315,
0.00783462381362915,
0.007090176105499267,
0.006975488185882568,
0.007065599918365479,
0.007300096035003662,
0.007274496078491211,
0.007158783912658692,
0.00818073558807373,
0.008447999954223634,
0.008667136192321777,
0.007717887878417969,
0.007506944179534912,
0.007477248191833496,
0.008122367858886719,
0.0073359360694885255,
0.0071495680809020995,
0.007201791763305664,
0.007172095775604248,
0.007181312084197998,
0.007169023990631103,
0.0071495680809020995,
0.007131135940551757,
0.0070891518592834475,
0.007071743965148926,
0.0071526398658752445,
0.007111680030822754,
0.00709939193725586,
0.007234560012817383,
0.007255040168762207,
0.007101439952850342,
0.007107583999633789,
0.007160831928253173,
0.007194623947143554,
0.007146495819091797,
0.007124991893768311,
0.007129087924957276,
0.007139328002929687,
0.007177248001098633,
0.0071699838638305665,
0.0071792640686035155,
0.007114751815795899,
0.0071402878761291505,
0.007229440212249756,
0.0071485118865966795,
0.007129087924957276,
0.007137279987335205,
0.007143424034118652,
0.007122975826263428,
0.00733081579208374
]
},
"throughput": {
"unit": "samples/s",
"value": 140.76742094819258
},
"energy": {
"unit": "kWh",
"cpu": 8.386479132922613e-08,
"ram": 4.584970629169521e-08,
"gpu": 1.7431743209859137e-07,
"total": 3.0403192971951273e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3289128.2205870897
}
}
}
}