IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
e4a179c verified
raw
history blame
11.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 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": "3f7b9d2c002cca7024cac52f3c7535f2a03b7b03",
"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.834432,
"max_global_vram": 689.360896,
"max_process_vram": 50795.241472,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 10.01171875,
"mean": 10.01171875,
"stdev": 0.0,
"p50": 10.01171875,
"p90": 10.01171875,
"p95": 10.01171875,
"p99": 10.01171875,
"values": [
10.01171875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1068.883968,
"max_global_vram": 777.66656,
"max_process_vram": 191283.69152,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 148,
"total": 0.9942487244606021,
"mean": 0.006717896786895957,
"stdev": 0.0001901688783591533,
"p50": 0.006702933311462402,
"p90": 0.0068653329372406,
"p95": 0.0068928609848022465,
"p99": 0.006940984282493592,
"values": [
0.00686413288116455,
0.0067671737670898435,
0.006813094139099121,
0.006893252849578858,
0.00680301284790039,
0.006905572891235352,
0.006928772926330567,
0.006892133235931397,
0.006834372997283935,
0.006828453063964844,
0.006802213191986084,
0.006883012771606445,
0.006843973159790039,
0.00683085298538208,
0.006819172859191895,
0.006831812858581543,
0.006857253074645996,
0.0068255729675292965,
0.006802052974700928,
0.006804933071136474,
0.006605894088745117,
0.006905891895294189,
0.006844132900238037,
0.006875973224639892,
0.006831013202667237,
0.00688109302520752,
0.006893892765045166,
0.006951813220977783,
0.006798373222351074,
0.006870052814483643,
0.006859333038330078,
0.00688109302520752,
0.00679597282409668,
0.006899652957916259,
0.006441413879394531,
0.0067524538040161135,
0.006746852874755859,
0.006680294036865235,
0.006733734130859375,
0.006668134212493897,
0.0065855741500854496,
0.006581093788146973,
0.006597414016723633,
0.006625894069671631,
0.0066266942024230955,
0.006614213943481446,
0.006647173881530762,
0.006589734077453614,
0.006630534172058105,
0.006685733795166016,
0.006676773071289063,
0.006706374168395996,
0.006658693790435791,
0.006658214092254639,
0.0066858940124511716,
0.006659012794494629,
0.006678373813629151,
0.006649573802947998,
0.006644454002380371,
0.006627654075622559,
0.006615334033966065,
0.006647334098815918,
0.006662854194641113,
0.00664893388748169,
0.006713092803955078,
0.0067257342338562015,
0.006613093852996826,
0.006671333789825439,
0.006683653831481934,
0.006681892871856689,
0.006685413837432861,
0.006669252872467041,
0.006702054023742676,
0.006688132762908936,
0.006723974227905273,
0.006659014225006104,
0.00835148811340332,
0.006749413967132569,
0.0068108530044555665,
0.006758693218231201,
0.006713573932647705,
0.00675805377960205,
0.006767013072967529,
0.00671293306350708,
0.006756773948669434,
0.006766213893890381,
0.006769093036651611,
0.006703333854675293,
0.006710854053497315,
0.00674573278427124,
0.0067404541969299315,
0.006715653896331787,
0.006728133201599121,
0.006698214054107666,
0.006767492771148681,
0.0067681331634521485,
0.006683653831481934,
0.006812452793121338,
0.006742533206939697,
0.006791012763977051,
0.006696293830871582,
0.00675501298904419,
0.006868133068084717,
0.0067025327682495115,
0.006628133773803711,
0.006748613834381104,
0.006649733066558838,
0.006709574222564697,
0.006692933082580566,
0.00671005392074585,
0.006682693004608154,
0.0066858940124511716,
0.0066946930885314945,
0.006675174236297607,
0.006696932792663575,
0.0067257342338562015,
0.00667805290222168,
0.0066858940124511716,
0.006716932773590088,
0.006691813945770264,
0.00673965311050415,
0.006709894180297851,
0.006763333797454834,
0.006688612937927246,
0.00669853401184082,
0.0066934127807617184,
0.0067097339630126955,
0.006672132968902588,
0.006763493061065674,
0.006687973976135254,
0.006638373851776123,
0.0066617331504821775,
0.006650373935699463,
0.006684453964233399,
0.006686054229736328,
0.006668293952941894,
0.006644612789154053,
0.00665165376663208,
0.006687493801116944,
0.006667334079742432,
0.006420454978942871,
0.0061812539100646975,
0.006470855236053467,
0.006355975151062012,
0.006248295783996582,
0.005885097026824951,
0.006430534839630127,
0.006504454135894775
]
},
"throughput": {
"unit": "samples/s",
"value": 148.8561125188194
},
"energy": null,
"efficiency": null
}
}
}