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
14e77b9
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": "d0c0a5c5918412583a4f2490ab7e3d1b48375998", | |
"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.69984, | |
"max_global_vram": 689.360896, | |
"max_process_vram": 44346.150912, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.36036962890625, | |
"mean": 7.36036962890625, | |
"stdev": 0.0, | |
"p50": 7.36036962890625, | |
"p90": 7.36036962890625, | |
"p95": 7.36036962890625, | |
"p99": 7.36036962890625, | |
"values": [ | |
7.36036962890625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1068.785664, | |
"max_global_vram": 777.678848, | |
"max_process_vram": 173606.936576, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 162, | |
"total": 0.9941840267181401, | |
"mean": 0.006136938436531726, | |
"stdev": 0.0001909454751337667, | |
"p50": 0.006066402435302734, | |
"p90": 0.006350769805908203, | |
"p95": 0.0065755700111389155, | |
"p99": 0.006885218420028684, | |
"values": [ | |
0.006996482849121094, | |
0.006669762134552002, | |
0.006214561939239502, | |
0.006144162178039551, | |
0.0060800018310546875, | |
0.006111522197723388, | |
0.006097763061523437, | |
0.006125922203063965, | |
0.0061156821250915525, | |
0.006083521842956543, | |
0.006062722206115723, | |
0.006107682228088379, | |
0.00605360221862793, | |
0.006298243045806885, | |
0.0060697622299194336, | |
0.0063076820373535155, | |
0.006059842109680176, | |
0.006482242107391357, | |
0.006094882011413574, | |
0.00605744218826294, | |
0.006070242881774902, | |
0.0060299220085144045, | |
0.006057601928710937, | |
0.006040962219238282, | |
0.006082881927490234, | |
0.006056002140045166, | |
0.0060886421203613286, | |
0.006078561782836914, | |
0.00609728193283081, | |
0.006107842922210694, | |
0.006082881927490234, | |
0.0061016020774841305, | |
0.006051842212677002, | |
0.006027681827545166, | |
0.005993762016296387, | |
0.00607056188583374, | |
0.006080801963806152, | |
0.006094721794128418, | |
0.006057602882385254, | |
0.006069921970367432, | |
0.006056002140045166, | |
0.006062561988830566, | |
0.006085442066192627, | |
0.006037921905517578, | |
0.006050722122192383, | |
0.006232962131500244, | |
0.006091843128204346, | |
0.006115841865539551, | |
0.006075362205505371, | |
0.0060800018310546875, | |
0.00605744218826294, | |
0.006052162170410156, | |
0.006048642158508301, | |
0.0060355219841003414, | |
0.006100482940673828, | |
0.006055362224578857, | |
0.0060348820686340334, | |
0.006031521797180176, | |
0.0060697622299194336, | |
0.006081121921539307, | |
0.006198562145233154, | |
0.006062242031097412, | |
0.006045281887054443, | |
0.006032002925872803, | |
0.00635280179977417, | |
0.0060465621948242185, | |
0.006030402183532715, | |
0.006075041770935059, | |
0.0060678420066833496, | |
0.0060800018310546875, | |
0.0060017619132995605, | |
0.006066082954406738, | |
0.006284642219543457, | |
0.006076961994171143, | |
0.0060372819900512695, | |
0.0061932821273803715, | |
0.007050882816314697, | |
0.006075521945953369, | |
0.0061033620834350585, | |
0.006056642055511475, | |
0.006082402229309082, | |
0.006254402160644532, | |
0.006078402042388916, | |
0.006070241928100586, | |
0.006108963012695313, | |
0.006097921848297119, | |
0.00643456220626831, | |
0.006052162170410156, | |
0.00606672191619873, | |
0.006048642158508301, | |
0.005991682052612305, | |
0.006210882186889649, | |
0.006029282093048096, | |
0.0060585618019104006, | |
0.0060300822257995604, | |
0.0060800018310546875, | |
0.006052001953125, | |
0.006040321826934814, | |
0.006047202110290527, | |
0.006034562110900879, | |
0.0060489621162414554, | |
0.006006083011627197, | |
0.00604384183883667, | |
0.006022562026977539, | |
0.0059803218841552735, | |
0.006021761894226074, | |
0.006027361869812012, | |
0.006046401977539063, | |
0.0060177621841430665, | |
0.006004961967468261, | |
0.006037601947784424, | |
0.006033923149108887, | |
0.006033281803131104, | |
0.0060232019424438475, | |
0.006028801918029785, | |
0.006482242107391357, | |
0.006750242233276367, | |
0.006754723072052002, | |
0.006814082145690918, | |
0.006467041969299317, | |
0.00627888298034668, | |
0.006428962230682373, | |
0.006299521923065186, | |
0.006305282115936279, | |
0.00644640302658081, | |
0.006265121936798096, | |
0.006443202018737793, | |
0.006050722122192383, | |
0.006044961929321289, | |
0.006117601871490478, | |
0.006012001991271973, | |
0.006075041770935059, | |
0.006028642177581787, | |
0.006011682033538818, | |
0.0060513620376586915, | |
0.0060158419609069825, | |
0.006009282112121582, | |
0.006027041912078857, | |
0.006016642093658447, | |
0.006057921886444092, | |
0.006010881900787354, | |
0.006019522190093994, | |
0.006064163208007812, | |
0.00601920223236084, | |
0.006037601947784424, | |
0.0060372819900512695, | |
0.0060611219406127926, | |
0.006049282073974609, | |
0.006055521965026856, | |
0.006040162086486817, | |
0.006014721870422363, | |
0.006087362766265869, | |
0.006098082065582275, | |
0.006051842212677002, | |
0.006052641868591308, | |
0.0066348819732666015, | |
0.006756642818450928, | |
0.006580482006072998, | |
0.0062574419975280765, | |
0.006325761795043946, | |
0.006129121780395508, | |
0.006332481861114502 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 162.9476994664374 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |