rocm
/
cuda_inference_transformers_image-classification_google
/vit-base-patch16-224
/benchmark.json
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
98214c9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "transformers", | |
"model": "google/vit-base-patch16-224", | |
"processor": "google/vit-base-patch16-224", | |
"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": true, | |
"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", | |
"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.2.1", | |
"optimum_benchmark_commit": "c1d0b062e90b79e7705510c58cea731c0d90da8a", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1060.458496, | |
"max_global_vram": 2623.184896, | |
"max_process_vram": 199091.044352, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.912704 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 0.9968899817466735, | |
"mean": 0.006781564501678051, | |
"stdev": 6.835319220278062e-05, | |
"p50": 0.006767690181732178, | |
"p90": 0.006872106742858887, | |
"p95": 0.006912458419799805, | |
"p99": 0.006974240951538085, | |
"values": [ | |
0.006791050910949707, | |
0.006803050041198731, | |
0.00681889009475708, | |
0.006806250095367432, | |
0.0068164911270141605, | |
0.0068449702262878415, | |
0.006828969955444336, | |
0.006782411098480224, | |
0.006803369998931884, | |
0.006768010139465332, | |
0.006725450038909912, | |
0.00670369005203247, | |
0.006906411170959473, | |
0.006721449851989746, | |
0.006713290214538575, | |
0.006697609901428223, | |
0.0067329702377319335, | |
0.006675529956817627, | |
0.006709449768066407, | |
0.0067150511741638184, | |
0.006784810066223145, | |
0.006741129875183106, | |
0.006744969844818116, | |
0.006707369804382324, | |
0.0067262501716613765, | |
0.006724330902099609, | |
0.0067291297912597655, | |
0.006724490165710449, | |
0.006770890235900879, | |
0.006769929885864258, | |
0.00676816987991333, | |
0.006888810157775879, | |
0.00691712999343872, | |
0.006787691116333008, | |
0.006743050098419189, | |
0.006762730121612549, | |
0.00673376989364624, | |
0.006704329967498779, | |
0.006744170188903808, | |
0.0067315311431884765, | |
0.006663690090179444, | |
0.006714250087738037, | |
0.0067312102317810055, | |
0.00670753002166748, | |
0.006715529918670654, | |
0.006773611068725586, | |
0.006773129940032959, | |
0.0067384099960327145, | |
0.006776969909667968, | |
0.006827691078186035, | |
0.006766729831695557, | |
0.00672065019607544, | |
0.00672337007522583, | |
0.006697609901428223, | |
0.006727849960327149, | |
0.0067792110443115235, | |
0.006740489959716797, | |
0.006764490127563477, | |
0.006809130191802979, | |
0.006841930866241455, | |
0.006749450206756592, | |
0.00677361011505127, | |
0.006738090038299561, | |
0.006788489818572998, | |
0.00671953010559082, | |
0.006708650112152099, | |
0.006755050182342529, | |
0.006756649971008301, | |
0.006868490219116211, | |
0.006870571136474609, | |
0.006822569847106934, | |
0.006795050144195557, | |
0.0067883310317993165, | |
0.006782569885253906, | |
0.006848169803619385, | |
0.006861130237579346, | |
0.006943049907684326, | |
0.00689040994644165, | |
0.00691201114654541, | |
0.0069316902160644536, | |
0.006896330833435059, | |
0.006935050010681152, | |
0.006933930873870849, | |
0.006912650108337403, | |
0.006861609935760498, | |
0.006795371055603027, | |
0.006785930156707764, | |
0.006724810123443604, | |
0.006724170207977295, | |
0.006767690181732178, | |
0.006757131099700928, | |
0.006742249965667724, | |
0.006742090225219727, | |
0.006737450122833252, | |
0.00674960994720459, | |
0.006743690013885498, | |
0.006796491146087646, | |
0.007054890155792236, | |
0.007000811100006103, | |
0.006874410152435303, | |
0.0069076910018920894, | |
0.006831049919128418, | |
0.006843369960784912, | |
0.006796650886535645, | |
0.006670730113983154, | |
0.0068569698333740235, | |
0.006770890235900879, | |
0.006831850051879883, | |
0.00683696985244751, | |
0.006823209762573243, | |
0.006841451168060303, | |
0.006835370063781738, | |
0.006781929969787597, | |
0.006781929969787597, | |
0.006834249973297119, | |
0.0068428897857666015, | |
0.006817130088806153, | |
0.006838251113891602, | |
0.006851369857788086, | |
0.006824009895324707, | |
0.006740170955657959, | |
0.006758409976959229, | |
0.006703050136566162, | |
0.00675616979598999, | |
0.006817609786987305, | |
0.006785770893096924, | |
0.006732810020446778, | |
0.006694570064544678, | |
0.006767849922180175, | |
0.006736169815063477, | |
0.006686890125274658, | |
0.006733610153198242, | |
0.006752490997314453, | |
0.0067144098281860356, | |
0.006745289802551269, | |
0.006803209781646728, | |
0.006754250049591065, | |
0.006761771202087402, | |
0.006756330013275146, | |
0.006757130146026611, | |
0.006761448860168457, | |
0.006761449813842774, | |
0.006743210792541504, | |
0.006682250022888183, | |
0.006715529918670654, | |
0.006748010158538818, | |
0.006699689865112305 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.45859893429562 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |