IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d999988 verified
raw
history blame
12.2 kB
{
"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.285632,
"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.4.0",
"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.7088,
"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.446029296875,
"mean": 7.446029296875,
"stdev": 0.0,
"p50": 7.446029296875,
"p90": 7.446029296875,
"p95": 7.446029296875,
"p99": 7.446029296875,
"values": [
7.446029296875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.31638260682424e-06,
"ram": 2.349817226786399e-06,
"gpu": 4.912781708000559e-06,
"total": 1.1578981541611198e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.7936,
"max_global_vram": 1038.614528,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 147,
"total": 0.9998999395370486,
"mean": 0.0068020404050139335,
"stdev": 0.0003275935109481713,
"p50": 0.006811647891998291,
"p90": 0.0071999486923217774,
"p95": 0.007324559831619262,
"p99": 0.0076302744674682605,
"values": [
0.0073820161819458,
0.007553023815155029,
0.007379007816314697,
0.007031807899475098,
0.006996992111206054,
0.0069550080299377445,
0.006973440170288086,
0.006879231929779053,
0.006870016098022461,
0.006811647891998291,
0.006887423992156983,
0.006922239780426025,
0.006773759841918945,
0.006713344097137451,
0.006774784088134766,
0.0067717118263244626,
0.00688640022277832,
0.006959104061126709,
0.006903808116912841,
0.006853631973266602,
0.006928351879119873,
0.006779903888702392,
0.00683513593673706,
0.006887423992156983,
0.007066624164581299,
0.006900640010833741,
0.006915071964263916,
0.00688640022277832,
0.006889472007751465,
0.006821887969970703,
0.0068494720458984375,
0.006883327960968018,
0.006856704235076904,
0.0067870721817016606,
0.0067491202354431155,
0.00678604793548584,
0.006804480075836182,
0.006738944053649902,
0.00683622407913208,
0.006854656219482422,
0.007076863765716553,
0.008572928428649903,
0.007418879985809326,
0.007332863807678222,
0.007284736156463623,
0.007582719802856445,
0.007670783996582031,
0.007303199768066406,
0.007244800090789795,
0.007198719978332519,
0.0071188478469848635,
0.00723356819152832,
0.007163904190063477,
0.007069695949554444,
0.007173088073730469,
0.00709222412109375,
0.00724886417388916,
0.007201791763305664,
0.00714137601852417,
0.006854656219482422,
0.006904831886291504,
0.006835264205932617,
0.006818816184997558,
0.006831136226654053,
0.0068986878395080565,
0.007110688209533691,
0.006966303825378418,
0.006908927917480469,
0.007020544052124023,
0.006922239780426025,
0.006887423992156983,
0.006884352207183838,
0.006834176063537598,
0.006803455829620361,
0.00690176010131836,
0.006750207901000976,
0.006767615795135498,
0.006658048152923584,
0.006650879859924317,
0.0067870721817016606,
0.006642687797546387,
0.006448192119598389,
0.006497280120849609,
0.006781888008117676,
0.006817791938781738,
0.006971392154693603,
0.0070133118629455565,
0.006916096210479736,
0.007007232189178467,
0.0073051838874816895,
0.00704204797744751,
0.006876160144805908,
0.006795263767242431,
0.006825920104980469,
0.006876160144805908,
0.006780928134918213,
0.006791168212890625,
0.006760447978973389,
0.006683584213256836,
0.006659039974212647,
0.0067276802062988285,
0.006651904106140137,
0.006627327919006347,
0.006675456047058105,
0.006649856090545654,
0.006619135856628418,
0.00675328016281128,
0.00667852783203125,
0.0066007041931152345,
0.00663043212890625,
0.006625279903411865,
0.006541344165802002,
0.006412288188934326,
0.006403071880340576,
0.0064880638122558594,
0.006396927833557129,
0.006369344234466553,
0.0064102401733398436,
0.006377471923828125,
0.00637440013885498,
0.00639081621170044,
0.006374368190765381,
0.0064174079895019534,
0.006402048110961914,
0.0063836159706115725,
0.0064133119583129885,
0.006369279861450195,
0.006409215927124024,
0.006409215927124024,
0.00637337589263916,
0.006450175762176514,
0.006403071880340576,
0.006456319808959961,
0.006421504020690918,
0.006409215927124024,
0.006412288188934326,
0.006369279861450195,
0.0064174079895019534,
0.006394879817962646,
0.006384640216827392,
0.006448128223419189,
0.006370304107666015,
0.006427648067474365,
0.006401023864746094,
0.006386688232421875,
0.006433792114257812,
0.006404096126556396
]
},
"throughput": {
"unit": "samples/s",
"value": 147.01471035997935
},
"energy": {
"unit": "kWh",
"cpu": 7.659742481819617e-08,
"ram": 4.187229265872636e-08,
"gpu": 1.660162618451625e-07,
"total": 2.8448597932208507e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3515111.7196810427
}
}
}
}