IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
7afaa81 verified
raw
history blame
10.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",
"model": "google/vit-base-patch16-224",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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",
"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.2.0",
"optimum_benchmark_commit": "8ef7b0420a1d5aa903d786290f7ab247769da879",
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1062.797312,
"max_global_vram": 778.461184,
"max_process_vram": 199091.044352,
"max_reserved": 406.847488,
"max_allocated": 355.912704
},
"latency": {
"unit": "s",
"count": 146,
"total": 0.9963032236099237,
"mean": 0.0068239946822597555,
"stdev": 0.00010954068174070916,
"p50": 0.006789714574813843,
"p90": 0.006977392911911011,
"p95": 0.007051152944564819,
"p99": 0.007120656108856201,
"values": [
0.006931794166564941,
0.0069481139183044435,
0.006931313991546631,
0.006874833106994629,
0.007025232791900635,
0.007093072891235352,
0.007119952201843261,
0.007121232032775879,
0.007114672183990479,
0.00711355209350586,
0.007361549854278565,
0.007085552215576172,
0.0070226731300354,
0.007030192852020264,
0.006969552993774414,
0.0070458722114562986,
0.006977872848510742,
0.006933873176574707,
0.006834834098815918,
0.006862833976745606,
0.006886834144592285,
0.00688603401184082,
0.006842033863067627,
0.0068245940208435055,
0.006807154178619385,
0.006791793823242188,
0.0067628340721130374,
0.006750675201416015,
0.006736273765563965,
0.006752914905548095,
0.006712914943695069,
0.0067141947746276855,
0.0067137150764465334,
0.00671275520324707,
0.006755474090576172,
0.006726194858551025,
0.0067308349609375,
0.006768434047698974,
0.006813394069671631,
0.006768754005432129,
0.006728915214538575,
0.006745073795318603,
0.006763154983520508,
0.00671931505203247,
0.00678779411315918,
0.006774673938751221,
0.006729074954986572,
0.006739953994750977,
0.006795313835144043,
0.006745075225830078,
0.006786515235900879,
0.006782034873962403,
0.006867154121398926,
0.006742034912109375,
0.006750514984130859,
0.0068153138160705565,
0.006739153861999512,
0.006743155002593994,
0.006728115081787109,
0.006742195129394531,
0.006730354785919189,
0.0067233147621154786,
0.006700594902038574,
0.0067356348037719725,
0.006784755229949951,
0.006776275157928467,
0.0067039551734924315,
0.006718194961547851,
0.006722354888916015,
0.006721395015716553,
0.0067282748222351075,
0.006771474838256836,
0.006855632781982422,
0.006844113826751709,
0.006861393928527832,
0.006882353782653809,
0.00689227294921875,
0.006861713886260987,
0.006834993839263916,
0.006881393909454346,
0.0067890739440917966,
0.006802993774414063,
0.006842353820800781,
0.0068055539131164555,
0.006817234992980957,
0.006827474117279053,
0.006805233955383301,
0.006783314228057861,
0.006836433887481689,
0.006826673984527588,
0.0067298741340637205,
0.0067514748573303226,
0.00686203384399414,
0.0068380341529846195,
0.006756274223327636,
0.006797873973846435,
0.006796594142913818,
0.00677579402923584,
0.006724915027618408,
0.006722515106201172,
0.006750195026397705,
0.00673371410369873,
0.006733234882354736,
0.006769554138183594,
0.006675796031951904,
0.00679531478881836,
0.006786355018615723,
0.006851314067840576,
0.006795313835144043,
0.006780273914337158,
0.006785075187683106,
0.006798194885253906,
0.006784755229949951,
0.006790355205535888,
0.006872114181518555,
0.006894672870635986,
0.006861554145812988,
0.006984272956848145,
0.006905074119567871,
0.006957552909851074,
0.006909072875976563,
0.00697691297531128,
0.006891952991485596,
0.006827953815460205,
0.006767954826354981,
0.0067418751716613766,
0.006711635112762451,
0.0067399549484252926,
0.006778034210205078,
0.006744113922119141,
0.006746035099029541,
0.0068220338821411135,
0.006738035202026367,
0.0067559537887573245,
0.0067521147727966305,
0.006770995140075684,
0.00673979377746582,
0.006749235153198242,
0.0068495521545410155,
0.007052913188934327,
0.006978034019470215,
0.006933393955230713,
0.006899794101715088,
0.006784113883972168,
0.00682923412322998,
0.00680475378036499
]
},
"throughput": {
"unit": "samples/s",
"value": 146.54173201507413
},
"energy": null,
"efficiency": null
}
}
}