IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3212cb5 verified
raw
history blame
11.4 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "5",
"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": "warn",
"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.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1079.504896,
"max_global_vram": 68702.69952,
"max_process_vram": 52697.16992,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 14.154912109375,
"mean": 14.154912109375,
"stdev": 0.0,
"p50": 14.154912109375,
"p90": 14.154912109375,
"p95": 14.154912109375,
"p99": 14.154912109375,
"values": [
14.154912109375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1196.29824,
"max_global_vram": 68702.69952,
"max_process_vram": 228142.57152,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 130,
"total": 1.0001401727199557,
"mean": 0.007693385943999658,
"stdev": 0.001607734464473203,
"p50": 0.007712451934814454,
"p90": 0.007926931095123291,
"p95": 0.008055666923522949,
"p99": 0.016217436504364007,
"values": [
0.007919170856475831,
0.012237714767456056,
0.004789741992950439,
0.007959331035614014,
0.007982850074768066,
0.007923171043395997,
0.007926371097564697,
0.008129890441894532,
0.007931971073150634,
0.007541252136230469,
0.007278213024139404,
0.007444932937622071,
0.007071333885192871,
0.0070681338310241695,
0.007149413108825684,
0.0071194939613342285,
0.007099013805389404,
0.007093574047088623,
0.007999330043792725,
0.007763492107391357,
0.007755812168121338,
0.007901411056518554,
0.008041410446166993,
0.007941730976104736,
0.007773890972137452,
0.007712771892547607,
0.0077153310775756835,
0.0076876521110534664,
0.007704930782318115,
0.007712131977081299,
0.007734851837158203,
0.007766851902008057,
0.007791010856628418,
0.007742691993713379,
0.007703971862792969,
0.015764741897583007,
0.0038083059787750242,
0.007753091812133789,
0.007740771770477295,
0.007705572128295898,
0.007747170925140381,
0.007724612236022949,
0.0076874918937683105,
0.007727651119232177,
0.007701412200927734,
0.007732131004333496,
0.0078279709815979,
0.007875491142272949,
0.007862211227416992,
0.008912768363952637,
0.008067331314086913,
0.007749250888824463,
0.007730212211608887,
0.007732611179351806,
0.0077444519996643065,
0.007720932006835938,
0.00773005199432373,
0.007706531047821045,
0.007714692115783691,
0.007675810813903809,
0.007699972152709961,
0.007728131771087646,
0.00772573184967041,
0.0077535719871520995,
0.0077487721443176266,
0.007717892169952393,
0.0077322921752929685,
0.0076857318878173824,
0.007730690956115722,
0.007692292213439942,
0.007665731906890869,
0.00770493221282959,
0.007719491958618164,
0.007699010848999023,
0.007705411911010742,
0.007695812225341797,
0.007723651885986328,
0.007683172225952149,
0.016685697555541994,
0.0028524699211120606,
0.007403812885284424,
0.007364452838897705,
0.007282373905181885,
0.007208932876586914,
0.007316452980041504,
0.007246693134307861,
0.0071225337982177735,
0.007306212902069092,
0.007320612907409668,
0.006965253829956055,
0.0071881341934204104,
0.007127173900604248,
0.007055974960327148,
0.007022055149078369,
0.007037094116210937,
0.00701565408706665,
0.007035173892974853,
0.007039974212646485,
0.007027813911437988,
0.007010374069213867,
0.006986534118652344,
0.0070018949508666994,
0.0069994950294494625,
0.007035493850708008,
0.007399013042449951,
0.007655491828918457,
0.007694692134857178,
0.007685892105102539,
0.007683012008666992,
0.007657892227172851,
0.007715171813964844,
0.0077010908126831056,
0.007743492126464844,
0.007695490837097168,
0.007725091934204101,
0.016402339935302733,
0.002470870018005371,
0.0052343811988830565,
0.007693572044372559,
0.007815170764923095,
0.007725091934204101,
0.0077532510757446285,
0.007764451026916504,
0.007733732223510742,
0.007749890804290772,
0.007734692096710205,
0.007778212070465088,
0.007715970993041992,
0.00773005199432373,
0.007753411769866944
]
},
"throughput": {
"unit": "samples/s",
"value": 129.98178010033868
},
"energy": null,
"efficiency": null
}
}
}