IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f704c08
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "5", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.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": 1107.193856, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 44823.404544, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.8604619140625, | |
"mean": 7.8604619140625, | |
"stdev": 0.0, | |
"p50": 7.8604619140625, | |
"p90": 7.8604619140625, | |
"p95": 7.8604619140625, | |
"p99": 7.8604619140625, | |
"values": [ | |
7.8604619140625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1191.583744, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 93598.531584, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 140, | |
"total": 1.0003790097236636, | |
"mean": 0.007145564355169024, | |
"stdev": 0.0026751140866178125, | |
"p50": 0.007018383026123047, | |
"p90": 0.007501645755767824, | |
"p95": 0.007855412983894347, | |
"p99": 0.017309500765800248, | |
"values": [ | |
0.007313902854919434, | |
0.007095822811126709, | |
0.0071073431968688965, | |
0.00711102294921875, | |
0.007096622943878174, | |
0.0071055831909179685, | |
0.007122062206268311, | |
0.0070822229385375975, | |
0.0070766229629516605, | |
0.007073742866516113, | |
0.007090222835540771, | |
0.0070908632278442385, | |
0.007081102848052978, | |
0.0070503830909729006, | |
0.0070699028968811035, | |
0.0070913429260253905, | |
0.007109261989593506, | |
0.007064942836761475, | |
0.007040943145751953, | |
0.0070131030082702635, | |
0.0071044621467590335, | |
0.007021263122558594, | |
0.007034223079681396, | |
0.007021422863006592, | |
0.007085583209991455, | |
0.0070271830558776855, | |
0.007114062786102295, | |
0.006977902889251709, | |
0.00698654317855835, | |
0.006994863033294677, | |
0.007103662014007569, | |
0.006998863220214844, | |
0.0070020627975463864, | |
0.007079342842102051, | |
0.0070699028968811035, | |
0.0069873428344726565, | |
0.007092623233795166, | |
0.006988142967224121, | |
0.0070631828308105465, | |
0.006948623180389404, | |
0.007014382839202881, | |
0.006991343021392822, | |
0.007051982879638672, | |
0.006995343208312989, | |
0.006971982955932618, | |
0.007070862770080567, | |
0.006990063190460205, | |
0.006957423210144043, | |
0.006953903198242187, | |
0.0069580631256103516, | |
0.006994382858276367, | |
0.007006702899932861, | |
0.007028303146362305, | |
0.007197583198547363, | |
0.007176941871643067, | |
0.006995022773742676, | |
0.006985582828521728, | |
0.006991023063659668, | |
0.00699262285232544, | |
0.0069678230285644535, | |
0.006971823215484619, | |
0.006974702835083008, | |
0.006956782817840576, | |
0.007044941902160645, | |
0.007002542972564698, | |
0.006971823215484619, | |
0.006990703105926513, | |
0.00697454309463501, | |
0.007006062984466553, | |
0.006986382961273193, | |
0.006971982955932618, | |
0.0071361432075500485, | |
0.006988623142242432, | |
0.006967503070831299, | |
0.006998222827911377, | |
0.006978703022003174, | |
0.0070155029296875, | |
0.006971662998199463, | |
0.007009102821350098, | |
0.00696206283569336, | |
0.006986063003540039, | |
0.0069751830101013185, | |
0.030748723983764648, | |
0.002293113946914673, | |
0.0022990350723266603, | |
0.002298233985900879, | |
0.002297755002975464, | |
0.004191829204559326, | |
0.006980302810668945, | |
0.0070271830558776855, | |
0.007024302959442139, | |
0.006983023166656494, | |
0.006994223117828369, | |
0.006984622955322266, | |
0.006979183197021484, | |
0.00697342300415039, | |
0.006964942932128906, | |
0.006991182804107666, | |
0.006971823215484619, | |
0.0069548640251159664, | |
0.006931183815002441, | |
0.006974544048309326, | |
0.0072143831253051755, | |
0.007826060771942138, | |
0.007836141109466553, | |
0.00796078109741211, | |
0.007826220035552979, | |
0.007395502090454102, | |
0.007714701175689697, | |
0.007234862804412842, | |
0.007478541851043701, | |
0.00729822301864624, | |
0.007976620197296143, | |
0.007933580875396728, | |
0.007851500988006592, | |
0.00796254014968872, | |
0.0078423810005188, | |
0.007428621768951416, | |
0.007285741806030274, | |
0.007929740905761718, | |
0.007709580898284912, | |
0.007319022178649903, | |
0.007436141967773437, | |
0.007294382095336914, | |
0.007375502109527588, | |
0.007293742179870605, | |
0.00720510196685791, | |
0.007214063167572021, | |
0.007301902770996094, | |
0.00715598201751709, | |
0.023276424407958983, | |
0.0022979140281677245, | |
0.0023006339073181154, | |
0.00229471492767334, | |
0.005563186168670654, | |
0.006965422153472901, | |
0.006956782817840576, | |
0.006959662914276123, | |
0.0069324631690979, | |
0.006946063041687012 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.94695874183972 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |