IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
daa57cf verified
raw
history blame
13.1 kB
{
"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_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.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": 902.578176,
"max_global_vram": 689.512448,
"max_process_vram": 45626.494976,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.61480908203125,
"mean": 7.61480908203125,
"stdev": 0.0,
"p50": 7.61480908203125,
"p90": 7.61480908203125,
"p95": 7.61480908203125,
"p99": 7.61480908203125,
"values": [
7.61480908203125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1073.553408,
"max_global_vram": 777.752576,
"max_process_vram": 154009.198592,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 169,
"total": 0.9955644469261171,
"mean": 0.005890913887136787,
"stdev": 0.0003021122709308703,
"p50": 0.005744146823883057,
"p90": 0.00641316900253296,
"p95": 0.0065424490928649905,
"p99": 0.006694468097686767,
"values": [
0.006750064849853516,
0.006456944942474365,
0.0065166249275207516,
0.0065827050209045414,
0.00650030517578125,
0.006290544986724853,
0.006295025825500488,
0.006295664787292481,
0.006361425876617432,
0.006321266174316407,
0.006184465885162353,
0.006208466053009033,
0.006625585079193115,
0.006647824764251709,
0.006474864959716797,
0.006542705059051514,
0.006534385204315186,
0.006397264957427979,
0.006573265075683594,
0.006402225017547608,
0.006363346099853516,
0.006469425201416016,
0.00618846607208252,
0.006134225845336914,
0.0061715059280395505,
0.006210226058959961,
0.006201265811920166,
0.006219504833221435,
0.0074724631309509276,
0.006333586215972901,
0.005754065990447998,
0.005772467136383057,
0.0057609472274780275,
0.005746547222137451,
0.005738546848297119,
0.005737425804138184,
0.0057737469673156735,
0.005744146823883057,
0.005751186847686767,
0.0057211070060729985,
0.005747827053070068,
0.005743667125701905,
0.005744787216186523,
0.0057310271263122554,
0.005727986812591553,
0.005728785991668701,
0.0057236671447753905,
0.005725747108459473,
0.005721267223358154,
0.00574558687210083,
0.005732147216796875,
0.0057180671691894535,
0.005710227012634277,
0.005739346981048584,
0.005719666957855225,
0.005741587162017822,
0.005740467071533203,
0.005723826885223389,
0.0057395071983337405,
0.005716466903686523,
0.005739346981048584,
0.0057191867828369145,
0.005740787029266357,
0.0057187070846557615,
0.005739827156066895,
0.005736946105957031,
0.005727346897125244,
0.005748307228088379,
0.005766706943511963,
0.005755987167358399,
0.005736307144165039,
0.005751986980438232,
0.0057395071983337405,
0.005731186866760254,
0.0057180671691894535,
0.00571662712097168,
0.006003826141357422,
0.005747346878051758,
0.005742386817932129,
0.005746545791625976,
0.005768627166748047,
0.0057590270042419435,
0.005748147010803222,
0.005761267185211182,
0.005757586002349853,
0.005726867198944092,
0.005735346794128418,
0.005732306957244873,
0.005731667041778564,
0.005732306957244873,
0.0057089471817016605,
0.005741267204284668,
0.005739027023315429,
0.005726226806640625,
0.005740946769714356,
0.0057327871322631835,
0.0057425470352172854,
0.005739666938781738,
0.00573518705368042,
0.005731986999511719,
0.005723987102508545,
0.005731506824493408,
0.005712147235870361,
0.005737905979156494,
0.005737267017364502,
0.005738387107849121,
0.0057327871322631835,
0.005731986999511719,
0.005732145786285401,
0.005754547119140625,
0.005761587142944336,
0.005726387023925781,
0.005747026920318603,
0.005734547138214112,
0.005716466903686523,
0.005714066982269287,
0.005739986896514893,
0.005745906829833985,
0.0057401471138000485,
0.005742066860198974,
0.0057299060821533205,
0.005726706981658935,
0.005724466800689697,
0.005739027023315429,
0.0057191867828369145,
0.005731667041778564,
0.005747986793518066,
0.005735667228698731,
0.005743506908416748,
0.005725747108459473,
0.005752787113189697,
0.005765906810760498,
0.005736626148223877,
0.005720946788787842,
0.0057211070060729985,
0.005740467071533203,
0.005731186866760254,
0.005749587059020996,
0.005742546081542969,
0.0057683072090148925,
0.005744307041168213,
0.005747986793518066,
0.00575806713104248,
0.00576158618927002,
0.005788947105407715,
0.005739986896514893,
0.005738387107849121,
0.005730066776275635,
0.0057494258880615235,
0.005730546951293945,
0.005758866786956787,
0.005730707168579102,
0.005749267101287842,
0.0057542271614074705,
0.005747507095336914,
0.00577774715423584,
0.00575758695602417,
0.005782386779785156,
0.0057580661773681645,
0.005748947143554687,
0.005780786991119385,
0.0066683049201965335,
0.006554543972015381,
0.006542065143585205,
0.006469104766845703,
0.006133746147155761,
0.005984945774078369,
0.006121585845947266,
0.00613438606262207
]
},
"throughput": {
"unit": "samples/s",
"value": 169.75294821123907
},
"energy": null,
"efficiency": null
}
}
}