IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
359177b verified
raw
history blame
12.8 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 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"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": "16c37a2d0a7e1a726b6a2a50e2fbcf32df3b575c",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.813952,
"max_global_vram": 689.352704,
"max_process_vram": 43568.103424,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.70049365234375,
"mean": 6.70049365234375,
"stdev": 0.0,
"p50": 6.70049365234375,
"p90": 6.70049365234375,
"p95": 6.70049365234375,
"p99": 6.70049365234375,
"values": [
6.70049365234375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1068.883968,
"max_global_vram": 777.662464,
"max_process_vram": 166604.251136,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 171,
"total": 0.9963498573303224,
"mean": 0.005826607352808903,
"stdev": 0.00026928985774214714,
"p50": 0.005777758121490478,
"p90": 0.0059548778533935545,
"p95": 0.006035039186477661,
"p99": 0.006440557861328134,
"values": [
0.006042559146881104,
0.0060708789825439455,
0.006087197780609131,
0.006161758899688721,
0.006076958179473877,
0.005981439113616943,
0.006007998943328857,
0.005962878227233887,
0.005909278869628907,
0.005894399166107177,
0.005822558879852295,
0.005847037792205811,
0.005823198795318603,
0.005789759159088134,
0.0057201581001281735,
0.0056923189163208005,
0.005695038795471191,
0.005684799194335938,
0.005710718154907227,
0.005695838928222657,
0.005704319000244141,
0.0057185587882995605,
0.005720637798309326,
0.00569999885559082,
0.005722558975219726,
0.0057483181953430175,
0.005764958858489991,
0.005764159202575683,
0.005730878829956054,
0.005763197898864746,
0.005779038906097412,
0.005786398887634278,
0.0070044779777526855,
0.005718879222869873,
0.005987359046936035,
0.005786558151245117,
0.005764958858489991,
0.005769279003143311,
0.005791677951812744,
0.005780959129333496,
0.005719998836517334,
0.005807199001312256,
0.0057503981590271,
0.0057932791709899905,
0.005743359088897705,
0.0057481579780578615,
0.005781118869781494,
0.005778879165649414,
0.0057443189620971676,
0.005751038074493408,
0.005777598857879639,
0.0057681589126586915,
0.005758398056030274,
0.005739199161529541,
0.005769759178161621,
0.005754398822784424,
0.005772798061370849,
0.005750079154968262,
0.0057492790222167965,
0.0057559990882873535,
0.005766878128051758,
0.005749438762664795,
0.005755518913269043,
0.005735678195953369,
0.005794719219207763,
0.005757918834686279,
0.0057963190078735355,
0.005774238109588623,
0.0057419190406799315,
0.005775838851928711,
0.005779997825622558,
0.00574799919128418,
0.008913118362426758,
0.005900959014892578,
0.005773758888244629,
0.005779518127441406,
0.006012639045715332,
0.005810558795928955,
0.005800797939300537,
0.0058060789108276365,
0.005804638862609863,
0.005813438892364502,
0.005790237903594971,
0.005819999217987061,
0.005817439079284668,
0.005778557777404785,
0.005785278797149658,
0.00574207878112793,
0.005782399177551269,
0.005772158145904541,
0.005799519062042236,
0.005769759178161621,
0.005811997890472412,
0.005754718780517578,
0.005799678802490235,
0.005782399177551269,
0.0057951979637146,
0.005776638984680176,
0.005765919208526611,
0.005790398120880127,
0.005778079032897949,
0.005786239147186279,
0.005763998985290527,
0.005804317951202393,
0.005748798847198486,
0.0057865591049194335,
0.005776477813720703,
0.005778079032897949,
0.005797598838806152,
0.005751998901367188,
0.005793598175048828,
0.00577471923828125,
0.00578351879119873,
0.005746238231658936,
0.00578511905670166,
0.005769279003143311,
0.005783998966217041,
0.005782877922058106,
0.005764638900756836,
0.005769598960876465,
0.005777758121490478,
0.0057681589126586915,
0.006145598888397216,
0.0061988778114318846,
0.0059737591743469235,
0.006008159160614013,
0.0059548778533935545,
0.006027519226074219,
0.005819678783416748,
0.005888958930969238,
0.005860797882080078,
0.00582991886138916,
0.005839838981628418,
0.005841917991638183,
0.005825119018554687,
0.005851038932800293,
0.005884158134460449,
0.005877598762512207,
0.005885438919067383,
0.005783359050750733,
0.005815678119659424,
0.005759998798370362,
0.005747038841247559,
0.00573679780960083,
0.005816479206085205,
0.005747199058532715,
0.005756639003753662,
0.005748477935791016,
0.0057559990882873535,
0.005742719173431396,
0.005751358032226562,
0.0057417588233947756,
0.005741279125213623,
0.005762878894805908,
0.005746078014373779,
0.0057607989311218265,
0.0057419190406799315,
0.0057791991233825685,
0.005779518127441406,
0.00577695894241333,
0.0057705588340759275,
0.005779677867889404,
0.005758238792419434,
0.005747679233551025,
0.005761279106140137,
0.005732316970825196,
0.005764479160308838,
0.005727038860321045,
0.005834077835083008,
0.005816479206085205,
0.00575727891921997
]
},
"throughput": {
"unit": "samples/s",
"value": 171.62646106879296
},
"energy": null,
"efficiency": null
}
}
}