IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d5df2fe verified
raw
history blame
10.8 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+rocm6.1",
"_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": "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": "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.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"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": 1387.319296,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.7974501953125,
"mean": 7.7974501953125,
"stdev": 0.0,
"p50": 7.7974501953125,
"p90": 7.7974501953125,
"p95": 7.7974501953125,
"p99": 7.7974501953125,
"values": [
7.7974501953125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1512.931328,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 118,
"total": 0.9967825059890748,
"mean": 0.00844730937278877,
"stdev": 0.0005098767512595477,
"p50": 0.008659731388092042,
"p90": 0.00872196979522705,
"p95": 0.008781546354293823,
"p99": 0.009375300827026367,
"values": [
0.009375328063964844,
0.008875490188598633,
0.008968929290771484,
0.009375167846679687,
0.008778690338134765,
0.008692290306091309,
0.008710049629211425,
0.008704930305480958,
0.008537891387939454,
0.008550050735473633,
0.008453730583190919,
0.00851741123199463,
0.008639491081237793,
0.008358531951904297,
0.008242530822753906,
0.008381891250610351,
0.008313732147216797,
0.00842893123626709,
0.008388291358947754,
0.011616920471191406,
0.00815853214263916,
0.007859333038330078,
0.007873572826385499,
0.008267491340637208,
0.007964453220367432,
0.008289891242980957,
0.0087364501953125,
0.008684930801391601,
0.00871549129486084,
0.008797730445861816,
0.008720769882202148,
0.008771169662475585,
0.008683329582214355,
0.00868412971496582,
0.008706850051879883,
0.008700449943542481,
0.008699490547180175,
0.008703810691833496,
0.008699971199035645,
0.008661569595336914,
0.008697409629821778,
0.008686369895935058,
0.008683329582214355,
0.008109572410583497,
0.00801805305480957,
0.007953092098236084,
0.007837253093719482,
0.00783357286453247,
0.007840932846069336,
0.007833733081817626,
0.007615973949432373,
0.007635334014892578,
0.007634853839874268,
0.008044292449951172,
0.008724769592285157,
0.008668129920959472,
0.00868412971496582,
0.008659331321716309,
0.008690051078796387,
0.008335810661315918,
0.008120291709899903,
0.008617250442504883,
0.008655811309814453,
0.008645251274108886,
0.008682049751281739,
0.008667010307312012,
0.008697890281677246,
0.00867436981201172,
0.008642690658569336,
0.008659010887145996,
0.008663809776306153,
0.00866876983642578,
0.008653730392456054,
0.008672129631042481,
0.008650211334228516,
0.008679810523986817,
0.008644129753112793,
0.008662690162658691,
0.008707329750061036,
0.008691329956054688,
0.008701250076293946,
0.008685409545898437,
0.008689571380615234,
0.008689571380615234,
0.00866637134552002,
0.008705410003662109,
0.008710049629211425,
0.008725250244140625,
0.008761090278625488,
0.008688289642333985,
0.00866236972808838,
0.00866940975189209,
0.008673089981079102,
0.008617731094360351,
0.008660131454467774,
0.00871245002746582,
0.008227331161499023,
0.008069092750549317,
0.007778852939605713,
0.007851812839508057,
0.007663972854614258,
0.007650854110717774,
0.007641734123229981,
0.007659014225006104,
0.007670373916625977,
0.0076436538696289065,
0.007668132781982422,
0.0076767740249633785,
0.007662854194641113,
0.007655652999877929,
0.007650214195251465,
0.00763085412979126,
0.007648451805114746,
0.008508610725402831,
0.008671649932861328,
0.00866749095916748,
0.008708291053771973,
0.008528130531311035
]
},
"throughput": {
"unit": "samples/s",
"value": 118.3808898039522
},
"energy": null,
"efficiency": null
}
}
}