IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1434f47
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.0", | |
"optimum_benchmark_commit": "b04fb3c909a5873eadf03d7b46ccfac63afcdf9e", | |
"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.302336, | |
"max_global_vram": 1878.847488, | |
"max_process_vram": 231093.751808, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 0.9949938020706172, | |
"mean": 0.0075953725348902115, | |
"stdev": 0.00047538911730762195, | |
"p50": 0.007536011219024658, | |
"p90": 0.008105292320251464, | |
"p95": 0.008127532482147218, | |
"p99": 0.008525276565551758, | |
"values": [ | |
0.008523372650146485, | |
0.008061931610107423, | |
0.008113612174987793, | |
0.00804673194885254, | |
0.00762689208984375, | |
0.007640010833740234, | |
0.007745292186737061, | |
0.007980172157287597, | |
0.008090891838073731, | |
0.008060172080993652, | |
0.008058252334594727, | |
0.008058092117309571, | |
0.008048171997070313, | |
0.008021931648254394, | |
0.008017931938171387, | |
0.00802049160003662, | |
0.007774571895599366, | |
0.007718091011047363, | |
0.00759361219406128, | |
0.007663691043853759, | |
0.008001611709594727, | |
0.007772171974182129, | |
0.007593770980834961, | |
0.00789873218536377, | |
0.007879211902618408, | |
0.010870896339416503, | |
0.008526092529296874, | |
0.008106732368469238, | |
0.008111692428588868, | |
0.008136652946472167, | |
0.008105292320251464, | |
0.008080652236938476, | |
0.008062891960144043, | |
0.008056331634521484, | |
0.00804721164703369, | |
0.008049772262573243, | |
0.008111851692199707, | |
0.008122893333435058, | |
0.008139532089233398, | |
0.008061931610107423, | |
0.008132171630859376, | |
0.008113451957702637, | |
0.008149453163146973, | |
0.008053451538085938, | |
0.007740011215209961, | |
0.007582091808319092, | |
0.007604811191558838, | |
0.0072654509544372555, | |
0.007309290885925293, | |
0.0071016111373901365, | |
0.007505290985107422, | |
0.007162570953369141, | |
0.007158889770507813, | |
0.0071536111831665035, | |
0.007148331165313721, | |
0.007125610828399658, | |
0.007122089862823486, | |
0.007107050895690918, | |
0.007137930870056152, | |
0.0071524901390075685, | |
0.007152650833129883, | |
0.007150091171264648, | |
0.0071366500854492185, | |
0.007295370101928711, | |
0.007121450901031494, | |
0.00712545108795166, | |
0.0071432099342346195, | |
0.007379530906677246, | |
0.007363851070404053, | |
0.007309290885925293, | |
0.007335371017456055, | |
0.007278730869293213, | |
0.007333450794219971, | |
0.007314089775085449, | |
0.0073523311614990235, | |
0.007340170860290527, | |
0.007138249874114991, | |
0.007124330997467041, | |
0.007219370841979981, | |
0.007160809993743897, | |
0.007249289989471435, | |
0.007218891143798828, | |
0.007246571063995361, | |
0.007262250900268555, | |
0.007249451160430908, | |
0.007493290901184082, | |
0.0072318511009216305, | |
0.007197930812835694, | |
0.007131370067596435, | |
0.00715841007232666, | |
0.007180171012878418, | |
0.007190250873565674, | |
0.007160490036010742, | |
0.007147689819335937, | |
0.00717841100692749, | |
0.007159531116485596, | |
0.007596170902252198, | |
0.008069131851196289, | |
0.008072491645812988, | |
0.008038091659545898, | |
0.007576972007751465, | |
0.007517291069030762, | |
0.007536011219024658, | |
0.007539691925048828, | |
0.007316171169281006, | |
0.007212491035461426, | |
0.007244490146636963, | |
0.007422571182250977, | |
0.007180009841918945, | |
0.007810572147369385, | |
0.007719532012939453, | |
0.007636011123657227, | |
0.007633771896362305, | |
0.007650890827178955, | |
0.0077281718254089355, | |
0.007702250957489013, | |
0.0076352119445800785, | |
0.00773953104019165, | |
0.007761931896209716, | |
0.007709931850433349, | |
0.007557930946350097, | |
0.007345931053161621, | |
0.00723921012878418, | |
0.007236011028289795, | |
0.007221129894256592, | |
0.007246730804443359, | |
0.00722913122177124, | |
0.0073430509567260745, | |
0.007460011005401611, | |
0.007183850765228272, | |
0.007225611209869385 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.65911157173474 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |