IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4e8555c verified
raw
history blame
10.3 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": {},
"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 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": "5ae03a669d2c4893dc609854294ec3bac19528a3",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 902.38976,
"max_global_vram": 841.76896,
"max_process_vram": 46299.582464,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.62259326171875,
"mean": 7.62259326171875,
"stdev": 0.0,
"p50": 7.62259326171875,
"p90": 7.62259326171875,
"p95": 7.62259326171875,
"p99": 7.62259326171875,
"values": [
7.62259326171875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1012.154368,
"max_global_vram": 898.269184,
"max_process_vram": 233737.097216,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 114,
"total": 0.9938539066314701,
"mean": 0.008718016724837453,
"stdev": 0.00033989684178577467,
"p50": 0.008668179988861085,
"p90": 0.00916715316772461,
"p95": 0.009311831426620483,
"p99": 0.009502213678359985,
"values": [
0.009179455757141113,
0.009431135177612305,
0.00950377368927002,
0.00949177360534668,
0.00942185401916504,
0.009353535652160645,
0.009209535598754882,
0.009289375305175781,
0.009013696670532227,
0.008898338317871094,
0.008811617851257324,
0.008814179420471191,
0.00883849811553955,
0.008832098960876465,
0.00883401870727539,
0.008842658996582032,
0.008787939071655274,
0.008710659980773926,
0.008773219108581544,
0.008769538879394531,
0.008966656684875488,
0.009235296249389648,
0.009152256965637207,
0.008917858123779297,
0.008874817848205567,
0.008810978889465332,
0.008721380233764649,
0.00868138027191162,
0.008687780380249024,
0.00866249942779541,
0.008655139923095703,
0.008630499839782715,
0.008662980079650879,
0.008646180152893066,
0.008611941337585449,
0.008611459732055664,
0.008634180068969726,
0.00865802001953125,
0.0086356201171875,
0.008670339584350586,
0.008662500381469727,
0.00883689785003662,
0.008744258880615235,
0.00863737964630127,
0.008677860260009766,
0.008661219596862793,
0.008741700172424316,
0.009026497840881347,
0.009127297401428223,
0.009075616836547852,
0.008931617736816406,
0.009003618240356445,
0.009021697998046875,
0.0090303373336792,
0.0088444185256958,
0.008770339012145996,
0.00873577880859375,
0.00869402027130127,
0.008688579559326172,
0.008697699546813965,
0.008654020309448241,
0.008820098876953125,
0.008637700080871582,
0.00853386116027832,
0.008545860290527344,
0.008555621147155761,
0.008583941459655763,
0.008532581329345703,
0.008579460144042969,
0.008547619819641113,
0.008951618194580077,
0.00885561752319336,
0.00871065902709961,
0.008653860092163086,
0.008678179740905761,
0.0086356201171875,
0.008666020393371582,
0.008658980369567871,
0.008741220474243165,
0.008684100151062012,
0.00861322021484375,
0.008589539527893066,
0.010208088874816895,
0.009250656127929687,
0.008614980697631835,
0.008476740837097168,
0.008444901466369628,
0.008419301986694336,
0.008443462371826171,
0.008430981636047363,
0.008423622131347657,
0.008463621139526367,
0.008387460708618164,
0.008418980598449708,
0.008510500907897948,
0.008422981262207032,
0.008431941032409669,
0.008443620681762696,
0.008438501358032226,
0.008435782432556152,
0.008457221031188965,
0.008439302444458008,
0.00841914176940918,
0.009173537254333496,
0.008329062461853028,
0.008404420852661134,
0.008455301284790039,
0.008431462287902832,
0.008384261131286621,
0.008193543434143066,
0.0079010648727417,
0.007840425968170165,
0.008108423233032227,
0.007677707195281982
]
},
"throughput": {
"unit": "samples/s",
"value": 114.70498756340078
},
"energy": null,
"efficiency": null
}
}
}