IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
b7e7fdc verified
raw
history blame
12.4 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.4.1+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": "5",
"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]",
"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.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"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": 1387.536384,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.02431298828125,
"mean": 8.02431298828125,
"stdev": 0.0,
"p50": 8.02431298828125,
"p90": 8.02431298828125,
"p95": 8.02431298828125,
"p99": 8.02431298828125,
"values": [
8.02431298828125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1558.675456,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 406.847488,
"max_allocated": 354.740224
},
"latency": {
"unit": "s",
"count": 153,
"total": 0.9979494881629944,
"mean": 0.006522545674267937,
"stdev": 0.0009864829171068081,
"p50": 0.006448136806488037,
"p90": 0.006727944946289062,
"p95": 0.006806792068481445,
"p99": 0.007236141052246087,
"values": [
0.006574216842651367,
0.0065482969284057614,
0.0066282968521118165,
0.006655817031860352,
0.006664936065673828,
0.006657257080078125,
0.006729735851287842,
0.006617577075958252,
0.006609257221221924,
0.006619337081909179,
0.006582696914672851,
0.006510217189788819,
0.006494536876678467,
0.006524456977844238,
0.006500617980957031,
0.00647501802444458,
0.006463976860046386,
0.0064105381965637205,
0.00642397689819336,
0.006421897888183594,
0.006464296817779541,
0.006456937789916992,
0.006447018146514893,
0.006449737071990967,
0.006477258205413818,
0.006429256916046143,
0.006483656883239746,
0.0063958182334899905,
0.006386218070983887,
0.006426057815551758,
0.006376458168029785,
0.006385577201843262,
0.006378538131713867,
0.006397898197174072,
0.006505736827850342,
0.006443976879119873,
0.006484777927398682,
0.0064348578453063965,
0.006456936836242676,
0.006483498096466064,
0.006417417049407959,
0.006405258178710937,
0.006396296977996826,
0.006366218090057373,
0.0063994979858398434,
0.006404778003692627,
0.006409257888793945,
0.006448136806488037,
0.006370378017425537,
0.006368136882781982,
0.006398538112640381,
0.006445257186889648,
0.006522697925567627,
0.0066566171646118165,
0.0067140569686889645,
0.00672429609298706,
0.006603177070617676,
0.006503656864166259,
0.006529097080230713,
0.006614696979522705,
0.006696456909179687,
0.00662749719619751,
0.006546057224273681,
0.006540297985076904,
0.00653565788269043,
0.006485578060150147,
0.006465577125549317,
0.006494536876678467,
0.006466057777404785,
0.006738535881042481,
0.0067158169746398926,
0.00659309720993042,
0.0065948572158813475,
0.006513257026672364,
0.006493257999420166,
0.006506697177886963,
0.006497257232666016,
0.006821576118469238,
0.0065569372177124025,
0.0067865362167358395,
0.006929096221923828,
0.0069031758308410645,
0.00695213508605957,
0.006932616233825684,
0.0067606158256530765,
0.006725896835327148,
0.006758377075195312,
0.006720776081085205,
0.006605416774749756,
0.006728456974029541,
0.006717896938323974,
0.006769415855407715,
0.006924776077270508,
0.00679693603515625,
0.007543814182281494,
0.006578376770019531,
0.006371656894683838,
0.006348298072814941,
0.006343177795410156,
0.006340457916259766,
0.006331977844238282,
0.006351337909698486,
0.006357577800750733,
0.006330858230590821,
0.006348137855529785,
0.006315659046173096,
0.006353737831115723,
0.006319337844848632,
0.00632925796508789,
0.00635549783706665,
0.006330058097839355,
0.006338697910308838,
0.006347817897796631,
0.006377257823944092,
0.006383976936340332,
0.0063444581031799315,
0.006380137920379639,
0.006335018157958984,
0.006361258029937744,
0.0063511781692504885,
0.006367817878723144,
0.006348618030548096,
0.006366057872772217,
0.006515176773071289,
0.0064746980667114255,
0.006354698181152344,
0.006345417976379395,
0.0063370981216430665,
0.017906497955322266,
0.004616943836212159,
0.004631663799285889,
0.004619823932647705,
0.004610703945159912,
0.006088298797607422,
0.006348137855529785,
0.006384138107299805,
0.0064391779899597166,
0.006364458084106446,
0.00632493782043457,
0.00632269811630249,
0.00634941816329956,
0.006346538066864014,
0.006640457153320313,
0.006342217922210693,
0.006345258235931396,
0.0063254179954528806,
0.006352297782897949,
0.006370538234710693,
0.006343977928161621,
0.006589256763458252,
0.0063529372215271,
0.006427338123321533,
0.006451978206634522
]
},
"throughput": {
"unit": "samples/s",
"value": 153.31437293648938
},
"energy": null,
"efficiency": null
}
}
}