IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
bc5856b verified
raw
history blame
12.4 kB
{
"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": 1037.238272,
"max_global_vram": 68702.69952,
"max_process_vram": 39561.818112,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.196220703125,
"mean": 8.196220703125,
"stdev": 0.0,
"p50": 8.196220703125,
"p90": 8.196220703125,
"p95": 8.196220703125,
"p99": 8.196220703125,
"values": [
8.196220703125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1209.131008,
"max_global_vram": 68702.69952,
"max_process_vram": 155416.7808,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 155,
"total": 0.994920657634735,
"mean": 0.006418842952482162,
"stdev": 0.0011318502134215155,
"p50": 0.006535213947296142,
"p90": 0.006600557804107666,
"p95": 0.006619230079650878,
"p99": 0.008193902053833033,
"values": [
0.00637889289855957,
0.006334894180297852,
0.00656097412109375,
0.006599693775177002,
0.0065937738418579105,
0.006573133945465088,
0.018822919845581054,
0.004027369022369384,
0.004013768196105957,
0.00401072883605957,
0.004129289150238037,
0.006385612964630127,
0.00662977409362793,
0.006319694042205811,
0.006093293190002441,
0.006324812889099121,
0.0066617741584777835,
0.006628973960876465,
0.006608973979949951,
0.0066011338233947755,
0.006576173782348633,
0.00642289400100708,
0.006017932891845703,
0.0060312128067016605,
0.009865140914916993,
0.006770254135131836,
0.006544814109802246,
0.006516334056854248,
0.006521453857421875,
0.0065475330352783205,
0.006548333168029785,
0.00656705379486084,
0.006543533802032471,
0.006548813819885254,
0.006550734043121338,
0.006535213947296142,
0.006540654182434082,
0.006580334186553955,
0.006532333850860596,
0.006538733959197998,
0.006520974159240723,
0.00655137300491333,
0.0065456128120422365,
0.006517134189605713,
0.006533614158630371,
0.006564973831176758,
0.006531693935394287,
0.006562893867492676,
0.006545773983001709,
0.006526413917541504,
0.006561614036560058,
0.006566253185272217,
0.00656769323348999,
0.006571212768554688,
0.006598894119262695,
0.006577134132385254,
0.006553773880004883,
0.006664813995361328,
0.006570093154907227,
0.006596494197845459,
0.006595213890075683,
0.0066102538108825685,
0.006592173099517823,
0.006613293170928955,
0.0065291328430175785,
0.006593614101409912,
0.006582573890686035,
0.006547853946685791,
0.006561933994293213,
0.006507053852081299,
0.006375214099884033,
0.006455533027648926,
0.006041933059692383,
0.006234892845153809,
0.005974732875823975,
0.006167532920837403,
0.005977773189544678,
0.006137133121490479,
0.005971372127532959,
0.0059721717834472655,
0.006100653171539306,
0.006151052951812744,
0.006068492889404297,
0.00601649284362793,
0.006048172950744629,
0.00601121187210083,
0.006028172016143799,
0.006009293079376221,
0.006016653060913086,
0.00599073314666748,
0.005999852180480957,
0.005989452838897705,
0.006016013145446778,
0.005973291873931885,
0.006022892951965332,
0.00600881290435791,
0.006042092800140381,
0.006007692813873291,
0.005859052181243897,
0.005845292091369629,
0.005897132873535156,
0.005849132061004639,
0.005893133163452149,
0.006031532764434814,
0.006071372985839844,
0.006025291919708252,
0.006025611877441406,
0.005992173194885254,
0.00600881290435791,
0.005985291957855224,
0.006124492168426514,
0.005990252017974853,
0.00663793420791626,
0.0062996940612792965,
0.006439692974090576,
0.006444334030151367,
0.006608654022216797,
0.006217772960662842,
0.005984013080596924,
0.005989293098449707,
0.005968331813812256,
0.0063753738403320315,
0.006202413082122803,
0.006032493114471436,
0.006491534233093262,
0.006561453819274902,
0.006570733070373535,
0.006558413028717041,
0.006553294181823731,
0.0065246539115905765,
0.006553773880004883,
0.0065393738746643065,
0.0065870537757873535,
0.006581774234771728,
0.0065785741806030276,
0.006604174137115479,
0.006601774215698243,
0.006588493824005127,
0.00659489393234253,
0.00656481409072876,
0.0065937738418579105,
0.0065841741561889645,
0.006592974185943603,
0.0065859341621398925,
0.006590573787689209,
0.006594733238220215,
0.006570734024047851,
0.006577613830566406,
0.006554893970489502,
0.006544333934783935,
0.006578094005584717,
0.006573133945465088,
0.006571212768554688,
0.006615054130554199,
0.006570253849029541
]
},
"throughput": {
"unit": "samples/s",
"value": 155.79131743880737
},
"energy": null,
"efficiency": null
}
}
}