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
863b5ac
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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.2.1", | |
"optimum_benchmark_commit": "619f91dd928d405e72e9e7724b958f1538ca7d80", | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1060.028416, | |
"max_global_vram": 2032.472064, | |
"max_process_vram": 173282.435072, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.9388816919326781, | |
"mean": 0.007059260841599084, | |
"stdev": 0.00080477445819788, | |
"p50": 0.006895701885223388, | |
"p90": 0.007259286975860596, | |
"p95": 0.007415703105926513, | |
"p99": 0.01097311630249024, | |
"values": [ | |
0.007062582969665527, | |
0.007340503215789795, | |
0.01334164333343506, | |
0.006961142063140869, | |
0.006829940795898438, | |
0.006623701095581054, | |
0.0064544200897216795, | |
0.010580674171447754, | |
0.007445463180541992, | |
0.006595860958099365, | |
0.006758741855621338, | |
0.006993301868438721, | |
0.006750260829925537, | |
0.010397953033447266, | |
0.006820662021636963, | |
0.00652786111831665, | |
0.011157794952392578, | |
0.006938581943511963, | |
0.0068725008964538575, | |
0.006928341865539551, | |
0.006943061828613282, | |
0.006911061763763428, | |
0.006966102123260498, | |
0.006865460872650147, | |
0.0068723421096801756, | |
0.006921782016754151, | |
0.006873782157897949, | |
0.006869781970977784, | |
0.006849141120910645, | |
0.006866261959075927, | |
0.00689842176437378, | |
0.007101461887359619, | |
0.007069141864776612, | |
0.006927221775054932, | |
0.006913301944732666, | |
0.006957461833953857, | |
0.007023702144622803, | |
0.0070032219886779785, | |
0.007083062171936035, | |
0.0070197019577026365, | |
0.0070153818130493165, | |
0.00698786211013794, | |
0.006909622192382813, | |
0.006888981819152832, | |
0.006972822189331054, | |
0.007250583171844483, | |
0.007351704120635986, | |
0.007271382808685303, | |
0.007199062824249268, | |
0.007395863056182861, | |
0.007268342971801758, | |
0.0070301017761230464, | |
0.007023862838745117, | |
0.006998901844024658, | |
0.006966261863708496, | |
0.006979221820831299, | |
0.006993142127990723, | |
0.006979862213134766, | |
0.0069677019119262695, | |
0.006983382225036621, | |
0.006860661029815674, | |
0.006901301860809326, | |
0.006857461929321289, | |
0.006978901863098144, | |
0.006870581150054932, | |
0.0068325018882751465, | |
0.0068448219299316404, | |
0.007258263111114502, | |
0.007259542942047119, | |
0.007260502815246582, | |
0.007555223941802978, | |
0.007466584205627441, | |
0.007227222919464111, | |
0.00709522294998169, | |
0.00705698299407959, | |
0.007037942886352539, | |
0.007033782958984375, | |
0.007012661933898926, | |
0.006973142147064209, | |
0.006938261985778809, | |
0.006923222064971924, | |
0.0068961820602416995, | |
0.00687922191619873, | |
0.006914902210235596, | |
0.00686834192276001, | |
0.006880661964416504, | |
0.006895701885223388, | |
0.006879701137542725, | |
0.006904982089996338, | |
0.006878261089324951, | |
0.006905141830444336, | |
0.0069013009071350094, | |
0.0067801809310913085, | |
0.006793622016906738, | |
0.00684866189956665, | |
0.006842421054840088, | |
0.006845781803131104, | |
0.006860981941223145, | |
0.0067912211418151855, | |
0.006814741134643555, | |
0.006816501140594482, | |
0.006792662143707276, | |
0.006794901847839355, | |
0.006778262138366699, | |
0.006808821201324463, | |
0.006805302143096924, | |
0.007020341873168945, | |
0.006817622184753418, | |
0.0068155422210693355, | |
0.0067985811233520505, | |
0.0067697811126708985, | |
0.006768500804901123, | |
0.006775540828704834, | |
0.006798261165618896, | |
0.006809142112731934, | |
0.006781142234802246, | |
0.006764502048492432, | |
0.006790262222290039, | |
0.006798101902008057, | |
0.006789620876312256, | |
0.006784020900726318, | |
0.006799860954284668, | |
0.006763381004333496, | |
0.006791061878204345, | |
0.006836502075195312, | |
0.006823061943054199, | |
0.0067825808525085445, | |
0.006807701110839844, | |
0.006803542137145996, | |
0.006778741836547851, | |
0.006824182033538818, | |
0.006812341213226318, | |
0.006803061008453369 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.6578905977183 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |