IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
4e6ff88 verified
raw
history blame
10.9 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": "674d8c572ada4aac26b730928ac88a3effc914de",
"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.3936,
"max_global_vram": 777.728,
"max_process_vram": 184796.700672,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 147,
"total": 0.9973681950569155,
"mean": 0.006784817653448403,
"stdev": 0.0002477978163484056,
"p50": 0.006904138088226318,
"p90": 0.006947241973876953,
"p95": 0.006956409788131714,
"p99": 0.007009027576446533,
"values": [
0.006865737915039062,
0.006682538986206054,
0.006571178913116455,
0.006749738216400147,
0.006607018947601319,
0.0064211001396179196,
0.00642189884185791,
0.006460460186004638,
0.006395659923553467,
0.0064094200134277345,
0.00670813798904419,
0.006375979900360107,
0.006343979835510254,
0.006377258777618408,
0.006363659858703613,
0.006306700229644776,
0.00629773998260498,
0.00631790018081665,
0.006275660037994385,
0.006306220054626465,
0.006298379898071289,
0.006276619911193848,
0.006328939914703369,
0.006276619911193848,
0.006343019962310791,
0.006358540058135987,
0.006337578773498535,
0.006410220146179199,
0.006370220184326172,
0.0063399791717529295,
0.006277740001678467,
0.006391499996185303,
0.00634142017364502,
0.006318220138549805,
0.007679975032806397,
0.006791018009185791,
0.0062817401885986324,
0.0064527797698974605,
0.00655229902267456,
0.006764937877655029,
0.006884297847747803,
0.00634414005279541,
0.0063594989776611325,
0.006893097877502441,
0.0069345378875732425,
0.006933578014373779,
0.006935657978057862,
0.006994857788085938,
0.006967177867889404,
0.006935498237609863,
0.006926698207855225,
0.006918538093566895,
0.006977578163146972,
0.006942537784576416,
0.0069273381233215334,
0.006915338039398193,
0.00693405818939209,
0.0069137377738952635,
0.007021098136901855,
0.006956937789916992,
0.0069223780632019045,
0.006942058086395263,
0.006926057815551757,
0.006931657791137695,
0.006927177906036377,
0.006903818130493164,
0.006930858135223389,
0.0068786988258361815,
0.006950538158416748,
0.006952457904815674,
0.0069442977905273436,
0.006946378231048584,
0.006911977767944336,
0.0069370980262756345,
0.006910538196563721,
0.006947177886962891,
0.006947338104248047,
0.006955177783966065,
0.006873898029327393,
0.0069082980155944825,
0.006920777797698975,
0.006918538093566895,
0.006907177925109863,
0.006920777797698975,
0.006937257766723633,
0.006901418209075928,
0.006938538074493408,
0.006938057899475098,
0.0069204578399658205,
0.006943498134613037,
0.006930858135223389,
0.006954698085784912,
0.006906698226928711,
0.006902857780456543,
0.006906698226928711,
0.0069058980941772465,
0.0069438180923461915,
0.006909577846527099,
0.006932618141174317,
0.006928778171539306,
0.006897418022155761,
0.00692813777923584,
0.00690765905380249,
0.006917259216308594,
0.006855658054351807,
0.006932618141174317,
0.006914698123931885,
0.00696253776550293,
0.00693293809890747,
0.00693405818939209,
0.006909098148345947,
0.006860939025878907,
0.006888298988342285,
0.00688525915145874,
0.0069180588722229,
0.0068756589889526366,
0.006849419116973877,
0.006869738101959229,
0.006871657848358154,
0.006876617908477783,
0.006872138023376465,
0.006935498237609863,
0.006917898178100586,
0.006883018016815186,
0.006915177822113037,
0.006892138004302979,
0.006912137985229492,
0.006851657867431641,
0.006883498191833496,
0.0068606181144714356,
0.006950697898864746,
0.006904138088226318,
0.006896297931671142,
0.0069009380340576175,
0.0068538980484008786,
0.006883977890014648,
0.006874537944793701,
0.006921257972717285,
0.0069511780738830565,
0.006896778106689453,
0.00695885705947876,
0.006889577865600586,
0.0069278178215026855,
0.006857738018035888,
0.006886218070983887,
0.006905578136444092,
0.006914378166198731
]
},
"throughput": {
"unit": "samples/s",
"value": 147.3878961937536
},
"energy": null,
"efficiency": null
}
}
}