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
7d198fc
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+rocm6.1", | |
"_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": 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.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1387.143168, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.01846533203125, | |
"mean": 8.01846533203125, | |
"stdev": 0.0, | |
"p50": 8.01846533203125, | |
"p90": 8.01846533203125, | |
"p95": 8.01846533203125, | |
"p99": 8.01846533203125, | |
"values": [ | |
8.01846533203125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1557.946368, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 406.847488, | |
"max_allocated": 354.740224 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 169, | |
"total": 0.9964119668006894, | |
"mean": 0.005895928797637217, | |
"stdev": 0.00042766308690197135, | |
"p50": 0.0056490998268127444, | |
"p90": 0.006456904888153076, | |
"p95": 0.006496264839172363, | |
"p99": 0.006636674346923827, | |
"values": [ | |
0.006315496921539307, | |
0.006197257995605469, | |
0.006137258052825928, | |
0.0064670171737670895, | |
0.006257256984710693, | |
0.006479977130889892, | |
0.006405097007751465, | |
0.006111338138580323, | |
0.0059234991073608394, | |
0.005802858829498291, | |
0.005876139163970947, | |
0.006224617958068847, | |
0.006503176212310791, | |
0.006484296798706055, | |
0.00649213695526123, | |
0.006499016761779785, | |
0.0064225378036499026, | |
0.006428937911987304, | |
0.006440776824951172, | |
0.006434697151184082, | |
0.006429417133331299, | |
0.006421417236328125, | |
0.006428136825561524, | |
0.006419016838073731, | |
0.0065593371391296385, | |
0.006403337955474853, | |
0.006429577827453613, | |
0.006371818065643311, | |
0.006387497901916504, | |
0.006400136947631836, | |
0.006393257141113281, | |
0.006411497116088867, | |
0.006438537120819092, | |
0.006528135776519776, | |
0.00657021713256836, | |
0.006509255886077881, | |
0.0065097370147705075, | |
0.006467657089233398, | |
0.006426537036895752, | |
0.006437897205352783, | |
0.006438056945800782, | |
0.006427017211914063, | |
0.006456616878509521, | |
0.006444457054138183, | |
0.006432137012481689, | |
0.006456296920776367, | |
0.006423656940460205, | |
0.006455657005310059, | |
0.006432777881622315, | |
0.006468297004699707, | |
0.006456616878509521, | |
0.0064863767623901366, | |
0.006458056926727295, | |
0.007224453926086426, | |
0.006777895927429199, | |
0.006187657833099366, | |
0.006205257892608643, | |
0.006213578224182129, | |
0.006255177021026612, | |
0.006261898040771484, | |
0.00624541711807251, | |
0.006218537807464599, | |
0.006243338108062744, | |
0.006252137184143067, | |
0.005897738933563232, | |
0.005678860187530518, | |
0.005703178882598877, | |
0.005734059810638428, | |
0.0056490998268127444, | |
0.00548974084854126, | |
0.005494219779968262, | |
0.00548750114440918, | |
0.005485260963439941, | |
0.005503499984741211, | |
0.00549261999130249, | |
0.005495820999145508, | |
0.005723498821258545, | |
0.0057225399017333985, | |
0.005644779205322265, | |
0.005758699893951416, | |
0.005749578952789307, | |
0.005673419952392578, | |
0.005723498821258545, | |
0.0055260610580444335, | |
0.005521581172943115, | |
0.0055255799293518065, | |
0.005503180027008056, | |
0.005516940116882324, | |
0.005529581069946289, | |
0.005514220237731933, | |
0.005547659873962402, | |
0.005493899822235107, | |
0.005535500049591064, | |
0.005533101081848145, | |
0.005508621215820312, | |
0.005513740062713623, | |
0.005518700122833252, | |
0.005520619869232178, | |
0.005505260944366455, | |
0.005502699851989746, | |
0.005502220153808594, | |
0.005507980823516846, | |
0.005520461082458496, | |
0.005513579845428467, | |
0.005508619785308838, | |
0.005505900859832763, | |
0.005535820960998535, | |
0.005516300201416016, | |
0.005521100044250488, | |
0.005518700122833252, | |
0.005494700908660889, | |
0.005512300014495849, | |
0.005513579845428467, | |
0.005548299789428711, | |
0.005519659996032715, | |
0.005537900924682617, | |
0.005550061225891113, | |
0.005524620056152344, | |
0.005536940097808838, | |
0.005516139984130859, | |
0.00550558090209961, | |
0.005538540840148926, | |
0.005507979869842529, | |
0.005508780002593994, | |
0.0055043001174926755, | |
0.005511500835418701, | |
0.00551117992401123, | |
0.005511340141296387, | |
0.005517580032348633, | |
0.005519501209259033, | |
0.005510379791259765, | |
0.005531980037689209, | |
0.005543179988861084, | |
0.005590380191802979, | |
0.005563819885253906, | |
0.005554699897766113, | |
0.005539340019226074, | |
0.005576620101928711, | |
0.005510860919952392, | |
0.00552046012878418, | |
0.005535820007324219, | |
0.005528779983520507, | |
0.005533899784088135, | |
0.005526220798492432, | |
0.00552046012878418, | |
0.005543340206146241, | |
0.0055182199478149415, | |
0.005519820213317871, | |
0.005523180961608887, | |
0.005534379959106445, | |
0.005520619869232178, | |
0.005519020080566406, | |
0.00551501989364624, | |
0.005517900943756104, | |
0.005525259971618652, | |
0.005490379810333252, | |
0.005507180213928223, | |
0.005508141040802002, | |
0.005508140087127685, | |
0.005963499069213867, | |
0.006288938045501709, | |
0.006310057163238525, | |
0.006291498184204101, | |
0.006308617115020752, | |
0.006336778163909912, | |
0.005965898990631104, | |
0.005700940132141113, | |
0.005922697067260742, | |
0.0057526202201843265 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 169.60856114828732 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |