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
b15f233
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": 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]", | |
"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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1072.226304, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48121.352192, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.352650390625, | |
"mean": 8.352650390625, | |
"stdev": 0.0, | |
"p50": 8.352650390625, | |
"p90": 8.352650390625, | |
"p95": 8.352650390625, | |
"p99": 8.352650390625, | |
"values": [ | |
8.352650390625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1244.184576, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 184781.611008, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 156, | |
"total": 0.9949140486717223, | |
"mean": 0.006377654158152067, | |
"stdev": 0.0008437156485274924, | |
"p50": 0.0062691280841827395, | |
"p90": 0.00683520793914795, | |
"p95": 0.0068640481233596794, | |
"p99": 0.00806460239887235, | |
"values": [ | |
0.007089289188385009, | |
0.007024969100952148, | |
0.006817448139190674, | |
0.006845448970794678, | |
0.006715528011322022, | |
0.0065788888931274415, | |
0.006446087837219238, | |
0.006417448043823242, | |
0.006397928237915039, | |
0.006382728099822998, | |
0.006353608131408691, | |
0.006356808185577392, | |
0.006330887794494629, | |
0.00634496784210205, | |
0.009256651878356933, | |
0.00664736795425415, | |
0.006288008213043213, | |
0.006466567993164063, | |
0.0065480079650878905, | |
0.006448009014129639, | |
0.006531847953796387, | |
0.006560488224029541, | |
0.006408967971801758, | |
0.00662224817276001, | |
0.006556488037109375, | |
0.006468967914581299, | |
0.006594088077545166, | |
0.006470727920532227, | |
0.006472329139709473, | |
0.006558728218078613, | |
0.0063987278938293455, | |
0.006554887771606445, | |
0.006620489120483399, | |
0.006472328186035156, | |
0.0064531278610229495, | |
0.006507847785949707, | |
0.0061846480369567875, | |
0.006203527927398682, | |
0.006238887786865235, | |
0.006426087856292725, | |
0.006137127876281738, | |
0.006216007232666016, | |
0.006177127838134766, | |
0.006125288009643555, | |
0.006157127857208252, | |
0.0061702470779418945, | |
0.006358246803283691, | |
0.006243526935577393, | |
0.0062563281059265135, | |
0.006236328125, | |
0.006227208137512207, | |
0.006557767868041992, | |
0.006329127788543701, | |
0.006319367885589599, | |
0.006260968208312988, | |
0.006329127788543701, | |
0.006288487911224366, | |
0.006262248039245606, | |
0.006374728202819824, | |
0.006539368152618409, | |
0.006281767845153809, | |
0.006299367904663086, | |
0.006267848014831543, | |
0.006252168178558349, | |
0.006343048095703125, | |
0.006306248188018799, | |
0.015151538848876954, | |
0.004029125213623047, | |
0.004017284870147705, | |
0.004542244911193848, | |
0.006239847183227539, | |
0.0062256078720092775, | |
0.0063889679908752444, | |
0.0062704081535339354, | |
0.006213607788085937, | |
0.0063491277694702145, | |
0.006556327819824219, | |
0.006371208190917969, | |
0.0063038477897644045, | |
0.0062556881904602055, | |
0.0063320078849792485, | |
0.006293767929077148, | |
0.006097447872161865, | |
0.006096646785736084, | |
0.0060995278358459476, | |
0.006104648113250732, | |
0.006096967220306396, | |
0.006072487831115723, | |
0.00618944787979126, | |
0.006100168228149414, | |
0.00608864688873291, | |
0.0061068878173828126, | |
0.0060739278793334964, | |
0.006109286785125732, | |
0.006095848083496094, | |
0.006097928047180175, | |
0.006083847045898438, | |
0.006081287860870361, | |
0.006102248191833496, | |
0.00610064697265625, | |
0.006123847961425781, | |
0.006093448162078858, | |
0.006074087142944336, | |
0.006067048072814942, | |
0.0060281682014465335, | |
0.006078567981719971, | |
0.0060937671661376955, | |
0.006071688175201416, | |
0.006090888023376465, | |
0.0060944070816040035, | |
0.006102888107299804, | |
0.006099847793579102, | |
0.006101767063140869, | |
0.006115367889404297, | |
0.006104167938232422, | |
0.0060993671417236325, | |
0.006072487831115723, | |
0.006075367927551269, | |
0.006062407016754151, | |
0.006070727825164795, | |
0.006048007965087891, | |
0.006143046855926514, | |
0.006048647880554199, | |
0.0060928077697753906, | |
0.006060647010803223, | |
0.006084648132324219, | |
0.006082568168640137, | |
0.006091207027435303, | |
0.00606336784362793, | |
0.00609056806564331, | |
0.0060937671661376955, | |
0.006092167854309082, | |
0.006052328109741211, | |
0.0060777668952941896, | |
0.00603712797164917, | |
0.006103367805480957, | |
0.006938568115234375, | |
0.006845448970794678, | |
0.006846249103546143, | |
0.006824007987976074, | |
0.006860649108886719, | |
0.006836967945098877, | |
0.006862728118896484, | |
0.0068828887939453125, | |
0.006833447933197022, | |
0.006839529037475586, | |
0.006868008136749267, | |
0.006828167915344238, | |
0.006791368961334228, | |
0.006822247982025146, | |
0.00682944917678833, | |
0.006822089195251465, | |
0.006861608982086181, | |
0.006885448932647705, | |
0.006426248073577881, | |
0.006509768009185791 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 156.7974642716831 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |