IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
855ac95 verified
raw
history blame
12 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": "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.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "9337b863a5d9e4991ca83847e6c2f66a543b52d9",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.58048,
"max_global_vram": 689.369088,
"max_process_vram": 48024.526848,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.4821455078125,
"mean": 7.4821455078125,
"stdev": 0.0,
"p50": 7.4821455078125,
"p90": 7.4821455078125,
"p95": 7.4821455078125,
"p99": 7.4821455078125,
"values": [
7.4821455078125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1068.904448,
"max_global_vram": 777.076736,
"max_process_vram": 165655.896064,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 154,
"total": 0.9948502702713011,
"mean": 0.006460066690073384,
"stdev": 0.00024480604715280344,
"p50": 0.00635286283493042,
"p90": 0.0067551019191741946,
"p95": 0.0068609576702117914,
"p99": 0.00742425479888916,
"values": [
0.006815021991729737,
0.006704942226409912,
0.006816461086273194,
0.006871981143951416,
0.006962380886077881,
0.00689182186126709,
0.006826220989227295,
0.006877261161804199,
0.006855021953582763,
0.006683821201324463,
0.006668141841888428,
0.006608141899108887,
0.006562702178955078,
0.006547983169555664,
0.0065294218063354495,
0.006531501770019531,
0.0065099020004272465,
0.006478063106536865,
0.006438541889190674,
0.006523502826690674,
0.006561583042144776,
0.006618381977081299,
0.00647918176651001,
0.0064910221099853515,
0.006481583118438721,
0.006493102073669434,
0.006462862968444824,
0.006492463111877442,
0.006584142208099365,
0.006666701793670654,
0.007924617767333985,
0.006474223136901856,
0.006288622856140137,
0.006231184005737305,
0.006285103797912597,
0.006280142784118653,
0.00633214282989502,
0.006354863166809082,
0.00633262300491333,
0.006270543098449707,
0.0062619028091430665,
0.006277583122253418,
0.006258382797241211,
0.006250382900238037,
0.006310702800750733,
0.006269903182983399,
0.00627806282043457,
0.006299983024597168,
0.006303822994232178,
0.006323503017425537,
0.006364462852478027,
0.006329263210296631,
0.00633646297454834,
0.006344462871551514,
0.006333743095397949,
0.006368622779846191,
0.006357742786407471,
0.006338062763214111,
0.006371983051300049,
0.006362543106079101,
0.006338542938232422,
0.006493581771850586,
0.0063115029335021975,
0.006364782810211181,
0.006333261966705322,
0.006334543228149414,
0.0062900629043579105,
0.006371023178100586,
0.006366862773895264,
0.006344142913818359,
0.006353262901306152,
0.0063524627685546875,
0.006378061771392822,
0.006326542854309082,
0.006320143222808838,
0.006349742889404297,
0.007795339107513428,
0.006395182132720947,
0.006360143184661865,
0.006345423221588134,
0.006369262218475342,
0.0062796630859375,
0.006305583000183105,
0.006269103050231934,
0.006295982837677002,
0.0062833428382873535,
0.006291343212127686,
0.006300942897796631,
0.006300783157348633,
0.006293743133544922,
0.006294063091278076,
0.006271822929382324,
0.006331663131713867,
0.006293423175811767,
0.006308143138885498,
0.006309742927551269,
0.0063067030906677245,
0.006328782081604004,
0.006267823219299316,
0.006269103050231934,
0.006305422782897949,
0.006270382881164551,
0.006274383068084716,
0.0062919831275939945,
0.006288622856140137,
0.00637134313583374,
0.006338383197784424,
0.006353902816772461,
0.006322862148284912,
0.006324782848358155,
0.006320942878723144,
0.006408782958984375,
0.007095180034637451,
0.006650862216949463,
0.006465423107147217,
0.006614061832427978,
0.006598542213439942,
0.006610861778259277,
0.006698381900787353,
0.007031980991363525,
0.006621263027191162,
0.006778381824493408,
0.006685582160949707,
0.006635662078857422,
0.0065406222343444825,
0.0067467021942138675,
0.006623022079467774,
0.00659374189376831,
0.006758701801300049,
0.00668494176864624,
0.006614381790161133,
0.006787821769714355,
0.006759342193603516,
0.006557581901550293,
0.0067307019233703615,
0.006476943016052246,
0.0063140630722045895,
0.006403662204742431,
0.006364462852478027,
0.006337742805480957,
0.006340942859649658,
0.006323342800140381,
0.006323983192443847,
0.006302863121032715,
0.006331502914428711,
0.006327823162078857,
0.006334222793579101,
0.0063439831733703616,
0.006308783054351807,
0.00629390287399292,
0.00632350206375122,
0.006328621864318848,
0.006325902938842773,
0.006343342781066894
]
},
"throughput": {
"unit": "samples/s",
"value": 154.79716355507784
},
"energy": null,
"efficiency": null
}
}
}