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
a36d054
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": "593b48b93d71bee250bc8db76a7279c4b590c2bb", | |
"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": 897.8432, | |
"max_global_vram": 4259.483648, | |
"max_process_vram": 45772.775424, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.3442939453125, | |
"mean": 7.3442939453125, | |
"stdev": 0.0, | |
"p50": 7.3442939453125, | |
"p90": 7.3442939453125, | |
"p95": 7.3442939453125, | |
"p99": 7.3442939453125, | |
"values": [ | |
7.3442939453125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1068.843008, | |
"max_global_vram": 3064.291328, | |
"max_process_vram": 180681.834496, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 0.9976116876602176, | |
"mean": 0.007075260196171754, | |
"stdev": 0.000298213532590074, | |
"p50": 0.007012468814849853, | |
"p90": 0.007465107917785645, | |
"p95": 0.007512948036193848, | |
"p99": 0.007984915447235107, | |
"values": [ | |
0.006952788829803467, | |
0.0069385490417480464, | |
0.006984148979187012, | |
0.006977589130401612, | |
0.006990068912506103, | |
0.006984468936920166, | |
0.006963189125061035, | |
0.0069495878219604495, | |
0.007970707893371582, | |
0.0067462301254272465, | |
0.006727668762207031, | |
0.00669214916229248, | |
0.00668350887298584, | |
0.006744150161743164, | |
0.006719829082489014, | |
0.00672654914855957, | |
0.0066987090110778805, | |
0.006759509086608887, | |
0.006695829868316651, | |
0.006709589004516602, | |
0.006769108772277832, | |
0.006712948799133301, | |
0.006770548820495606, | |
0.006731510162353516, | |
0.006715829849243164, | |
0.0067171092033386235, | |
0.006733748912811279, | |
0.0067457489967346195, | |
0.006751348972320556, | |
0.006779029846191407, | |
0.006764949798583985, | |
0.0067366290092468264, | |
0.006751668930053711, | |
0.006736789226531982, | |
0.006711988925933838, | |
0.006723830223083496, | |
0.0067623891830444335, | |
0.00690286922454834, | |
0.007903986930847168, | |
0.00675006914138794, | |
0.0067812690734863285, | |
0.0070113492012023925, | |
0.006693268775939941, | |
0.006674068927764893, | |
0.006773909091949463, | |
0.006774868965148926, | |
0.006840468883514405, | |
0.00721406888961792, | |
0.007994387149810791, | |
0.007474867820739746, | |
0.0074731078147888185, | |
0.007935347080230713, | |
0.007642707824707031, | |
0.007474068164825439, | |
0.007622386932373047, | |
0.007407188892364502, | |
0.007508148193359375, | |
0.0073439888954162594, | |
0.0072963089942932125, | |
0.007294387817382813, | |
0.007294067859649658, | |
0.007461587905883789, | |
0.00727086877822876, | |
0.007277748107910156, | |
0.007331188201904297, | |
0.007197268009185791, | |
0.007369429111480713, | |
0.007473748207092285, | |
0.007465107917785645, | |
0.007462547779083252, | |
0.007512948036193848, | |
0.007391829013824463, | |
0.007287668228149414, | |
0.007219828128814697, | |
0.007210868835449219, | |
0.007191668033599854, | |
0.008335507392883301, | |
0.00715582799911499, | |
0.007218548774719238, | |
0.007176948070526123, | |
0.007151669025421143, | |
0.007166708946228027, | |
0.007148149013519287, | |
0.0071427087783813474, | |
0.007223827838897705, | |
0.007246549129486084, | |
0.007487668037414551, | |
0.007419988155364991, | |
0.007414708137512207, | |
0.007242867946624756, | |
0.007193748950958252, | |
0.007246068000793457, | |
0.007248948097229004, | |
0.007098228931427002, | |
0.007106869220733642, | |
0.007039669036865234, | |
0.00709230899810791, | |
0.007089908123016357, | |
0.007070068836212158, | |
0.006976469039916992, | |
0.007048628807067871, | |
0.007052948951721191, | |
0.007010708808898926, | |
0.007055988788604736, | |
0.006998229026794434, | |
0.007007029056549072, | |
0.00700062894821167, | |
0.007002227783203125, | |
0.0070233488082885745, | |
0.007000469207763672, | |
0.007037269115447998, | |
0.006984788894653321, | |
0.0070681490898132325, | |
0.007046228885650635, | |
0.007002388000488281, | |
0.006972309112548828, | |
0.006933428764343262, | |
0.006976469039916992, | |
0.0069899091720581055, | |
0.007024628162384033, | |
0.006987508773803711, | |
0.007001749038696289, | |
0.006989109039306641, | |
0.0069875078201293945, | |
0.006962549209594726, | |
0.007010388851165772, | |
0.007040308952331543, | |
0.007067028045654297, | |
0.006954548835754394, | |
0.007003189086914063, | |
0.007001268863677979, | |
0.007038389205932617, | |
0.007012468814849853, | |
0.007003829002380371, | |
0.007004787921905517, | |
0.007034069061279297, | |
0.00703118896484375, | |
0.007010388851165772, | |
0.0070230278968811035, | |
0.007067028045654297, | |
0.0070161490440368655 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.33755823440598 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |