IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f3c5066 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.151744,
"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.790185546875,
"mean": 7.790185546875,
"stdev": 0.0,
"p50": 7.790185546875,
"p90": 7.790185546875,
"p95": 7.790185546875,
"p99": 7.790185546875,
"values": [
7.790185546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.4032710791664365e-06,
"ram": 2.3688607241980737e-06,
"gpu": 6.541394122e-06,
"total": 1.331352592536451e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.13696,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 142,
"total": 0.9986564507484432,
"mean": 0.007032791906679179,
"stdev": 0.00022841062159595878,
"p50": 0.0069719040393829345,
"p90": 0.007141273641586303,
"p95": 0.007706572675704954,
"p99": 0.008044513425827028,
"values": [
0.0077608962059021,
0.007753727912902832,
0.007795711994171142,
0.0077916159629821775,
0.007873536109924317,
0.00818073558807373,
0.007184319972991944,
0.007006207942962647,
0.007003136157989502,
0.006870016098022461,
0.006949888229370117,
0.006965248107910156,
0.006910848140716553,
0.00709222412109375,
0.006938623905181885,
0.006998015880584717,
0.007063551902770996,
0.00687718391418457,
0.006932384014129639,
0.0069550080299377445,
0.006972415924072266,
0.007045119762420654,
0.007103487968444824,
0.006946815967559815,
0.00687820816040039,
0.006929408073425293,
0.006945792198181152,
0.006918144226074219,
0.006933504104614257,
0.00687718391418457,
0.006903808116912841,
0.0069437122344970705,
0.006912992000579834,
0.007053311824798584,
0.0069918718338012695,
0.006909952163696289,
0.0069855680465698245,
0.006977536201477051,
0.006858592033386231,
0.007067647933959961,
0.007070720195770264,
0.007003136157989502,
0.007066688060760498,
0.007058432102203369,
0.006971231937408447,
0.0070563840866088865,
0.007072768211364746,
0.007004159927368164,
0.0071097278594970705,
0.006972415924072266,
0.006912000179290771,
0.006999072074890137,
0.006989823818206787,
0.007068672180175781,
0.006977536201477051,
0.007016448020935059,
0.006976511955261231,
0.007717887878417969,
0.008163328170776368,
0.007216127872467041,
0.0070225920677185055,
0.007153664112091064,
0.007252992153167725,
0.007102464199066162,
0.006904831886291504,
0.006985727787017822,
0.006965248107910156,
0.007019519805908203,
0.006904831886291504,
0.00695084810256958,
0.006927360057830811,
0.006969344139099121,
0.006967296123504638,
0.006964223861694336,
0.006903711795806885,
0.0068853759765625,
0.006863872051239014,
0.006894591808319092,
0.00694271993637085,
0.006908927917480469,
0.00695091199874878,
0.007121920108795166,
0.006948863983154297,
0.0069847040176391605,
0.006971392154693603,
0.006897664070129395,
0.006915071964263916,
0.006959104061126709,
0.006973440170288086,
0.0068914880752563475,
0.006913023948669434,
0.006994944095611572,
0.006909952163696289,
0.006894591808319092,
0.006927360057830811,
0.0069847040176391605,
0.006890495777130127,
0.006919167995452881,
0.006961152076721191,
0.0068853759765625,
0.006979584217071533,
0.00698367977142334,
0.006947840213775635,
0.006874112129211426,
0.006967296123504638,
0.006910975933074951,
0.0069632000923156735,
0.006913023948669434,
0.007046144008636474,
0.006890495777130127,
0.00689356803894043,
0.00688640022277832,
0.006900735855102539,
0.006915071964263916,
0.006977536201477051,
0.006944767951965332,
0.006914207935333252,
0.006918144226074219,
0.007267327785491944,
0.007039999961853028,
0.007032832145690918,
0.0070860800743103025,
0.007031807899475098,
0.007036767959594727,
0.007097343921661377,
0.0069959678649902345,
0.006990848064422607,
0.006908895969390869,
0.006978559970855713,
0.00693452787399292,
0.007143424034118652,
0.0070266880989074704,
0.00704527997970581,
0.007049215793609619,
0.007491583824157715,
0.006977536201477051,
0.006947840213775635,
0.006915200233459473,
0.007046144008636474,
0.006969344139099121,
0.006965248107910156,
0.0069847040176391605
]
},
"throughput": {
"unit": "samples/s",
"value": 142.19104066626522
},
"energy": {
"unit": "kWh",
"cpu": 8.207621876915493e-08,
"ram": 4.4876929143980235e-08,
"gpu": 1.7402312772413716e-07,
"total": 3.009762756372723e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3322521.012271314
}
}
}
}