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
ac11cd3
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_type": "vit", | |
"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": {}, | |
"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": "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.1", | |
"optimum_benchmark_commit": "8bf68d01ce920e01ece8935a1cc6d7e3f17c2d2b", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 898.818048, | |
"max_global_vram": 689.369088, | |
"max_process_vram": 47035.33056, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.7284345703125, | |
"mean": 7.7284345703125, | |
"stdev": 0.0, | |
"p50": 7.7284345703125, | |
"p90": 7.7284345703125, | |
"p95": 7.7284345703125, | |
"p99": 7.7284345703125, | |
"values": [ | |
7.7284345703125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1069.174784, | |
"max_global_vram": 777.678848, | |
"max_process_vram": 194473.295872, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 0.9934287896156309, | |
"mean": 0.007045594252593128, | |
"stdev": 0.000156517829883778, | |
"p50": 0.007026033878326416, | |
"p90": 0.007176112174987793, | |
"p95": 0.007256112098693848, | |
"p99": 0.007318831157684326, | |
"values": [ | |
0.007090513229370117, | |
0.006917233943939209, | |
0.006979794025421143, | |
0.006937074184417725, | |
0.006913713932037354, | |
0.006936113834381103, | |
0.006951953887939453, | |
0.007006194114685059, | |
0.006990034103393555, | |
0.006946834087371826, | |
0.006857715129852295, | |
0.006849874973297119, | |
0.006965554237365722, | |
0.0069236340522766116, | |
0.006924114227294922, | |
0.006870994091033936, | |
0.00697499418258667, | |
0.00692587423324585, | |
0.006900594234466552, | |
0.006915634155273438, | |
0.006930194854736328, | |
0.006939474105834961, | |
0.006951633930206299, | |
0.006930833816528321, | |
0.0070089130401611325, | |
0.006986834049224853, | |
0.006882514953613281, | |
0.00694667387008667, | |
0.00689179515838623, | |
0.006917074203491211, | |
0.006909873962402344, | |
0.006963953971862793, | |
0.006929393768310547, | |
0.0070092339515686036, | |
0.006959633827209473, | |
0.006898674964904785, | |
0.006946033954620361, | |
0.006922674179077148, | |
0.007045712947845459, | |
0.007077873229980469, | |
0.006970034122467041, | |
0.007074034214019776, | |
0.007185553073883057, | |
0.007117232799530029, | |
0.007078833103179931, | |
0.00707131290435791, | |
0.007066352844238281, | |
0.007019473075866699, | |
0.007000273227691651, | |
0.006969714164733886, | |
0.007006833076477051, | |
0.0069292340278625485, | |
0.007014993190765381, | |
0.006992914199829101, | |
0.007026033878326416, | |
0.007056753158569336, | |
0.0070585131645202635, | |
0.0070735540390014645, | |
0.00716683292388916, | |
0.007138351917266846, | |
0.0071276330947875974, | |
0.007057713985443115, | |
0.007054354190826416, | |
0.007051633834838867, | |
0.0070865130424499516, | |
0.007170992851257324, | |
0.007205233097076416, | |
0.007176753044128418, | |
0.007083952903747559, | |
0.007065553188323975, | |
0.006996754169464111, | |
0.007037074089050293, | |
0.0070353131294250484, | |
0.00707899284362793, | |
0.0070159540176391606, | |
0.00702651309967041, | |
0.008459624290466308, | |
0.007153552055358886, | |
0.007075953006744385, | |
0.0070993127822875975, | |
0.007298351764678955, | |
0.007032433032989502, | |
0.007086993217468262, | |
0.007084593772888183, | |
0.007058353900909424, | |
0.007161872863769531, | |
0.006997233867645264, | |
0.00702651309967041, | |
0.007012434005737304, | |
0.0070068340301513675, | |
0.007036753177642822, | |
0.00711787223815918, | |
0.007271791934967041, | |
0.007166672229766846, | |
0.007098672866821289, | |
0.007096592903137207, | |
0.007074673175811768, | |
0.007138513088226319, | |
0.007149232864379883, | |
0.007310191154479981, | |
0.007273231983184815, | |
0.007256112098693848, | |
0.0072549920082092285, | |
0.007176112174987793, | |
0.007070192813873291, | |
0.007122353076934814, | |
0.007123153209686279, | |
0.007060594081878662, | |
0.007098513126373291, | |
0.006999954223632813, | |
0.007052113056182861, | |
0.0070353131294250484, | |
0.00696635389328003, | |
0.007068432807922363, | |
0.006902674198150635, | |
0.007114512920379639, | |
0.007042993068695069, | |
0.0069217138290405275, | |
0.006958193778991699, | |
0.007008752822875977, | |
0.007030992984771728, | |
0.0070919528007507325, | |
0.007324591159820557, | |
0.0071980319023132325, | |
0.00728715181350708, | |
0.007226353168487549, | |
0.007047314167022705, | |
0.007017394065856933, | |
0.007020112991333008, | |
0.007003952980041504, | |
0.007016913890838623, | |
0.006976113796234131, | |
0.006915954113006592, | |
0.006932273864746093, | |
0.006958034038543701, | |
0.0069762740135192874, | |
0.006950193881988525, | |
0.006956274032592773, | |
0.006946513175964356, | |
0.006976913928985595, | |
0.00693899393081665 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.9326694312478 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |