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
7aafe43
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "transformers", | |
"model_type": "vit", | |
"model": "google/vit-base-patch16-224", | |
"processor": "google/vit-base-patch16-224", | |
"device": "cuda", | |
"device_ids": "6", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_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, | |
"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": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1096.409088, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 5172.445184, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.10999639892578125 | |
], | |
"count": 1, | |
"total": 0.10999639892578125, | |
"mean": 0.10999639892578125, | |
"p50": 0.10999639892578125, | |
"p90": 0.10999639892578125, | |
"p95": 0.10999639892578125, | |
"p99": 0.10999639892578125, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1268.85888, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 151984.676864, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006976974964141846, | |
0.006805934906005859, | |
0.006820014953613281, | |
0.006828014850616455, | |
0.006832974910736084, | |
0.006762574195861817, | |
0.006326094150543213, | |
0.006247374057769775, | |
0.006436014175415039, | |
0.006537774085998535, | |
0.006379374027252197, | |
0.006544333934783935, | |
0.0063137741088867185, | |
0.0063027338981628414, | |
0.0061494531631469725, | |
0.00637217378616333, | |
0.005985773086547851, | |
0.005989772796630859, | |
0.00597985315322876, | |
0.006171533107757568, | |
0.006423533916473389, | |
0.006409453868865967, | |
0.006462254047393799, | |
0.006433932781219482, | |
0.006378733158111573, | |
0.006379693984985352, | |
0.0063988938331604, | |
0.00647313404083252, | |
0.0063894538879394535, | |
0.006360174179077149, | |
0.006296654224395752, | |
0.006214252948760986, | |
0.0061956939697265625, | |
0.006175532817840577, | |
0.006258254051208496, | |
0.006223052978515625, | |
0.0062115340232849125, | |
0.0065558538436889646, | |
0.006735215187072754, | |
0.006474894046783447, | |
0.006467214107513428, | |
0.006465134143829346, | |
0.006499053955078125, | |
0.006512013912200928, | |
0.006434413909912109, | |
0.006382093906402588, | |
0.006217453002929687, | |
0.006275373935699463, | |
0.006240972995758057, | |
0.006196653842926026, | |
0.006064493179321289, | |
0.006055532932281494, | |
0.006079854011535645, | |
0.006167852878570556, | |
0.0060528130531311035, | |
0.006068973064422607, | |
0.00605713415145874, | |
0.006051853179931641, | |
0.006050413131713867, | |
0.006061452865600586, | |
0.0060337729454040525, | |
0.006058572769165039, | |
0.0060790529251098634, | |
0.00606769323348999, | |
0.006071853160858154, | |
0.006691054821014404, | |
0.006533614158630371, | |
0.006410254001617432, | |
0.00628865385055542, | |
0.006464973926544189, | |
0.006880334854125977, | |
0.006839535236358643, | |
0.0068208141326904295, | |
0.006820653915405274, | |
0.006374733924865723, | |
0.006407373905181884, | |
0.006352334022521972, | |
0.006306253910064698, | |
0.006756494045257569, | |
0.006830413818359375, | |
0.006838095188140869, | |
0.006753934860229492, | |
0.006470573902130127, | |
0.006810414791107178, | |
0.006819694995880127, | |
0.0068548951148986815, | |
0.006840334892272949, | |
0.006801134109497071, | |
0.006810894012451172, | |
0.006834575176239014, | |
0.006424493789672851, | |
0.0063491339683532716, | |
0.006400013923645019, | |
0.00640049409866333, | |
0.00633553409576416, | |
0.0062968130111694335, | |
0.006301613807678222, | |
0.006031692981719971, | |
0.006099534034729004, | |
0.0062110528945922856, | |
0.006207533836364746, | |
0.006054893016815186, | |
0.006002892971038818, | |
0.006209133148193359, | |
0.006186092853546142, | |
0.006042253017425537, | |
0.0060380930900573735, | |
0.006204654216766357, | |
0.006045133113861084, | |
0.00604705286026001, | |
0.006040332794189453, | |
0.006051853179931641, | |
0.006050093173980713, | |
0.006038893222808838, | |
0.0060380930900573735, | |
0.0060142531394958496, | |
0.006024972915649414, | |
0.006018572807312011, | |
0.006032332897186279, | |
0.006008333206176758, | |
0.006060492992401123, | |
0.006034412860870361, | |
0.0060006527900695805, | |
0.0060068931579589846, | |
0.006033452987670898, | |
0.0060368127822875975, | |
0.006009772777557373, | |
0.006013613224029541, | |
0.006039533138275146, | |
0.006003693103790283, | |
0.006014092922210694, | |
0.005995693206787109, | |
0.006038413047790527, | |
0.005985773086547851, | |
0.006018572807312011, | |
0.0059908928871154786, | |
0.006011053085327149, | |
0.006000813007354736, | |
0.006032652854919433, | |
0.006008492946624756, | |
0.0060099329948425295, | |
0.006020493030548095, | |
0.005977132797241211, | |
0.0059982528686523436, | |
0.006047692775726319, | |
0.006016172885894775, | |
0.005998093128204346, | |
0.006008172988891601, | |
0.006031532764434814, | |
0.0060118532180786135, | |
0.006027213096618652, | |
0.006026093006134033, | |
0.006024813175201416, | |
0.0060025730133056645, | |
0.005991532802581787, | |
0.006013453006744385, | |
0.006004493236541748, | |
0.006035532951354981, | |
0.006012331962585449 | |
], | |
"count": 159, | |
"total": 0.9963354353904718, | |
"mean": 0.006266260599940078, | |
"p50": 0.0061956939697265625, | |
"p90": 0.006806830883026123, | |
"p95": 0.006830669927597045, | |
"p99": 0.006865579805374145, | |
"stdev": 0.0002796012984714966, | |
"stdev_": 4.462011976874539 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 159.5848088427032 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |