IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c70b9c4
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"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", | |
"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.2.1", | |
"optimum_benchmark_commit": "2516ce57a5b64eefeb78dc75a171e0cdff88823e", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1004.060672, | |
"max_global_vram": 1878.831104, | |
"max_process_vram": 202205.937664, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.999595571517944, | |
"mean": 0.007515756176826649, | |
"stdev": 0.00037991401469624283, | |
"p50": 0.007288486957550049, | |
"p90": 0.008080583381652831, | |
"p95": 0.008092551231384278, | |
"p99": 0.008191104660034181, | |
"values": [ | |
0.008225767135620118, | |
0.007568325996398926, | |
0.00800352668762207, | |
0.007811526775360108, | |
0.00797616720199585, | |
0.008106085777282715, | |
0.007792645931243896, | |
0.007912967205047607, | |
0.007996807098388672, | |
0.008070087432861328, | |
0.00806896686553955, | |
0.00767456579208374, | |
0.007627206802368164, | |
0.007576645851135254, | |
0.007590726852416992, | |
0.007584805965423584, | |
0.0074118471145629885, | |
0.007368966102600098, | |
0.007229606151580811, | |
0.008690407752990723, | |
0.008053927421569825, | |
0.008087845802307128, | |
0.007979366779327392, | |
0.00809360694885254, | |
0.008077767372131348, | |
0.00806736660003662, | |
0.00808432674407959, | |
0.008091847419738769, | |
0.008076327323913574, | |
0.008084807395935058, | |
0.008085447311401367, | |
0.008057126998901367, | |
0.008077607154846192, | |
0.008054885864257812, | |
0.008065446853637696, | |
0.008063687324523925, | |
0.008056487083435059, | |
0.008086887359619141, | |
0.008102087020874024, | |
0.008071526527404786, | |
0.008071367263793944, | |
0.00805424690246582, | |
0.008117446899414063, | |
0.008081287384033202, | |
0.007522885799407959, | |
0.007453446865081787, | |
0.007149126052856445, | |
0.007150246143341065, | |
0.007166726112365723, | |
0.007152006149291992, | |
0.007177765846252441, | |
0.007143846035003662, | |
0.0071752071380615234, | |
0.007156325817108154, | |
0.007157286167144775, | |
0.00738304615020752, | |
0.00713904619216919, | |
0.007140006065368652, | |
0.0071592068672180174, | |
0.007123526096343994, | |
0.007137765884399414, | |
0.007131525993347168, | |
0.007157125949859619, | |
0.007187205791473389, | |
0.007147046089172363, | |
0.007154726028442383, | |
0.007170086860656739, | |
0.00721872615814209, | |
0.007186245918273926, | |
0.007188965797424316, | |
0.0071680059432983395, | |
0.007166245937347412, | |
0.007188646793365478, | |
0.0071624059677124026, | |
0.0071716861724853516, | |
0.007185445785522461, | |
0.007166245937347412, | |
0.007152805805206299, | |
0.0072016057968139644, | |
0.007190086841583252, | |
0.007169285774230957, | |
0.007172646045684815, | |
0.0071680059432983395, | |
0.007216485977172851, | |
0.0071747260093688965, | |
0.007216967105865478, | |
0.0071985659599304195, | |
0.007160165786743164, | |
0.0072016057968139644, | |
0.007183526039123535, | |
0.0071766462326049805, | |
0.007157286167144775, | |
0.007152966976165772, | |
0.007152326107025146, | |
0.007469605922698974, | |
0.007752007007598877, | |
0.00743440580368042, | |
0.007499046802520752, | |
0.00749936580657959, | |
0.007599845886230468, | |
0.00764128589630127, | |
0.00765360689163208, | |
0.00753536605834961, | |
0.0075347270965576175, | |
0.007536166191101075, | |
0.007217926025390625, | |
0.007260806083679199, | |
0.007604805946350097, | |
0.008114727020263671, | |
0.007839527130126953, | |
0.007663045883178711, | |
0.0076612868309020995, | |
0.00767456579208374, | |
0.007666886806488037, | |
0.007692166805267334, | |
0.007256966114044189, | |
0.007283205986022949, | |
0.007240325927734375, | |
0.00726352596282959, | |
0.007240807056427002, | |
0.007284485816955567, | |
0.007263366222381592, | |
0.007277445793151855, | |
0.007256007194519043, | |
0.007244326114654541, | |
0.00723952579498291, | |
0.0072670459747314455, | |
0.0072480058670043946, | |
0.007293286800384521, | |
0.007263366222381592, | |
0.007238565921783447, | |
0.00728176498413086, | |
0.007288486957550049 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.05381075071364 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |