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
5e115d7
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": "5", | |
"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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.490624, | |
"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.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1099.620352, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 5280.821248, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.13154708862304687 | |
], | |
"count": 1, | |
"total": 0.13154708862304687, | |
"mean": 0.13154708862304687, | |
"p50": 0.13154708862304687, | |
"p90": 0.13154708862304687, | |
"p95": 0.13154708862304687, | |
"p99": 0.13154708862304687, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1269.620736, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 182825.43104, | |
"max_reserved": 400.556032, | |
"max_allocated": 373.34528 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006485411167144775, | |
0.0064217309951782224, | |
0.006409572124481201, | |
0.00642493200302124, | |
0.006373412132263183, | |
0.006395971775054932, | |
0.006412452220916748, | |
0.006373251914978027, | |
0.006389731884002685, | |
0.006407812118530274, | |
0.006358051776885986, | |
0.0063791718482971195, | |
0.006358851909637451, | |
0.006372611999511718, | |
0.00638669204711914, | |
0.006393732070922852, | |
0.006400931835174561, | |
0.006383011817932129, | |
0.006401092052459717, | |
0.0064044508934021, | |
0.006404612064361572, | |
0.006425412178039551, | |
0.006399332046508789, | |
0.006400452136993408, | |
0.006413731098175049, | |
0.00638621187210083, | |
0.00642077112197876, | |
0.006396612167358398, | |
0.0064454121589660645, | |
0.006466211795806885, | |
0.006426210880279541, | |
0.006420931816101074, | |
0.00643501091003418, | |
0.006429252147674561, | |
0.006448610782623291, | |
0.0064006118774414065, | |
0.006432450771331787, | |
0.00643037223815918, | |
0.006431490898132324, | |
0.006427172183990478, | |
0.006385412216186524, | |
0.0064737310409545895, | |
0.006434371948242187, | |
0.006380611896514892, | |
0.0064337320327758785, | |
0.006439170837402344, | |
0.006423491954803467, | |
0.0064570908546447755, | |
0.0064452519416809085, | |
0.0064497308731079105, | |
0.00645741081237793, | |
0.006400931835174561, | |
0.006430531024932861, | |
0.006423652172088623, | |
0.0064425311088562014, | |
0.006467971801757812, | |
0.006430370807647705, | |
0.006460611820220947, | |
0.006437732219696045, | |
0.006446850776672363, | |
0.006456131935119629, | |
0.006411971092224121, | |
0.006437572002410888, | |
0.006446530818939209, | |
0.0064122920036315915, | |
0.0064358110427856444, | |
0.007095648765563965, | |
0.007191648006439209, | |
0.007175487995147705, | |
0.007210368156433105, | |
0.0072226881980896, | |
0.006595651149749756, | |
0.006753730773925781, | |
0.006713729858398437, | |
0.006605891227722168, | |
0.0067647709846496585, | |
0.006762851238250733, | |
0.006574690818786621, | |
0.006833570003509521, | |
0.006792290210723877, | |
0.006682690143585205, | |
0.006763010025024414, | |
0.006818530082702637, | |
0.006586531162261963, | |
0.006398211002349854, | |
0.006450531959533691, | |
0.006441891193389893, | |
0.006421892166137695, | |
0.0063953309059143065, | |
0.006379971981048584, | |
0.006394691944122314, | |
0.00645133113861084, | |
0.006399332046508789, | |
0.006400771141052246, | |
0.006386372089385986, | |
0.0064393310546875, | |
0.006425251960754394, | |
0.006427011013031006, | |
0.006417572021484375, | |
0.006445570945739746, | |
0.006437891960144043, | |
0.0064327712059020995, | |
0.006440132141113281, | |
0.006435970783233643, | |
0.006397410869598389, | |
0.006408771991729736, | |
0.006437090873718262, | |
0.00643917179107666, | |
0.006410851955413819, | |
0.0064434919357299805, | |
0.006463012218475342, | |
0.006664929866790771, | |
0.006453251838684082, | |
0.006423171043395996, | |
0.00643421220779419, | |
0.006414531230926513, | |
0.006423652172088623, | |
0.00644205093383789, | |
0.006437732219696045, | |
0.006427331924438477, | |
0.006446531772613525, | |
0.006415812015533448, | |
0.0064594907760620116, | |
0.0064239721298217775, | |
0.014361056327819824, | |
0.005709734916687012, | |
0.005690535068511963, | |
0.005707815170288086, | |
0.005698054790496826, | |
0.00570621395111084, | |
0.005710535049438477, | |
0.005693254947662353, | |
0.005704134941101074, | |
0.005997413158416748, | |
0.006427172183990478, | |
0.0064167709350585935, | |
0.006405732154846191, | |
0.006411012172698975, | |
0.006391171932220459, | |
0.006406692028045655, | |
0.0064010910987854, | |
0.006411332130432129, | |
0.006402371883392334, | |
0.006390371799468994, | |
0.006425571918487549, | |
0.006407970905303955, | |
0.0064012517929077145, | |
0.006436131000518799, | |
0.006426531791687012, | |
0.006394532203674317, | |
0.00640717077255249, | |
0.006402212142944336, | |
0.006423971176147461, | |
0.006403491973876953 | |
], | |
"count": 154, | |
"total": 0.9982986321449278, | |
"mean": 0.00648245865029174, | |
"p50": 0.006425091981887817, | |
"p90": 0.006647218275070191, | |
"p95": 0.006801474165916443, | |
"p99": 0.007216158576011658, | |
"stdev": 0.0006789562955879587, | |
"stdev_": 10.473746647923509 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 308.52491437180106 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |