IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
aefaa20 verified
raw
history blame
11.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": "10c9775dced65978a85f54ff6905a3aea7d61cca",
"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.76224,
"max_global_vram": 777.715712,
"max_process_vram": 166249.918464,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 164,
"total": 0.9993899092674257,
"mean": 0.006093840910167229,
"stdev": 0.00032154012732100193,
"p50": 0.006035422563552857,
"p90": 0.006319133853912354,
"p95": 0.006409029102325439,
"p99": 0.006825885839462282,
"values": [
0.006236782073974609,
0.005941903114318848,
0.006034223079681397,
0.0060982217788696285,
0.006174861907958984,
0.006222541809082031,
0.0062163019180297855,
0.006217422008514405,
0.006189261913299561,
0.006200942039489746,
0.006411981105804443,
0.0061955018043518065,
0.00613966178894043,
0.006082542896270752,
0.006077582836151123,
0.0060383820533752445,
0.006057262897491455,
0.0060438218116760254,
0.006028623104095459,
0.006036622047424316,
0.006032302856445313,
0.005973903179168702,
0.00619854211807251,
0.0060252628326416015,
0.005995182037353516,
0.005988623142242432,
0.006038221836090088,
0.005971982955932618,
0.005990063190460205,
0.005983663082122803,
0.0059935832023620605,
0.005973742008209228,
0.006024302959442139,
0.005957423210144043,
0.005938062191009522,
0.00594286298751831,
0.0058755030632019044,
0.005916943073272705,
0.005897902965545655,
0.0060484619140625,
0.00932157325744629,
0.006006701946258545,
0.005877583026885986,
0.005876943111419678,
0.005862863063812256,
0.005875022888183594,
0.005799983024597168,
0.005875823020935059,
0.005873423099517822,
0.006275022029876709,
0.006323821067810058,
0.0061219029426574706,
0.007051979064941406,
0.00632462215423584,
0.006354860782623291,
0.005953582763671875,
0.0062139019966125485,
0.006279022216796875,
0.006273742198944092,
0.006255341053009033,
0.006158062934875488,
0.006215981960296631,
0.006083182811737061,
0.006320141792297364,
0.005941102981567383,
0.0062067022323608395,
0.0059188628196716305,
0.006345742225646973,
0.006023821830749512,
0.006030862808227539,
0.0062273421287536625,
0.006085742950439453,
0.006463181018829345,
0.00611390209197998,
0.006271182060241699,
0.006205902099609375,
0.005976623058319092,
0.0062158222198486325,
0.006072621822357177,
0.005875983238220215,
0.0059823827743530275,
0.006392301082611084,
0.0061900620460510255,
0.006031182765960694,
0.005862062931060791,
0.006017422199249268,
0.005883502960205078,
0.005869102954864502,
0.005919662952423096,
0.005875823020935059,
0.00584462308883667,
0.005884782791137695,
0.005876782894134521,
0.006025581836700439,
0.005887823104858398,
0.005887022972106934,
0.005881903171539307,
0.005880143165588379,
0.0058779029846191405,
0.005901742935180664,
0.005891822814941407,
0.005894702911376953,
0.005855663776397705,
0.005861104011535645,
0.005759023189544678,
0.006168941974639893,
0.005856303215026856,
0.006171823024749756,
0.005877102851867676,
0.0059279828071594235,
0.005897743225097656,
0.005930383205413819,
0.005834222793579102,
0.005913743019104004,
0.005903822898864746,
0.0058735828399658204,
0.005840622901916504,
0.005900143146514892,
0.0058975830078125,
0.005869742870330811,
0.005895022869110107,
0.00585886287689209,
0.0062169418334960935,
0.006367341995239258,
0.006222382068634034,
0.006182221889495849,
0.0063033409118652345,
0.006617260932922363,
0.006693100929260254,
0.006631340980529785,
0.006440462112426758,
0.006123342037200928,
0.006291982173919678,
0.006127821922302246,
0.006192942142486572,
0.006132142066955566,
0.006233582019805908,
0.00625102186203003,
0.00612542200088501,
0.006311341762542725,
0.006097261905670166,
0.006050063133239746,
0.0059038219451904295,
0.005940622806549072,
0.005864303112030029,
0.005885423183441162,
0.005868302822113037,
0.005871822834014892,
0.00585502290725708,
0.005880143165588379,
0.00611342191696167,
0.006072143077850342,
0.006162703037261963,
0.0063139009475708,
0.006167022228240967,
0.006316781997680664,
0.006011343002319336,
0.006264780998229981,
0.006323182106018067,
0.006138381958007813,
0.006499021053314209,
0.006101263046264648,
0.006295021057128906,
0.006116941928863525
]
},
"throughput": {
"unit": "samples/s",
"value": 164.10011595996158
},
"energy": null,
"efficiency": null
}
}
}