IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e283e25 verified
raw
history blame
11 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 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": "65fa416fd503cfe9a2be7637ee30c70a4a1f96f1",
"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": 903.59808,
"max_global_vram": 841.764864,
"max_process_vram": 42509.725696,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.7452548828125,
"mean": 6.7452548828125,
"stdev": 0.0,
"p50": 6.7452548828125,
"p90": 6.7452548828125,
"p95": 6.7452548828125,
"p99": 6.7452548828125,
"values": [
6.7452548828125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1013.16608,
"max_global_vram": 897.65888,
"max_process_vram": 199013.900288,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 131,
"total": 0.9981487026214597,
"mean": 0.007619455745201984,
"stdev": 0.0011736739847574798,
"p50": 0.007268142223358154,
"p90": 0.008511658668518066,
"p95": 0.009672695636749266,
"p99": 0.009753864192962647,
"values": [
0.00783549976348877,
0.0080446195602417,
0.00822589874267578,
0.009021898269653321,
0.007987659931182861,
0.007968299865722657,
0.007835020065307617,
0.007684461116790772,
0.007599660873413086,
0.0075449409484863285,
0.007492140769958496,
0.007435021877288818,
0.0073343820571899416,
0.007268142223358154,
0.007241742134094238,
0.007224621772766113,
0.007242221832275391,
0.007271182060241699,
0.007264461994171143,
0.00717454195022583,
0.007216782093048096,
0.007193902015686035,
0.007215662002563477,
0.007188782215118408,
0.007214861869812012,
0.007194382190704346,
0.007210701942443848,
0.007203661918640137,
0.007210542201995849,
0.007234861850738525,
0.007246700763702393,
0.007201901912689209,
0.0072334218025207515,
0.0071809420585632324,
0.00718110179901123,
0.007184301853179932,
0.007190701961517334,
0.007203981876373291,
0.007175821781158448,
0.007165421962738037,
0.007188782215118408,
0.007188461780548096,
0.007165262222290039,
0.0071735820770263675,
0.0071950221061706544,
0.0071687822341918945,
0.007237261772155762,
0.007184142112731933,
0.007231502056121826,
0.007222861766815186,
0.007188782215118408,
0.007207662105560303,
0.007198222160339355,
0.007156622886657715,
0.007180302143096924,
0.017212915420532226,
0.002491672992706299,
0.006976462841033935,
0.00718110179901123,
0.007159341812133789,
0.00729406213760376,
0.007182062149047852,
0.007207181930541992,
0.007177581787109375,
0.007211182117462158,
0.007158701896667481,
0.007223182201385498,
0.00720382308959961,
0.007201422214508057,
0.007339022159576416,
0.007197102069854736,
0.007187022209167481,
0.007216621875762939,
0.007187501907348633,
0.007179982185363769,
0.007189422130584717,
0.0072163019180297855,
0.0071881418228149415,
0.007200302124023438,
0.007161581993103027,
0.0072115020751953125,
0.007195981979370117,
0.007430060863494873,
0.007272781848907471,
0.00717502212524414,
0.007434381008148193,
0.007579020977020264,
0.007367181777954102,
0.0073110218048095706,
0.007270542144775391,
0.007547660827636719,
0.007506221771240234,
0.007527660846710205,
0.007535661220550537,
0.007579340934753418,
0.007557100772857666,
0.007595981121063232,
0.008511658668518066,
0.009408295631408692,
0.009484616279602051,
0.009667976379394531,
0.009560935974121094,
0.009694696426391602,
0.009714695930480957,
0.009707976341247558,
0.009645735740661621,
0.009677414894104003,
0.009736616134643555,
0.009761256217956543,
0.00840541934967041,
0.007590701103210449,
0.007606541156768799,
0.007584620952606201,
0.007585101127624512,
0.007579501152038574,
0.007595661163330078,
0.007611340999603271,
0.007593901157379151,
0.0075814208984375,
0.007574060916900635,
0.007596621036529541,
0.007581261157989502,
0.0075737409591674805,
0.007580300807952881,
0.007567501068115235,
0.007583341121673584,
0.007603180885314941,
0.00757054090499878,
0.0076091008186340335,
0.007569419860839844,
0.007560620784759522
]
},
"throughput": {
"unit": "samples/s",
"value": 131.2429697658794
},
"energy": null,
"efficiency": null
}
}
}