IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
327ba78 verified
raw
history blame
10.5 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "86906b8c1093b2f4cd2981b46a0b533238abf100",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 983.035904,
"max_global_vram": 409.096192,
"max_process_vram": 44505.94816,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.39087158203125,
"mean": 7.39087158203125,
"stdev": 0.0,
"p50": 7.39087158203125,
"p90": 7.39087158203125,
"p95": 7.39087158203125,
"p99": 7.39087158203125,
"values": [
7.39087158203125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1841.664,
"max_global_vram": 520.474624,
"max_process_vram": 266834.202624,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 119,
"total": 0.9984601192474368,
"mean": 0.008390421170146526,
"stdev": 9.731494933519052e-05,
"p50": 0.008371692657470703,
"p90": 0.008543532752990723,
"p95": 0.008570429039001464,
"p99": 0.008709716491699219,
"values": [
0.008541612625122071,
0.008448653221130371,
0.008416813850402832,
0.008384332656860352,
0.008387372970581055,
0.00838209342956543,
0.00839249324798584,
0.008348652839660645,
0.008341133117675781,
0.008314892768859864,
0.008330573081970214,
0.00831793212890625,
0.008318733215332032,
0.008286252975463867,
0.008288972854614258,
0.008316493034362793,
0.008288812637329102,
0.00836305332183838,
0.008294093132019042,
0.008321932792663574,
0.008351853370666504,
0.008339693069458008,
0.008324333190917969,
0.00838209342956543,
0.008322732925415039,
0.008339532852172852,
0.008405773162841797,
0.008296173095703125,
0.00841921329498291,
0.008306733131408691,
0.008407373428344727,
0.008439852714538574,
0.008361932754516601,
0.008361292839050292,
0.008356972694396973,
0.008356813430786134,
0.008290733337402344,
0.008340493202209472,
0.008364333152770995,
0.008347052574157715,
0.008324493408203125,
0.008332013130187988,
0.00832801342010498,
0.008324812889099122,
0.008320173263549805,
0.008380973815917969,
0.008580653190612793,
0.00870289421081543,
0.008554573059082032,
0.008461933135986328,
0.008404653549194336,
0.008433933258056641,
0.00843569278717041,
0.008423852920532226,
0.008522733688354493,
0.008409453392028808,
0.008413932800292968,
0.00840449333190918,
0.00855601406097412,
0.00839585304260254,
0.008378413200378418,
0.008393933296203613,
0.00834785270690918,
0.008356653213500976,
0.008241613388061524,
0.00830129337310791,
0.008263853073120117,
0.00837025260925293,
0.0085529727935791,
0.008386253356933594,
0.008470892906188965,
0.008349773406982421,
0.008569293022155762,
0.00839697265625,
0.00865761375427246,
0.008522413253784179,
0.00858929443359375,
0.008499053001403809,
0.008551213264465332,
0.008449613571166992,
0.008366092681884766,
0.008388652801513671,
0.008402253150939941,
0.008535532951354981,
0.008425454139709472,
0.008278252601623536,
0.008277453422546387,
0.008380013465881348,
0.00832097339630127,
0.008319212913513183,
0.008371852874755859,
0.00825985336303711,
0.008317612648010253,
0.008243852615356446,
0.008406252861022949,
0.008713454246520995,
0.008562413215637207,
0.008711214065551759,
0.008422412872314454,
0.008513933181762695,
0.008303853034973144,
0.00845249366760254,
0.008419853210449219,
0.008363853454589844,
0.008199213027954101,
0.008376812934875489,
0.008356332778930664,
0.008371692657470703,
0.008291051864624024,
0.008287531852722168,
0.008418413162231445,
0.00832097339630127,
0.008405291557312011,
0.008380013465881348,
0.008343532562255859,
0.008359692573547363,
0.008389452934265136,
0.00831617259979248,
0.008326892852783202
]
},
"throughput": {
"unit": "samples/s",
"value": 119.18352842143877
},
"energy": null,
"efficiency": null
}
}
}