IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5a10520
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_type": "roberta", | |
"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": {}, | |
"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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.4.0", | |
"optimum_benchmark_commit": "a4519acdcbbeba6e03efbda65aae011ed2a194fb", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.152192, | |
"max_global_vram": 841.76896, | |
"max_process_vram": 43442.065408, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.87351123046875, | |
"mean": 6.87351123046875, | |
"stdev": 0.0, | |
"p50": 6.87351123046875, | |
"p90": 6.87351123046875, | |
"p95": 6.87351123046875, | |
"p99": 6.87351123046875, | |
"values": [ | |
6.87351123046875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1011.728384, | |
"max_global_vram": 898.265088, | |
"max_process_vram": 213129.50272, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 1.0011274199485778, | |
"mean": 0.00736123102903366, | |
"stdev": 0.00020643029152965793, | |
"p50": 0.0072847499847412105, | |
"p90": 0.00757619047164917, | |
"p95": 0.007660231113433838, | |
"p99": 0.007846167230606079, | |
"values": [ | |
0.007640191078186035, | |
0.007744670867919922, | |
0.007858430862426758, | |
0.009153157234191895, | |
0.0077707509994506836, | |
0.007823391914367676, | |
0.007784031867980957, | |
0.007720351219177246, | |
0.007627231121063232, | |
0.007630431175231934, | |
0.007543711185455322, | |
0.007551071166992188, | |
0.007466750144958496, | |
0.007457311153411865, | |
0.007482269763946533, | |
0.007470271110534668, | |
0.007431069850921631, | |
0.007431069850921631, | |
0.007456191062927246, | |
0.007377470016479492, | |
0.007429309844970703, | |
0.007472829818725586, | |
0.007390270233154297, | |
0.007281148910522461, | |
0.007281310081481933, | |
0.007286269187927246, | |
0.007273788928985596, | |
0.007275710105895996, | |
0.00728274917602539, | |
0.007254270076751709, | |
0.007240668773651123, | |
0.007265629768371582, | |
0.007272669792175293, | |
0.007247229099273681, | |
0.007304989814758301, | |
0.0072585887908935545, | |
0.007281468868255615, | |
0.007273469924926758, | |
0.007256508827209473, | |
0.007248829841613769, | |
0.007241148948669434, | |
0.007284830093383789, | |
0.0073105888366699215, | |
0.007287390232086181, | |
0.007255869865417481, | |
0.007273149013519287, | |
0.007280670166015625, | |
0.007277789115905761, | |
0.0072865891456604, | |
0.0073251500129699705, | |
0.007300189971923828, | |
0.0072696290016174316, | |
0.007316830158233642, | |
0.007255869865417481, | |
0.007243709087371826, | |
0.007284349918365478, | |
0.00727570915222168, | |
0.007257469177246094, | |
0.007281310081481933, | |
0.007310268878936768, | |
0.00727186918258667, | |
0.007285950183868409, | |
0.0072817888259887695, | |
0.007324029922485351, | |
0.0073245100975036625, | |
0.007314909934997558, | |
0.007282908916473389, | |
0.007280508995056153, | |
0.007285630226135254, | |
0.007272829055786132, | |
0.007318268775939942, | |
0.007330110073089599, | |
0.007311230182647705, | |
0.007311870098114013, | |
0.007266909122467041, | |
0.007292829990386963, | |
0.007296030044555664, | |
0.007310749053955078, | |
0.0073003492355346675, | |
0.007282909870147705, | |
0.007259068965911865, | |
0.007264669895172119, | |
0.0072598690986633305, | |
0.007282588958740234, | |
0.0072841901779174805, | |
0.007327710151672363, | |
0.007290109157562256, | |
0.007244190216064453, | |
0.007258909225463867, | |
0.00726754903793335, | |
0.007280670166015625, | |
0.007233949184417725, | |
0.007239870071411133, | |
0.007232028961181641, | |
0.007257150173187256, | |
0.0072451491355896, | |
0.007269309997558594, | |
0.007435229778289795, | |
0.007587710857391358, | |
0.007605471134185791, | |
0.007520831108093261, | |
0.007598751068115235, | |
0.007564670085906983, | |
0.007594110965728759, | |
0.00749875020980835, | |
0.007338749885559082, | |
0.0074107499122619625, | |
0.007450430870056152, | |
0.007456669807434082, | |
0.007474589824676514, | |
0.007445469856262207, | |
0.007362110137939453, | |
0.007231069087982178, | |
0.0072824301719665524, | |
0.007232509136199951, | |
0.007247710227966308, | |
0.007259388923645019, | |
0.007232829093933106, | |
0.007284669876098633, | |
0.007254748821258545, | |
0.007369150161743164, | |
0.0072779498100280764, | |
0.007256508827209473, | |
0.007262269973754883, | |
0.007237789154052735, | |
0.007286270141601562, | |
0.007238588809967041, | |
0.007288029193878174, | |
0.007297629833221435, | |
0.0072696290016174316, | |
0.007282429218292237, | |
0.007268670082092285, | |
0.007244829177856445, | |
0.007286910057067871, | |
0.007249467849731446, | |
0.007282429218292237 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.8468435586207 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |