IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
d41932b verified
raw
history blame
13.5 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.4.0+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": "0",
"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": 1387.511808,
"max_global_vram": 11.32544,
"max_process_vram": 0.0,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.01272412109375,
"mean": 8.01272412109375,
"stdev": 0.0,
"p50": 8.01272412109375,
"p90": 8.01272412109375,
"p95": 8.01272412109375,
"p99": 8.01272412109375,
"values": [
8.01272412109375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1558.17984,
"max_global_vram": 11.087872,
"max_process_vram": 0.0,
"max_reserved": 406.847488,
"max_allocated": 354.740224
},
"latency": {
"unit": "s",
"count": 179,
"total": 0.9977669243812564,
"mean": 0.0055741168959846715,
"stdev": 0.00022066017770168943,
"p50": 0.005480142116546631,
"p90": 0.005863149070739746,
"p95": 0.006006253051757812,
"p99": 0.006342178306579589,
"values": [
0.005972140789031982,
0.005991180896759033,
0.005880940914154053,
0.005897581100463867,
0.005779501914978028,
0.005985101222991943,
0.005815180778503418,
0.005995501041412354,
0.005876461982727051,
0.00597918176651001,
0.005804302215576172,
0.00577006196975708,
0.005652462005615234,
0.005649581909179687,
0.005664782047271728,
0.00565054178237915,
0.00563198184967041,
0.0055974221229553225,
0.005544301986694336,
0.00552366304397583,
0.005551661968231201,
0.0055347027778625485,
0.005580301761627197,
0.005587821960449219,
0.005572621822357178,
0.005607343196868896,
0.0055561428070068355,
0.005546862125396728,
0.005571662902832031,
0.005574062824249267,
0.00556702184677124,
0.005528782844543457,
0.00551598310470581,
0.005494863033294678,
0.005484783172607422,
0.005516783237457275,
0.005477103233337402,
0.0055182228088378905,
0.0067998189926147465,
0.00585982084274292,
0.005471502780914307,
0.005459022998809814,
0.005482542991638184,
0.00544622278213501,
0.005469741821289062,
0.005449422836303711,
0.00545870304107666,
0.005444461822509765,
0.0054540629386901854,
0.005452302932739258,
0.005439661979675293,
0.005471662998199463,
0.0054700632095336914,
0.005474862098693848,
0.005468782901763916,
0.0054603018760681155,
0.005471023082733154,
0.005492463111877442,
0.005470382213592529,
0.005485262870788574,
0.005461741924285888,
0.005472302913665772,
0.005483663082122803,
0.005478222846984863,
0.005476303100585937,
0.005457262039184571,
0.005456303119659424,
0.005478862762451172,
0.005457742214202881,
0.005499342918395996,
0.005444141864776611,
0.005468623161315918,
0.005467342853546143,
0.005483022212982178,
0.005470383167266846,
0.005472941875457764,
0.005500302791595459,
0.005675022125244141,
0.005474702835083008,
0.005482062816619873,
0.005483023166656494,
0.005625102043151855,
0.005474542140960693,
0.005466702938079834,
0.0054774231910705564,
0.005479022979736328,
0.005475663185119629,
0.0054700617790222165,
0.00568222188949585,
0.005457423210144043,
0.005457423210144043,
0.0054486231803894045,
0.005498222827911377,
0.005481421947479248,
0.005437582969665527,
0.005463663101196289,
0.0054695820808410645,
0.005490703105926514,
0.005446543216705322,
0.00545054292678833,
0.005459342956542969,
0.005445901870727539,
0.005448462963104248,
0.005496942996978759,
0.005496141910552979,
0.005453103065490723,
0.00545918321609497,
0.00548494291305542,
0.005473903179168701,
0.005454381942749023,
0.0054699029922485355,
0.005481582164764404,
0.005437743186950683,
0.005459342956542969,
0.0054787020683288576,
0.0054633431434631344,
0.005471023082733154,
0.005451501846313477,
0.00545486307144165,
0.005460143089294434,
0.0054718232154846195,
0.0054870228767395016,
0.005471181869506836,
0.005456782817840576,
0.0054679827690124515,
0.005468461990356445,
0.0054894227981567385,
0.005501582145690918,
0.005489102840423584,
0.00546110200881958,
0.0054748630523681644,
0.00545486307144165,
0.0054646220207214356,
0.005447662830352783,
0.005439183235168457,
0.005465261936187744,
0.005485902786254883,
0.005480142116546631,
0.005475983142852783,
0.005461583137512207,
0.005484782218933106,
0.0054627032279968265,
0.00545870304107666,
0.005494863033294678,
0.005476142883300781,
0.005459342002868652,
0.005482862949371338,
0.005454701900482178,
0.005497902870178223,
0.005482862949371338,
0.005463023185729981,
0.0054633431434631344,
0.005451181888580322,
0.0054870228767395016,
0.005466702938079834,
0.005457101821899414,
0.00549582290649414,
0.005458221912384033,
0.005474382877349853,
0.005481422901153565,
0.0054564628601074215,
0.005488142967224121,
0.005488461971282959,
0.005657901763916015,
0.006248459815979004,
0.006230700969696045,
0.0065814189910888676,
0.006274700164794922,
0.006204939842224121,
0.0062577400207519535,
0.006237579822540283,
0.006103021144866943,
0.005843340873718262,
0.005850542068481446,
0.005719342231750488,
0.005897582054138184,
0.0056923022270202635,
0.005792941093444824,
0.0057767810821533205
]
},
"throughput": {
"unit": "samples/s",
"value": 179.400615139656
},
"energy": null,
"efficiency": null
}
}
}