IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
85f181d
verified
{ | |
"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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.0", | |
"optimum_benchmark_commit": "2a75c0bc0d007cc875fa0f75ca41d02e46f917be", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1825.562624, | |
"max_global_vram": 541.274112, | |
"max_process_vram": 84071.2192, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 162, | |
"total": 0.9977310347557073, | |
"mean": 0.006158833547874734, | |
"stdev": 0.0003354246364482234, | |
"p50": 0.0060293607711792, | |
"p90": 0.00660856113433838, | |
"p95": 0.006627496790885925, | |
"p99": 0.006650817008018494, | |
"values": [ | |
0.007190401077270508, | |
0.005813440799713135, | |
0.005765760898590088, | |
0.0057904009819030764, | |
0.005803040981292725, | |
0.005811841011047363, | |
0.0058307209014892575, | |
0.005825920104980469, | |
0.005839200973510742, | |
0.005833920955657959, | |
0.005835361003875732, | |
0.005841761112213135, | |
0.005830400943756103, | |
0.0058571209907531735, | |
0.005871360778808594, | |
0.005855360984802246, | |
0.005844961166381836, | |
0.005841761112213135, | |
0.0058571209907531735, | |
0.005819680213928223, | |
0.005837760925292969, | |
0.005826560974121093, | |
0.005807520866394043, | |
0.0058209609985351565, | |
0.005790561199188232, | |
0.005806241035461426, | |
0.00582624101638794, | |
0.005864000797271728, | |
0.0058924808502197265, | |
0.005884800910949707, | |
0.0058681597709655765, | |
0.006061281204223633, | |
0.006435521125793457, | |
0.006070401191711426, | |
0.005946240901947022, | |
0.006057281017303467, | |
0.005868481159210205, | |
0.005850720882415772, | |
0.0058710408210754395, | |
0.005924641132354736, | |
0.005865440845489502, | |
0.005897601127624511, | |
0.005841280937194824, | |
0.005848640918731689, | |
0.005839200973510742, | |
0.0058561601638793944, | |
0.005876801013946533, | |
0.006098240852355957, | |
0.005854240894317627, | |
0.005861441135406494, | |
0.0058636808395385745, | |
0.005862240791320801, | |
0.005850881099700928, | |
0.005829441070556641, | |
0.006232961177825928, | |
0.006561120986938476, | |
0.006580801010131836, | |
0.00661280107498169, | |
0.0065934410095214845, | |
0.006581760883331299, | |
0.006614400863647461, | |
0.006599201202392578, | |
0.006577441215515137, | |
0.006615200996398926, | |
0.006580161094665527, | |
0.00659696102142334, | |
0.0066057610511779784, | |
0.006602880954742432, | |
0.00657296085357666, | |
0.0065843210220336915, | |
0.006595201015472412, | |
0.006589601039886475, | |
0.0065960011482238765, | |
0.006609120845794678, | |
0.0065910410881042485, | |
0.006594721794128418, | |
0.006578401088714599, | |
0.00653584098815918, | |
0.006605280876159668, | |
0.006600161075592041, | |
0.006633121013641358, | |
0.006607841014862061, | |
0.006624001026153565, | |
0.006593280792236328, | |
0.006610240936279297, | |
0.006600161075592041, | |
0.006608800888061523, | |
0.0065936012268066405, | |
0.006634241104125977, | |
0.00659744119644165, | |
0.006628321170806885, | |
0.006574881076812744, | |
0.006560640811920166, | |
0.006539200782775879, | |
0.006601601123809814, | |
0.006601120948791504, | |
0.006632960796356201, | |
0.0065953612327575685, | |
0.006593280792236328, | |
0.006627680778503418, | |
0.00617664098739624, | |
0.006035680770874023, | |
0.005870881080627441, | |
0.005883201122283936, | |
0.005755041122436523, | |
0.005876801013946533, | |
0.005883040904998779, | |
0.0058873610496521, | |
0.005887520790100098, | |
0.006608641147613526, | |
0.006561120986938476, | |
0.006654720783233642, | |
0.006627680778503418, | |
0.006120161056518554, | |
0.006285440921783447, | |
0.00605440092086792, | |
0.00626560115814209, | |
0.006113921165466309, | |
0.006255681037902832, | |
0.005914401054382324, | |
0.005865439891815185, | |
0.005908161163330078, | |
0.00589776086807251, | |
0.005918880939483642, | |
0.005915521144866943, | |
0.005940001010894775, | |
0.005907361030578613, | |
0.005984480857849121, | |
0.005944800853729248, | |
0.0058779211044311525, | |
0.005874401092529297, | |
0.005888161182403565, | |
0.005912321090698242, | |
0.005897281169891358, | |
0.005885280132293701, | |
0.005844320774078369, | |
0.006077761173248291, | |
0.005895680904388427, | |
0.005891520977020264, | |
0.005859200954437256, | |
0.00631200122833252, | |
0.006648321151733399, | |
0.006311680793762207, | |
0.006189920902252197, | |
0.006165121078491211, | |
0.0062692809104919435, | |
0.006100161075592041, | |
0.006342240810394287, | |
0.006114400863647461, | |
0.00624704122543335, | |
0.0062240009307861326, | |
0.006204801082611084, | |
0.0062955207824707034, | |
0.006100961208343506, | |
0.006235840797424316, | |
0.0060368008613586426, | |
0.0058920011520385744, | |
0.00588352108001709, | |
0.005872320175170898, | |
0.0058817601203918456, | |
0.005895040988922119, | |
0.006023040771484375 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 162.3684082751475 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |