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
027af10
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.0", | |
"optimum_benchmark_commit": "b92e3e6e00670fa1351d9aef1be896254e5f33e0", | |
"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": 1061.384192, | |
"max_global_vram": 1758.826496, | |
"max_process_vram": 186288.922624, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.912704 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 163, | |
"total": 0.9964566750526426, | |
"mean": 0.006113231135292286, | |
"stdev": 0.0002514126291831721, | |
"p50": 0.006011532783508301, | |
"p90": 0.006392109966278077, | |
"p95": 0.006495228910446167, | |
"p99": 0.006857944593429565, | |
"values": [ | |
0.006301774024963379, | |
0.006091853141784668, | |
0.006086253166198731, | |
0.0061708931922912595, | |
0.006295533180236817, | |
0.006333134174346924, | |
0.006359694004058838, | |
0.006338412761688232, | |
0.006292173862457276, | |
0.006276652812957763, | |
0.0062875328063964845, | |
0.0062705731391906735, | |
0.006415534019470215, | |
0.006178893089294433, | |
0.00616977310180664, | |
0.006034412860870361, | |
0.0060881729125976565, | |
0.0060312128067016605, | |
0.006022733211517334, | |
0.006025133132934571, | |
0.00599041223526001, | |
0.005965611934661865, | |
0.006007853031158447, | |
0.006005453109741211, | |
0.0059976129531860356, | |
0.006031532764434814, | |
0.0060144119262695315, | |
0.005982572078704834, | |
0.005992332935333252, | |
0.006926095008850098, | |
0.00814785671234131, | |
0.0059899320602416995, | |
0.006007372856140137, | |
0.005966893196105957, | |
0.0059958529472351075, | |
0.005948492050170898, | |
0.006010733127593994, | |
0.005969132900238037, | |
0.005993772983551025, | |
0.0060172929763793945, | |
0.005927853107452393, | |
0.005995851993560791, | |
0.006036972045898438, | |
0.00598257303237915, | |
0.005995693206787109, | |
0.006021933078765869, | |
0.006005612850189209, | |
0.0059880118370056155, | |
0.005977612018585205, | |
0.006038413047790527, | |
0.005995532989501953, | |
0.0060124931335449215, | |
0.005980173110961914, | |
0.006046732902526855, | |
0.0059929718971252445, | |
0.006001452922821045, | |
0.006044493198394775, | |
0.0059910531044006345, | |
0.005955213069915771, | |
0.006025772094726562, | |
0.006017292022705078, | |
0.006017773151397705, | |
0.005992332935333252, | |
0.0060312128067016605, | |
0.00601265287399292, | |
0.006008973121643066, | |
0.006004491806030274, | |
0.006029451847076416, | |
0.006001132965087891, | |
0.00600273323059082, | |
0.006014893054962158, | |
0.006032652854919433, | |
0.006006732940673828, | |
0.006028011798858642, | |
0.006001771926879883, | |
0.005973933219909668, | |
0.00598257303237915, | |
0.006014893054962158, | |
0.006008492946624756, | |
0.006006092071533203, | |
0.005992173194885254, | |
0.006017133235931397, | |
0.005993612766265869, | |
0.006011532783508301, | |
0.006023212909698487, | |
0.006291852951049805, | |
0.0059977731704711915, | |
0.006036013126373291, | |
0.006034893035888672, | |
0.006008491992950439, | |
0.0060046520233154295, | |
0.006007692813873291, | |
0.005969933032989502, | |
0.005961772918701172, | |
0.0060294528007507325, | |
0.005981771945953369, | |
0.0060001730918884276, | |
0.00603505277633667, | |
0.006018252849578858, | |
0.0059750528335571285, | |
0.0060049729347229006, | |
0.006005772113800049, | |
0.006001772880554199, | |
0.00599297285079956, | |
0.005972012996673584, | |
0.005973773002624512, | |
0.006028492927551269, | |
0.005982572078704834, | |
0.005982412815093994, | |
0.005975372791290283, | |
0.0060123329162597655, | |
0.005984813213348389, | |
0.006004971981048584, | |
0.005961132049560547, | |
0.005978093147277832, | |
0.006029293060302734, | |
0.006019372940063477, | |
0.006012012958526611, | |
0.006004811763763428, | |
0.005996492862701416, | |
0.0059982528686523436, | |
0.0060300931930542, | |
0.006816174983978272, | |
0.006495372772216797, | |
0.006370413780212403, | |
0.006429294109344483, | |
0.006243213176727295, | |
0.006388654232025146, | |
0.0063011331558227536, | |
0.006406894207000732, | |
0.006468493938446045, | |
0.006196493148803711, | |
0.006337133884429932, | |
0.006513773918151855, | |
0.006688814163208007, | |
0.00675857400894165, | |
0.006723215103149414, | |
0.006741454124450683, | |
0.006493934154510498, | |
0.006377453804016113, | |
0.006393292903900147, | |
0.006392973899841309, | |
0.0063585729598999025, | |
0.006408012866973877, | |
0.006281454086303711, | |
0.006261773109436035, | |
0.006207532882690429, | |
0.005977293014526367, | |
0.005987853050231934, | |
0.005975372791290283, | |
0.006044171810150147, | |
0.005975532054901123, | |
0.005995532989501953, | |
0.006001613140106201, | |
0.005994732856750488, | |
0.005998572826385498, | |
0.005972332000732422, | |
0.006001933097839356, | |
0.0059769730567932125, | |
0.005968012809753418, | |
0.005986731052398681, | |
0.005969932079315185, | |
0.0059976129531860356 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 163.57961573330695 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |