IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
83ca666 verified
raw
history blame
11.9 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.1+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.224-212.876.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.0",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 869.122048,
"max_global_vram": 716.701696,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 0.37536666870117186,
"mean": 0.37536666870117186,
"stdev": 0.0,
"p50": 0.37536666870117186,
"p90": 0.37536666870117186,
"p95": 0.37536666870117186,
"p99": 0.37536666870117186,
"values": [
0.37536666870117186
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.419052273301027e-06,
"ram": 2.394724873944556e-06,
"gpu": 7.0044500479760075e-06,
"total": 1.381822719522159e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1109.028864,
"max_global_vram": 790.102016,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 139,
"total": 1.0014688339233397,
"mean": 0.007204811754844171,
"stdev": 0.00038006336328165696,
"p50": 0.007155712127685547,
"p90": 0.007262822341918945,
"p95": 0.007446425771713256,
"p99": 0.009402286128997807,
"values": [
0.010102784156799317,
0.00981708812713623,
0.008725503921508788,
0.007443456172943115,
0.007473152160644531,
0.007912447929382324,
0.0069632000923156735,
0.006891456127166748,
0.0068997440338134765,
0.006872064113616944,
0.006912000179290771,
0.006894591808319092,
0.006860799789428711,
0.006890495777130127,
0.006916096210479736,
0.006905856132507324,
0.00683622407913208,
0.006915071964263916,
0.007076863765716553,
0.007162879943847656,
0.007107583999633789,
0.007136256217956543,
0.007154687881469727,
0.007163904190063477,
0.007162879943847656,
0.007122943878173828,
0.007155712127685547,
0.007285759925842285,
0.007172095775604248,
0.0071833600997924804,
0.007129087924957276,
0.007161856174468994,
0.007181312084197998,
0.007189504146575928,
0.007186431884765625,
0.007131135940551757,
0.007188479900360107,
0.007193600177764893,
0.007181248188018799,
0.007262207984924316,
0.007434239864349365,
0.00719974422454834,
0.00719155216217041,
0.007168000221252442,
0.007229440212249756,
0.007178239822387696,
0.0071526398658752445,
0.007194560050964355,
0.007174143791198731,
0.007187456130981445,
0.007166975975036621,
0.007143424034118652,
0.007180287837982178,
0.007165952205657959,
0.007173120021820068,
0.007180287837982178,
0.00714137601852417,
0.007194623947143554,
0.007175168037414551,
0.007160831928253173,
0.007223296165466309,
0.007134208202362061,
0.007192575931549072,
0.007173120021820068,
0.007161791801452637,
0.007171072006225586,
0.00713318395614624,
0.007127039909362793,
0.007124991893768311,
0.007175168037414551,
0.007110655784606934,
0.00713318395614624,
0.007153664112091064,
0.007145472049713135,
0.007159808158874512,
0.0071495680809020995,
0.007173120021820068,
0.0071740798950195315,
0.007349247932434082,
0.007542784214019775,
0.007350272178649903,
0.007159872055053711,
0.007164927959442138,
0.007163904190063477,
0.007150591850280762,
0.007155712127685547,
0.007132160186767578,
0.0071792640686035155,
0.007194623947143554,
0.007150591850280762,
0.007170048236846924,
0.007115839958190918,
0.00719155216217041,
0.007162879943847656,
0.007154687881469727,
0.0071833600997924804,
0.007108607769012451,
0.007159808158874512,
0.007159808158874512,
0.007145472049713135,
0.007173120021820068,
0.007131135940551757,
0.007285759925842285,
0.0072427520751953125,
0.007154687881469727,
0.007147520065307617,
0.0071198720932006835,
0.007161856174468994,
0.007151616096496582,
0.007265279769897461,
0.007124991893768311,
0.0070830078125,
0.007120895862579346,
0.007087103843688965,
0.007113728046417236,
0.007081984043121338,
0.007131135940551757,
0.007158783912658692,
0.007107615947723389,
0.007132192134857177,
0.007098368167877197,
0.007122943878173828,
0.007127039909362793,
0.007169023990631103,
0.00714137601852417,
0.007094272136688232,
0.007135231971740722,
0.00710041618347168,
0.00713318395614624,
0.007507999897003174,
0.007094272136688232,
0.007125951766967773,
0.007098400115966797,
0.007204864025115967,
0.007106560230255127,
0.007097343921661377,
0.007110655784606934,
0.007111680030822754,
0.007138304233551026
]
},
"throughput": {
"unit": "samples/s",
"value": 138.79613153357516
},
"energy": {
"unit": "kWh",
"cpu": 8.069218915893073e-08,
"ram": 4.406232625633706e-08,
"gpu": 1.8171027386474728e-07,
"total": 3.064647892800151e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3263017.5960811796
}
}
}
}