IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
bfdeb30 verified
raw
history blame
12.2 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": "4",
"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.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": 1027.895296,
"max_global_vram": 691.064832,
"max_process_vram": 44012.957696,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.71839892578125,
"mean": 7.71839892578125,
"stdev": 0.0,
"p50": 7.71839892578125,
"p90": 7.71839892578125,
"p95": 7.71839892578125,
"p99": 7.71839892578125,
"values": [
7.71839892578125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1200.08704,
"max_global_vram": 779.259904,
"max_process_vram": 172436.516864,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 148,
"total": 0.9992548928260806,
"mean": 0.006751722248824867,
"stdev": 0.0003732253822001072,
"p50": 0.0066807780265808105,
"p90": 0.0072113040447235105,
"p95": 0.00727659158706665,
"p99": 0.0074257651901245125,
"values": [
0.007183176040649414,
0.007148295879364014,
0.007271494865417481,
0.007368295192718506,
0.007472614765167237,
0.007372934818267823,
0.007296616077423095,
0.007313096046447754,
0.00733373498916626,
0.0072793359756469726,
0.00725437593460083,
0.007244296073913574,
0.007203015804290771,
0.007174056053161621,
0.007136295795440674,
0.0071278162002563475,
0.007189896106719971,
0.007161575794219971,
0.007182536125183106,
0.007197896003723145,
0.007215335845947266,
0.0072428550720214846,
0.007187496185302735,
0.007219655990600586,
0.007148935794830323,
0.006986055850982666,
0.00667805814743042,
0.006984457015991211,
0.006894856929779053,
0.008375492095947266,
0.00720957612991333,
0.006975656986236573,
0.006952455997467041,
0.006978376865386963,
0.006958856105804444,
0.006921417236328125,
0.006714696884155273,
0.006722537994384765,
0.006628616809844971,
0.006540137767791748,
0.006298859119415284,
0.006334699153900146,
0.006377898216247559,
0.006589258193969726,
0.0063924589157104495,
0.006356458187103272,
0.006433419227600098,
0.006367497920989991,
0.006337099075317383,
0.006383498191833496,
0.006355659008026123,
0.0063873381614685054,
0.00641533899307251,
0.006386857986450195,
0.006442859172821045,
0.006376459121704102,
0.006473897933959961,
0.006354379177093506,
0.006219658851623535,
0.006244779109954834,
0.006275498867034912,
0.006215818881988525,
0.006450218200683594,
0.006262059211730957,
0.006478697776794434,
0.0062946991920471195,
0.006259499073028564,
0.00627069902420044,
0.006268778800964356,
0.006293738842010498,
0.006249258995056153,
0.0062572588920593265,
0.006317578792572022,
0.006579658031463623,
0.006587337970733642,
0.006671338081359863,
0.006637417793273926,
0.006482858180999756,
0.0062810988426208495,
0.006273579120635986,
0.006229100227355957,
0.0065086188316345215,
0.00625678014755249,
0.00625101900100708,
0.006390539169311524,
0.006598378181457519,
0.006478377819061279,
0.0068490967750549315,
0.006539497852325439,
0.006344778060913086,
0.006683497905731201,
0.006590057849884033,
0.006367338180541992,
0.006445097923278809,
0.006508938789367676,
0.006665098190307617,
0.006676777839660645,
0.006791818141937256,
0.00658909797668457,
0.0069274969100952145,
0.006617258071899414,
0.00662509822845459,
0.006724298000335693,
0.00677597713470459,
0.006578857898712158,
0.006761737823486328,
0.0066284570693969725,
0.006570377826690674,
0.0064322991371154785,
0.006357738971710205,
0.006412138938903808,
0.00639133882522583,
0.006447817802429199,
0.0063894190788269046,
0.006471337795257569,
0.006402698040008545,
0.006471339225769043,
0.007078056812286377,
0.007044936180114746,
0.007021416187286377,
0.006979337215423584,
0.007029575824737549,
0.007035016059875488,
0.00699981689453125,
0.006978055953979492,
0.006981576919555664,
0.007225255012512207,
0.007182856082916259,
0.007023016929626465,
0.007070696830749511,
0.0069943761825561526,
0.0070615758895874025,
0.007030056953430176,
0.007006855964660644,
0.006987977027893067,
0.006988136768341064,
0.00702077579498291,
0.006958376884460449,
0.0069857358932495115,
0.006999337196350098,
0.006991335868835449,
0.0069610967636108394,
0.006973735809326172,
0.0069625358581542965,
0.0069930958747863765,
0.006952776908874512,
0.006989736080169678,
0.006615818023681641
]
},
"throughput": {
"unit": "samples/s",
"value": 148.11035809034493
},
"energy": null,
"efficiency": null
}
}
}