IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2235d0a verified
raw
history blame
9.6 kB
{
"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": {},
"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": "f837debaab7bc93d6490c10e065312a52e57b795",
"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": 1005.203456,
"max_global_vram": 898.486272,
"max_process_vram": 155079.43424,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 117,
"total": 0.9995299406051635,
"mean": 0.008542990945343278,
"stdev": 0.0002861921737130193,
"p50": 0.008591471672058105,
"p90": 0.008782639122009278,
"p95": 0.008843278503417968,
"p99": 0.00899768440246582,
"values": [
0.009682186126708984,
0.008872269630432129,
0.008883630752563477,
0.008800591468811035,
0.008766350746154785,
0.00878955078125,
0.00879019069671631,
0.008768111228942872,
0.009006669998168945,
0.008950510025024415,
0.008835950851440429,
0.00883979034423828,
0.008857231140136718,
0.008801871299743653,
0.00870939064025879,
0.00877803134918213,
0.00868267059326172,
0.008756911277770996,
0.00870427131652832,
0.008762351036071777,
0.008654512405395508,
0.008682512283325195,
0.008705551147460938,
0.008613712310791015,
0.008640432357788086,
0.008639792442321777,
0.008692591667175294,
0.008679631233215333,
0.008635312080383302,
0.008577391624450684,
0.008537552833557128,
0.008490352630615235,
0.008517231941223145,
0.008567952156066894,
0.008536272048950196,
0.008603631973266601,
0.008589232444763183,
0.008531952857971191,
0.008594352722167969,
0.008525233268737793,
0.008521871566772461,
0.008535311698913575,
0.00853819179534912,
0.008544272422790527,
0.008549391746520996,
0.008572751998901368,
0.00858347225189209,
0.008507311820983887,
0.0085655517578125,
0.008607312202453614,
0.008634671211242676,
0.00857915210723877,
0.008575311660766602,
0.008599151611328125,
0.008598992347717285,
0.008584913253784179,
0.008556592941284179,
0.008584272384643555,
0.008613391876220703,
0.008522831916809082,
0.008620911598205567,
0.008562671661376952,
0.008618191719055176,
0.008609552383422852,
0.00867307186126709,
0.008677071571350097,
0.00869227123260498,
0.00865131187438965,
0.008636112213134766,
0.008652590751647949,
0.008564271926879884,
0.008537073135375977,
0.008539472579956055,
0.008547952651977539,
0.008550832748413086,
0.00855323314666748,
0.008490992546081542,
0.008511152267456055,
0.008550031661987305,
0.008536432266235352,
0.008521873474121094,
0.008540912628173828,
0.00859371280670166,
0.008622511863708496,
0.008612431526184083,
0.008544112205505371,
0.00861355209350586,
0.008596112251281738,
0.008573871612548828,
0.0085807523727417,
0.008623311996459961,
0.008597871780395509,
0.008565072059631348,
0.00863211154937744,
0.008623472213745117,
0.008641231536865234,
0.00862507152557373,
0.008597871780395509,
0.008633872032165528,
0.008591471672058105,
0.0078409161567688,
0.007926034927368163,
0.007891955852508546,
0.007735637187957764,
0.0076581969261169435,
0.00792219591140747,
0.008519152641296386,
0.008116594314575195,
0.007774036884307861,
0.007879635810852052,
0.007949076175689697,
0.007985074043273926,
0.008194514274597168,
0.007994194984436036,
0.008331473350524903,
0.00787307596206665,
0.007803316116333008
]
},
"throughput": {
"unit": "samples/s",
"value": 117.05502281318614
},
"energy": null,
"efficiency": null
}
}
}