IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
26538d4 verified
raw
history blame
11.5 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": "4",
"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.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 907.89888,
"max_global_vram": 841.842688,
"max_process_vram": 42655.588352,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.20562841796875,
"mean": 7.20562841796875,
"stdev": 0.0,
"p50": 7.20562841796875,
"p90": 7.20562841796875,
"p95": 7.20562841796875,
"p99": 7.20562841796875,
"values": [
7.20562841796875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1018.683392,
"max_global_vram": 898.342912,
"max_process_vram": 206804.533248,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 132,
"total": 1.0006870603561402,
"mean": 0.007580962578455607,
"stdev": 0.001227513399177555,
"p50": 0.007406866788864135,
"p90": 0.007882594871520996,
"p95": 0.008239545726776123,
"p99": 0.01028851097106933,
"values": [
0.008206866264343261,
0.007766866207122803,
0.007747346878051758,
0.008088306427001953,
0.007803825855255127,
0.007838386058807373,
0.007439667224884033,
0.008566385269165038,
0.007466227054595947,
0.007432627201080322,
0.007441747188568115,
0.0074270272254943846,
0.007415027141571045,
0.007417427062988281,
0.0074391870498657225,
0.007460466861724854,
0.007440307140350342,
0.008559505462646484,
0.007460786819458008,
0.007426547050476074,
0.007437427043914795,
0.007430226802825928,
0.0074513468742370605,
0.007454387187957764,
0.0074513468742370605,
0.007426547050476074,
0.007519346237182617,
0.007466866970062256,
0.007482226848602295,
0.007639347076416015,
0.011062219619750976,
0.008097585678100585,
0.007672787189483643,
0.007669106006622315,
0.00788750696182251,
0.0076571059226989745,
0.007693266868591309,
0.007637745857238769,
0.007682386875152588,
0.007587186813354492,
0.007619826793670654,
0.007658546924591065,
0.007688467025756836,
0.007469747066497803,
0.007323826789855957,
0.00735742712020874,
0.007346066951751709,
0.007379346847534179,
0.007329587936401367,
0.007362387180328369,
0.0073358268737792965,
0.007345746994018554,
0.007407026767730713,
0.007388627052307129,
0.007376467227935791,
0.007361746788024902,
0.007402387142181397,
0.007367987155914307,
0.007367987155914307,
0.007352948188781738,
0.007390388011932373,
0.007349586963653564,
0.007366066932678223,
0.0073585472106933595,
0.007354066848754883,
0.007376787185668946,
0.007391507148742676,
0.007390546798706055,
0.0074067068099975585,
0.007371507167816162,
0.007394707202911377,
0.007394707202911377,
0.007431187152862549,
0.007410067081451416,
0.007423986911773681,
0.019837566375732422,
0.00269151496887207,
0.005989429950714112,
0.0073790278434753415,
0.0077403059005737304,
0.007545426845550537,
0.007418867111206055,
0.007341587066650391,
0.007327987194061279,
0.007311827182769776,
0.007302867889404297,
0.007308628082275391,
0.007291186809539795,
0.007297906875610351,
0.00728046703338623,
0.007280307769775391,
0.007270707130432129,
0.007307826995849609,
0.008300946235656739,
0.008253585815429688,
0.008247026443481445,
0.008194865226745606,
0.008199026107788086,
0.008233425140380859,
0.007630867004394531,
0.007643667221069336,
0.007615186214447021,
0.0075811071395874025,
0.007663346767425537,
0.00763150691986084,
0.007569587230682373,
0.007303187847137451,
0.007327187061309815,
0.007256786823272705,
0.007322707176208496,
0.007303187847137451,
0.007323668003082275,
0.0073444671630859375,
0.00732254695892334,
0.00734110689163208,
0.007315347194671631,
0.007314708232879639,
0.007431188106536865,
0.0073142280578613285,
0.007329267024993896,
0.00740222692489624,
0.0073676671981811525,
0.007305747032165528,
0.007341426849365234,
0.00739998722076416,
0.007369106769561768,
0.007353908061981202,
0.007343187808990479,
0.007316946983337402,
0.007294066905975342,
0.0073254270553588866,
0.0073273458480834965
]
},
"throughput": {
"unit": "samples/s",
"value": 131.90937030106272
},
"energy": null,
"efficiency": null
}
}
}