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
23bb73c
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.25344, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 4693.327872, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.10930433654785156 | |
], | |
"count": 1, | |
"total": 0.10930433654785156, | |
"mean": 0.10930433654785156, | |
"p50": 0.10930433654785156, | |
"p90": 0.10930433654785156, | |
"p95": 0.10930433654785156, | |
"p99": 0.10930433654785156, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1268.514816, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 178273.992704, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006343369960784912, | |
0.00611313009262085, | |
0.00610929012298584, | |
0.006722091197967529, | |
0.006721450805664063, | |
0.006392330169677734, | |
0.006327370166778565, | |
0.00621665096282959, | |
0.00618080997467041, | |
0.00638608980178833, | |
0.005929450035095215, | |
0.005958250045776367, | |
0.005894888877868652, | |
0.005902729988098145, | |
0.005922090053558349, | |
0.005932488918304443, | |
0.005899529933929443, | |
0.005898729801177978, | |
0.005906729221343994, | |
0.005944489002227783, | |
0.005897610187530517, | |
0.005969769954681396, | |
0.00594304895401001, | |
0.005939528942108154, | |
0.005921770095825196, | |
0.005919690132141113, | |
0.00592448902130127, | |
0.005926889896392822, | |
0.0059299302101135255, | |
0.005922410011291504, | |
0.005908329010009766, | |
0.005922890186309814, | |
0.005949610233306884, | |
0.005962729930877686, | |
0.0059294490814208985, | |
0.005958250045776367, | |
0.005972169876098633, | |
0.005928969860076904, | |
0.005932488918304443, | |
0.006117929935455322, | |
0.006079370021820068, | |
0.005952970027923584, | |
0.005929609775543213, | |
0.005980490207672119, | |
0.006102250099182129, | |
0.005948329925537109, | |
0.005957289218902588, | |
0.005943210124969483, | |
0.005927370071411133, | |
0.0059659299850463865, | |
0.005931209087371827, | |
0.005974730014801025, | |
0.005950890064239502, | |
0.005969130039215088, | |
0.0059532890319824215, | |
0.005956809997558593, | |
0.005948649883270264, | |
0.005952330112457276, | |
0.005968009948730469, | |
0.00596432876586914, | |
0.005963689804077148, | |
0.005965449810028076, | |
0.005950089931488037, | |
0.005968008995056152, | |
0.005939848899841308, | |
0.005999370098114014, | |
0.006005129814147949, | |
0.0060313701629638675, | |
0.005972330093383789, | |
0.0059985690116882324, | |
0.0059475297927856444, | |
0.005974410057067871, | |
0.00594497013092041, | |
0.005983369827270508, | |
0.0059563288688659665, | |
0.005904809951782226, | |
0.005916810035705567, | |
0.0059270491600036624, | |
0.005957129001617431, | |
0.005977129936218262, | |
0.006068009853363037, | |
0.005961130142211914, | |
0.005980169773101807, | |
0.005949769020080566, | |
0.005925449848175049, | |
0.005946889877319336, | |
0.005934249877929687, | |
0.005976008892059326, | |
0.005940969944000244, | |
0.0059561700820922854, | |
0.0067224111557006834, | |
0.006382410049438477, | |
0.006342249870300293, | |
0.006333290100097656, | |
0.00618080997467041, | |
0.006416010856628418, | |
0.0061555299758911134, | |
0.005968170166015625, | |
0.0059561700820922854, | |
0.005932009220123291, | |
0.0059537701606750485, | |
0.005932169914245606, | |
0.006243370056152344, | |
0.006434731006622315, | |
0.006474410057067871, | |
0.00627121114730835, | |
0.0064283299446105955, | |
0.006250091075897217, | |
0.006050088882446289, | |
0.006406410217285156, | |
0.0058996901512146, | |
0.005949288845062256, | |
0.006054090023040771, | |
0.00610545015335083, | |
0.005900809764862061, | |
0.005919849872589112, | |
0.005902729034423828, | |
0.00595552921295166, | |
0.005937769889831543, | |
0.005931049823760986, | |
0.0059220890998840335, | |
0.005923689842224121, | |
0.005930089950561523, | |
0.00597121000289917, | |
0.005932329177856445, | |
0.005927690029144287, | |
0.0059232101440429685, | |
0.005949130058288574, | |
0.00592496919631958, | |
0.005934249877929687, | |
0.0059232101440429685, | |
0.005933450222015381, | |
0.0063684902191162105, | |
0.006741771221160889, | |
0.006752010822296143, | |
0.006798090934753418, | |
0.006419051170349121, | |
0.006544970989227295, | |
0.006182409763336181, | |
0.006362569808959961, | |
0.005938570022583008, | |
0.0061132898330688475, | |
0.005927370071411133, | |
0.0059134488105773925, | |
0.005891210079193116, | |
0.005954730033874512, | |
0.005889289855957032, | |
0.005895689010620118, | |
0.005988009929656982, | |
0.006152329921722412, | |
0.006098249912261963, | |
0.006147369861602783, | |
0.00616112995147705, | |
0.0061347298622131344, | |
0.005920810222625732, | |
0.005897769927978516, | |
0.005901608943939209, | |
0.005931688785552979, | |
0.005929450035095215, | |
0.005921609878540039, | |
0.00591632890701294, | |
0.005896649837493897, | |
0.005911368846893311, | |
0.005906888961791992, | |
0.005895530223846436 | |
], | |
"count": 165, | |
"total": 0.9968480257987975, | |
"mean": 0.00604150318665938, | |
"p50": 0.0059532890319824215, | |
"p90": 0.006366122055053711, | |
"p95": 0.0064334507942199705, | |
"p99": 0.00674545747756958, | |
"stdev": 0.00020137067107324258, | |
"stdev_": 3.3331219872216855 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 165.52172019178312 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |