IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
7e318dc verified
raw
history blame
10.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_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": "2a33a472f309c43b5bd16946ef9cec843d02f70a",
"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.893312,
"max_global_vram": 777.732096,
"max_process_vram": 168811.900928,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 140,
"total": 0.9931473388671872,
"mean": 0.007093909563337053,
"stdev": 0.0002825317597599359,
"p50": 0.0069524688720703125,
"p90": 0.007487443780899048,
"p95": 0.00758638687133789,
"p99": 0.007754737663269042,
"values": [
0.006986867904663086,
0.007202067852020264,
0.007300308227539062,
0.007486067771911621,
0.007471827983856201,
0.007585426807403564,
0.007541907787322998,
0.0074212679862976074,
0.0074823880195617675,
0.00742766809463501,
0.007604628086090088,
0.00723550796508789,
0.007166547775268555,
0.007168628215789795,
0.007125429153442383,
0.007089908123016357,
0.007049108028411865,
0.007023668766021728,
0.007138227939605713,
0.007167027950286865,
0.007110068798065186,
0.007114548206329346,
0.0070819082260131835,
0.007093749046325684,
0.006995667934417724,
0.007050549030303955,
0.007085907936096192,
0.007115027904510498,
0.007333107948303223,
0.0074683079719543456,
0.007323828220367432,
0.007192307949066162,
0.007230708122253418,
0.00719838809967041,
0.007138868808746338,
0.007095667839050293,
0.007105268001556396,
0.0071494288444519044,
0.007079988956451416,
0.007107508182525635,
0.0069943881034851075,
0.00714910888671875,
0.007111348152160644,
0.007414068222045898,
0.007664466857910156,
0.007765906810760498,
0.007737267971038819,
0.00767454719543457,
0.007548468112945557,
0.007578867912292481,
0.00747294807434082,
0.007553747177124023,
0.007637427806854248,
0.007442227840423584,
0.007355827808380127,
0.007273268222808838,
0.007235349178314209,
0.007499827861785889,
0.007467507839202881,
0.007556628227233886,
0.007411188125610352,
0.008777425765991212,
0.007298707962036133,
0.007163827896118164,
0.007046548843383789,
0.007042708873748779,
0.006928948879241943,
0.0069803080558776855,
0.007007668972015381,
0.007000147819519043,
0.006931669235229492,
0.006892628192901611,
0.0069291090965271,
0.006944788932800293,
0.0069092679023742675,
0.006909908771514893,
0.0069311890602111815,
0.006943347930908203,
0.00693614912033081,
0.006824948787689209,
0.006891188144683838,
0.006889588832855224,
0.006933588981628418,
0.006901748180389404,
0.006887029170989991,
0.006926068782806397,
0.006883667945861816,
0.006868148803710937,
0.006873589038848877,
0.006886387825012207,
0.00687838888168335,
0.0068815889358520505,
0.0069281492233276365,
0.00689694881439209,
0.0068993492126464846,
0.006930708885192871,
0.006920629024505616,
0.0068785490989685056,
0.0068919892311096196,
0.006911989212036133,
0.006881268978118896,
0.006884949207305908,
0.006890388011932373,
0.006853428840637207,
0.006829109191894531,
0.006868628978729248,
0.006884628772735595,
0.0068687891960144045,
0.006844307899475098,
0.006851829051971435,
0.006865108966827392,
0.006864949226379395,
0.006863187789916992,
0.006838068962097168,
0.006836789131164551,
0.006887989044189453,
0.0068945479393005375,
0.006855349063873291,
0.006922389030456543,
0.00687854814529419,
0.006906389236450195,
0.006907669067382813,
0.006919668197631836,
0.006922228813171387,
0.00690894889831543,
0.006943347930908203,
0.006960148811340332,
0.006893749237060547,
0.006877109050750733,
0.00689694881439209,
0.006910869121551514,
0.006876468181610107,
0.006903188228607178,
0.006880148887634278,
0.006905107975006103,
0.0069243087768554685,
0.006893908977508545,
0.006939507961273193,
0.006898869037628174,
0.006866229057312012
]
},
"throughput": {
"unit": "samples/s",
"value": 140.9659921756303
},
"energy": null,
"efficiency": null
}
}
}