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
c8e2b0e
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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": "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.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]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"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": 1386.213376, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.6943818359375, | |
"mean": 7.6943818359375, | |
"stdev": 0.0, | |
"p50": 7.6943818359375, | |
"p90": 7.6943818359375, | |
"p95": 7.6943818359375, | |
"p99": 7.6943818359375, | |
"values": [ | |
7.6943818359375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1555.030016, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 406.847488, | |
"max_allocated": 354.740224 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 174, | |
"total": 0.9942441844940184, | |
"mean": 0.005714047037321946, | |
"stdev": 0.00022942141344556592, | |
"p50": 0.0056419820785522466, | |
"p90": 0.005965965080261231, | |
"p95": 0.006349243164062501, | |
"p99": 0.006390803732872009, | |
"values": [ | |
0.005816940784454346, | |
0.0056940622329711916, | |
0.005736142158508301, | |
0.005824780941009521, | |
0.0058123011589050295, | |
0.005898221015930176, | |
0.005925580978393554, | |
0.005889901161193848, | |
0.005731021881103516, | |
0.005785100936889649, | |
0.005814382076263428, | |
0.005760461807250977, | |
0.0057099018096923825, | |
0.005646222114562989, | |
0.005643502235412597, | |
0.005639502048492432, | |
0.005643822193145752, | |
0.00565054178237915, | |
0.005616302013397217, | |
0.005600781917572022, | |
0.005575181961059571, | |
0.005600142002105713, | |
0.005552621841430664, | |
0.005594701766967774, | |
0.005603662014007568, | |
0.0056065421104431155, | |
0.005578862190246582, | |
0.0055767822265625, | |
0.005554542064666748, | |
0.005545742988586426, | |
0.005578702926635743, | |
0.0055678229331970214, | |
0.005527182102203369, | |
0.005588942050933838, | |
0.005575501918792724, | |
0.005535821914672851, | |
0.0067167792320251465, | |
0.005675981998443604, | |
0.005540782928466797, | |
0.005530063152313232, | |
0.005570541858673095, | |
0.005537742137908935, | |
0.005565102100372314, | |
0.005578221797943116, | |
0.005561741828918457, | |
0.005563982009887695, | |
0.005563823223114014, | |
0.00559630298614502, | |
0.005554862976074219, | |
0.005530861854553223, | |
0.005566542148590088, | |
0.005558541774749756, | |
0.0055785422325134275, | |
0.005523182868957519, | |
0.0055628628730773925, | |
0.00555230188369751, | |
0.0055619020462036135, | |
0.005568942070007324, | |
0.005558382034301758, | |
0.005597742080688477, | |
0.005572301864624023, | |
0.005549582004547119, | |
0.005596941947937012, | |
0.0056115021705627445, | |
0.005589101791381836, | |
0.0056334218978881835, | |
0.0056279821395874025, | |
0.005570382118225098, | |
0.005568141937255859, | |
0.005583022117614746, | |
0.005569902896881104, | |
0.005589103221893311, | |
0.0055838232040405274, | |
0.005551181793212891, | |
0.005552142143249512, | |
0.005599502086639404, | |
0.0056420621871948245, | |
0.00584510087966919, | |
0.005635982036590576, | |
0.005660461902618408, | |
0.0056403021812438964, | |
0.005629102230072022, | |
0.005627821922302246, | |
0.0056407818794250485, | |
0.00565166187286377, | |
0.005661742210388183, | |
0.005665741920471192, | |
0.005620461940765381, | |
0.00564174222946167, | |
0.005657422065734863, | |
0.005629901885986328, | |
0.005661101818084717, | |
0.005650701999664306, | |
0.005647021770477295, | |
0.005650860786437988, | |
0.005617901802062988, | |
0.005651822090148926, | |
0.005641901969909668, | |
0.0056708621978759765, | |
0.0056334218978881835, | |
0.005637901782989502, | |
0.0056519808769226075, | |
0.00562542200088501, | |
0.00564830207824707, | |
0.005607341766357422, | |
0.005632142066955567, | |
0.005661742210388183, | |
0.005638062000274658, | |
0.005671981811523437, | |
0.0056286220550537105, | |
0.005670221805572509, | |
0.0056427021026611325, | |
0.005644941806793213, | |
0.005657742023468018, | |
0.005649901866912842, | |
0.005639822006225586, | |
0.005659341812133789, | |
0.005668141841888428, | |
0.00567182207107544, | |
0.005671182155609131, | |
0.0056316618919372554, | |
0.005615821838378906, | |
0.0056780619621276856, | |
0.0056763019561767575, | |
0.00563582181930542, | |
0.005649742126464844, | |
0.005657742023468018, | |
0.005662861824035644, | |
0.005657261848449707, | |
0.005646542072296142, | |
0.0056451020240783694, | |
0.005681900978088379, | |
0.005641582012176513, | |
0.005652462005615234, | |
0.005658542156219483, | |
0.005658061981201172, | |
0.0056236619949340825, | |
0.005644941806793213, | |
0.005646542072296142, | |
0.005636462211608887, | |
0.005612942218780517, | |
0.00565054178237915, | |
0.005636782169342041, | |
0.005678701877593994, | |
0.005647021770477295, | |
0.00563742208480835, | |
0.005645421981811524, | |
0.005629261970520019, | |
0.0056543822288513184, | |
0.006290060043334961, | |
0.006367178916931152, | |
0.0059737410545349125, | |
0.005941421031951904, | |
0.005859661102294922, | |
0.006034861087799073, | |
0.0058268609046936036, | |
0.005902060985565186, | |
0.005737261772155762, | |
0.005638862133026123, | |
0.005615501880645752, | |
0.005947821140289307, | |
0.006339179992675781, | |
0.006369739055633545, | |
0.006367499828338623, | |
0.006413578987121582, | |
0.006348458766937256, | |
0.0063457398414611815, | |
0.0063506999015808105, | |
0.006348139762878418, | |
0.006263820171356202, | |
0.0063788599967956544, | |
0.006373419761657715, | |
0.00638238000869751, | |
0.006312620162963867 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 175.00730978733404 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |