IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a325f1e 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-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.33.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": 853.590016,
"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.65732470703125,
"mean": 7.65732470703125,
"stdev": 0.0,
"p50": 7.65732470703125,
"p90": 7.65732470703125,
"p95": 7.65732470703125,
"p99": 7.65732470703125,
"values": [
7.65732470703125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.280594215276621e-06,
"ram": 2.3281017745497816e-06,
"gpu": 6.739172057999756e-06,
"total": 1.3347868047826157e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.89472,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 140,
"total": 0.9981899852752685,
"mean": 0.007129928466251919,
"stdev": 0.00022428488795733344,
"p50": 0.007079423904418946,
"p90": 0.0072268799781799314,
"p95": 0.007525990223884581,
"p99": 0.00820554762840271,
"values": [
0.007670783996582031,
0.007625728130340576,
0.00764518404006958,
0.007367680072784424,
0.007174143791198731,
0.007172095775604248,
0.007163904190063477,
0.007132160186767578,
0.007134208202362061,
0.007063551902770996,
0.007133152008056641,
0.007134208202362061,
0.0070830078125,
0.006969344139099121,
0.007044095993041993,
0.007074816226959229,
0.007153664112091064,
0.007192512035369873,
0.0071495680809020995,
0.007150591850280762,
0.007124959945678711,
0.00704204797744751,
0.007038976192474365,
0.007178239822387696,
0.00714137601852417,
0.007162879943847656,
0.007136191844940186,
0.00710041618347168,
0.007116799831390381,
0.007079936027526855,
0.007094272136688232,
0.007138304233551026,
0.0071198720932006835,
0.0070646400451660155,
0.006965248107910156,
0.007007232189178467,
0.0070225920677185055,
0.007050240039825439,
0.007066624164581299,
0.007290880203247071,
0.007206912040710449,
0.007175168037414551,
0.007223296165466309,
0.007175168037414551,
0.0071792640686035155,
0.007189472198486328,
0.007114751815795899,
0.007064576148986816,
0.007177216053009033,
0.007162879943847656,
0.007132160186767578,
0.0070830078125,
0.007136256217956543,
0.007122943878173828,
0.007015423774719238,
0.007038976192474365,
0.007077888011932373,
0.007122943878173828,
0.00719155216217041,
0.007013376235961914,
0.007018496036529541,
0.007092192173004151,
0.0070563840866088865,
0.007078911781311035,
0.007046144008636474,
0.007062528133392334,
0.007160831928253173,
0.007201791763305664,
0.007205887794494629,
0.007186431884765625,
0.007209983825683594,
0.007163968086242676,
0.007097343921661377,
0.007221248149871826,
0.007069695949554444,
0.007046144008636474,
0.007216095924377441,
0.007035903930664063,
0.0070594558715820314,
0.006897664070129395,
0.0068986878395080565,
0.007037951946258545,
0.007003136157989502,
0.006749184131622315,
0.0067358717918396,
0.006723584175109864,
0.006785024166107178,
0.007226367950439453,
0.00742195177078247,
0.007394303798675537,
0.007450623989105225,
0.007521279811859131,
0.0082227201461792,
0.008442879676818848,
0.008178688049316407,
0.007175168037414551,
0.007031807899475098,
0.00707583999633789,
0.0070860800743103025,
0.007035935878753662,
0.0070860800743103025,
0.007035903930664063,
0.00709119987487793,
0.007061503887176514,
0.007051263809204102,
0.0070266880989074704,
0.007037951946258545,
0.007012351989746094,
0.007015359878540039,
0.006987775802612305,
0.007072768211364746,
0.007004159927368164,
0.007039999961853028,
0.007045216083526611,
0.007013376235961914,
0.007027711868286133,
0.007019519805908203,
0.007019519805908203,
0.007008255958557129,
0.007003136157989502,
0.007000063896179199,
0.00704204797744751,
0.006999040126800537,
0.007036928176879883,
0.007010303974151612,
0.007027679920196533,
0.0069847040176391605,
0.007231488227844239,
0.007615488052368164,
0.00709939193725586,
0.007131135940551757,
0.007030784130096435,
0.007036928176879883,
0.006999072074890137,
0.007139328002929687,
0.007018496036529541,
0.006990848064422607,
0.007023615837097168,
0.007013376235961914,
0.0069959678649902345
]
},
"throughput": {
"unit": "samples/s",
"value": 140.25386155461428
},
"energy": {
"unit": "kWh",
"cpu": 8.305040843045728e-08,
"ram": 4.541108952837069e-08,
"gpu": 1.910840689510539e-07,
"total": 3.195455669098819e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3129444.1342759095
}
}
}
}