IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
2a8ab2f verified
raw
history blame
11.6 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": "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": {},
"hub_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,
"latency": true,
"memory": 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.0",
"optimum_benchmark_commit": "2a75c0bc0d007cc875fa0f75ca41d02e46f917be",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1060.872192,
"max_global_vram": 777.728,
"max_process_vram": 153463.406592,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 163,
"total": 0.998515373229981,
"mean": 0.006125861185460002,
"stdev": 0.0003357281413220381,
"p50": 0.0060334310531616215,
"p90": 0.006361655139923096,
"p95": 0.006525286197662353,
"p99": 0.0067936832427978495,
"values": [
0.006447831153869629,
0.006037271022796631,
0.006185431003570557,
0.006247031211853027,
0.006023032188415527,
0.006043510913848877,
0.006058071136474609,
0.006065751075744629,
0.005992472171783447,
0.0059766311645507815,
0.005985911846160889,
0.00621087121963501,
0.005967511177062988,
0.0059609518051147465,
0.0059494318962097165,
0.0060009508132934574,
0.005967351913452148,
0.005993751049041748,
0.006008632183074951,
0.006030871868133545,
0.0060334310531616215,
0.005982552051544189,
0.005974230766296387,
0.006008471012115478,
0.00617823076248169,
0.005998072147369385,
0.006015191078186035,
0.006064470767974854,
0.006081431865692139,
0.0060195112228393554,
0.006036631107330322,
0.006025112152099609,
0.0060259108543396,
0.006006871223449707,
0.006023032188415527,
0.006022871017456055,
0.006029750823974609,
0.006011832237243653,
0.0060267109870910645,
0.00600399112701416,
0.0059793519973754886,
0.006153271198272705,
0.006234550952911377,
0.006221751213073731,
0.006120471000671387,
0.0061497511863708495,
0.006081911087036132,
0.006135032176971435,
0.0062339119911193844,
0.006151512145996094,
0.006082870960235596,
0.009599185943603516,
0.006445910930633545,
0.006530710220336914,
0.0058833518028259275,
0.006198231220245361,
0.006186390876770019,
0.005998551845550537,
0.0059387111663818356,
0.005957750797271728,
0.006029431819915772,
0.006023031234741211,
0.005933432102203369,
0.0064764699935913085,
0.006140790939331055,
0.006257270812988281,
0.006175831794738769,
0.006009592056274414,
0.006031671047210693,
0.006033271789550781,
0.006039991855621338,
0.006013111114501953,
0.006029751777648926,
0.0058731107711791995,
0.006434871196746826,
0.006164630889892578,
0.006047030925750732,
0.005929111957550049,
0.005956151008605957,
0.006231191158294677,
0.0061807909011840825,
0.006060311794281006,
0.006291511058807373,
0.006263670921325684,
0.006017271041870117,
0.006329111099243164,
0.006624470233917237,
0.006387990951538086,
0.006251670837402344,
0.006025111198425293,
0.006254870891571045,
0.006074872016906738,
0.006219830989837647,
0.0061001510620117185,
0.006168470859527588,
0.006165431022644043,
0.005947512149810791,
0.006217590808868408,
0.005976470947265625,
0.0058822321891784666,
0.006069750785827637,
0.0061619110107421875,
0.006099990844726563,
0.006264791011810302,
0.005997110843658447,
0.006271831035614014,
0.007020949840545654,
0.006132952213287354,
0.006299830913543701,
0.006067512035369873,
0.006283350944519043,
0.006157270908355713,
0.006331830978393555,
0.006633749961853027,
0.006654390811920166,
0.0066190299987792965,
0.006617910861968994,
0.006634230136871338,
0.006237751007080078,
0.006130550861358643,
0.006351030826568603,
0.006283191204071045,
0.006263191223144531,
0.006399671077728272,
0.006186070919036865,
0.006283831119537353,
0.006265591144561768,
0.006364311218261719,
0.006407031059265137,
0.0061350312232971195,
0.00630863094329834,
0.005972950935363769,
0.006007192134857178,
0.0059678320884704586,
0.005936951160430908,
0.005975031852722168,
0.006023190975189209,
0.005973112106323242,
0.005979990959167481,
0.005877592086791992,
0.005896152019500733,
0.005897751808166504,
0.0058731107711791995,
0.005903351783752442,
0.005923991203308106,
0.005885752201080322,
0.005895670890808106,
0.005897272109985352,
0.005883511066436768,
0.005880792140960694,
0.0059036707878112795,
0.005922071933746338,
0.005909270763397216,
0.0058991918563842775,
0.0058860712051391605,
0.005870711803436279,
0.005893111228942871,
0.005865911960601807,
0.005953590869903564,
0.005895192146301269,
0.005895191192626953,
0.00587663221359253,
0.005885430812835693
]
},
"throughput": {
"unit": "samples/s",
"value": 163.24235396870296
},
"energy": null,
"efficiency": null
}
}
}