IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
e0a11e0 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",
"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": {},
"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.1",
"optimum_benchmark_commit": "4f83ff1670dec8f273c8beb893e9243ca1209582",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1066.92608,
"max_global_vram": 777.723904,
"max_process_vram": 196942.21312,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 144,
"total": 0.998993665218353,
"mean": 0.006937456008460787,
"stdev": 0.00034457258912188275,
"p50": 0.006877906560897828,
"p90": 0.007012849712371826,
"p95": 0.007084482073783874,
"p99": 0.008308542881011962,
"values": [
0.00682654619216919,
0.006979825973510742,
0.0070375862121582035,
0.006971025943756103,
0.006999825954437256,
0.007018545150756836,
0.007013906002044678,
0.006973745822906494,
0.007019025802612305,
0.006925906181335449,
0.007225265026092529,
0.010354378700256347,
0.007067825794219971,
0.00679918622970581,
0.0068919858932495115,
0.006861266136169434,
0.006805905818939209,
0.006848627090454101,
0.006809906959533691,
0.006850066184997558,
0.006817746162414551,
0.006873106002807617,
0.006861266136169434,
0.0068345460891723634,
0.006763186931610108,
0.006827826976776123,
0.006881105899810791,
0.006790065765380859,
0.006846385955810547,
0.006872786045074463,
0.0068345460891723634,
0.006808146953582763,
0.0068092670440673825,
0.006816946029663086,
0.006814385890960693,
0.006835186004638672,
0.006805905818939209,
0.006794066905975342,
0.006815025806427002,
0.006847986221313477,
0.0068222260475158695,
0.00698158597946167,
0.006839025974273682,
0.006840466022491455,
0.00684126615524292,
0.006847186088562012,
0.006975825786590576,
0.006833745956420899,
0.006881425857543946,
0.006852945804595947,
0.006953586101531983,
0.006879985809326172,
0.006844466209411621,
0.0069011058807373045,
0.0068710269927978514,
0.006880627155303955,
0.006895346164703369,
0.007252144813537598,
0.007006706237792969,
0.006944305896759033,
0.006920306205749511,
0.006876306056976318,
0.006894065856933594,
0.0068865461349487305,
0.006875185966491699,
0.006944305896759033,
0.006878066062927246,
0.006935505867004394,
0.0069548659324646,
0.006981265068054199,
0.006900306224822998,
0.006848307132720948,
0.006890066146850586,
0.006885426044464111,
0.006896306037902832,
0.006856785774230957,
0.006933745861053467,
0.006881425857543946,
0.006965586185455322,
0.006899186134338379,
0.006904305934906006,
0.00692702579498291,
0.006944786071777344,
0.006947825908660889,
0.006898866176605224,
0.006901586055755615,
0.0068747072219848635,
0.006843826770782471,
0.0068863859176635745,
0.006864945888519287,
0.0069100661277771,
0.006881266117095947,
0.007021426200866699,
0.0068388662338256835,
0.0068791861534118655,
0.006867186069488525,
0.007078226089477539,
0.0069155068397521976,
0.006883986949920654,
0.006881267070770264,
0.006899025917053223,
0.007010385036468506,
0.006875825881958008,
0.0068777470588684084,
0.006919186115264892,
0.008387662887573243,
0.008203662872314454,
0.007406225204467773,
0.007392624855041504,
0.007085586071014404,
0.00689262580871582,
0.006885265827178955,
0.006943026065826416,
0.00698206615447998,
0.006969265937805176,
0.006861745834350586,
0.006822546005249023,
0.0068087859153747555,
0.0068326258659362794,
0.0069151859283447265,
0.0069879860877990726,
0.006785586833953857,
0.006811666965484619,
0.006838706016540528,
0.006814385890960693,
0.006847506046295166,
0.006845106124877929,
0.006823666095733642,
0.006867667198181152,
0.0068214268684387205,
0.006831026077270508,
0.0069628658294677735,
0.006853745937347412,
0.0068723058700561526,
0.006839826107025147,
0.0067262258529663084,
0.006766705989837646,
0.006788785934448242,
0.006811826229095459,
0.006749266147613525,
0.006783987045288086,
0.006795825958251953,
0.0067892661094665525,
0.0067775859832763675
]
},
"throughput": {
"unit": "samples/s",
"value": 144.1450581856547
},
"energy": null,
"efficiency": null
}
}
}