IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2c1f99d verified
raw
history blame
11.3 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": "6",
"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": 1042.325504,
"max_global_vram": 68702.69952,
"max_process_vram": 47253.13536,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 15.0749658203125,
"mean": 15.0749658203125,
"stdev": 0.0,
"p50": 15.0749658203125,
"p90": 15.0749658203125,
"p95": 15.0749658203125,
"p99": 15.0749658203125,
"values": [
15.0749658203125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1159.31136,
"max_global_vram": 68702.69952,
"max_process_vram": 238667.567104,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 128,
"total": 0.9962730417251586,
"mean": 0.0077833831384778035,
"stdev": 0.0013131361159982764,
"p50": 0.007716256380081176,
"p90": 0.00778336091041565,
"p95": 0.007810992527008056,
"p99": 0.013457797946929962,
"values": [
0.007801776885986328,
0.007811216831207275,
0.007778896808624268,
0.00771217679977417,
0.007691377162933349,
0.00771217679977417,
0.007693295955657959,
0.007911538124084473,
0.0077163357734680174,
0.007701616764068603,
0.007750096797943115,
0.007663217067718506,
0.0076971368789672855,
0.0077182559967041015,
0.007731057167053222,
0.007678417205810547,
0.007675696849822998,
0.007698256015777588,
0.007736815929412842,
0.007698417186737061,
0.007709617137908935,
0.007695696830749512,
0.007683375835418701,
0.0077340960502624515,
0.007684176921844483,
0.007672176837921142,
0.015509154319763184,
0.0038081679344177245,
0.007712817192077637,
0.007688975811004638,
0.007713776111602783,
0.007700497150421142,
0.007696977138519287,
0.0077136168479919436,
0.007711056232452392,
0.007697455883026123,
0.007720817089080811,
0.007688497066497803,
0.007676657199859619,
0.007678575992584228,
0.007714735984802246,
0.007702896118164063,
0.007687057018280029,
0.007705936908721924,
0.007691536903381348,
0.0076875357627868655,
0.007731377124786377,
0.007704337120056152,
0.007688177108764648,
0.007700016975402832,
0.007704495906829834,
0.007702897071838379,
0.007720817089080811,
0.007848977088928222,
0.0077848172187805174,
0.007725616931915283,
0.0077443370819091795,
0.007745616912841797,
0.007732975959777832,
0.007689616203308105,
0.0077369771003723145,
0.007731057167053222,
0.007832497119903565,
0.007740656852722168,
0.0077345771789550785,
0.0077204971313476565,
0.007720816135406494,
0.007712017059326172,
0.007704337120056152,
0.007762736797332763,
0.007741137027740479,
0.007707696914672851,
0.007727695941925049,
0.007722896099090576,
0.00775249719619751,
0.007757456779479981,
0.007766097068786621,
0.0077142567634582515,
0.007739536762237549,
0.0077203369140625,
0.0077182559967041015,
0.0077142567634582515,
0.00775089693069458,
0.0077657771110534665,
0.007742096900939941,
0.007719377040863037,
0.007722096920013428,
0.00772433614730835,
0.01837619972229004,
0.0025019259452819824,
0.005652812004089356,
0.0077614569664001464,
0.0077491369247436525,
0.007742577075958252,
0.007705457210540771,
0.007715375900268555,
0.007703216075897217,
0.007698417186737061,
0.007702416896820068,
0.007698417186737061,
0.007727537155151367,
0.007704815864562988,
0.0077161769866943355,
0.0077259368896484375,
0.0076899371147155764,
0.007771216869354248,
0.007684017181396484,
0.0077137770652770995,
0.007731536865234375,
0.007684175968170166,
0.007707376956939697,
0.007706256866455078,
0.007715376853942871,
0.0077228970527648926,
0.007712975978851318,
0.007715055942535401,
0.007727056980133057,
0.0077614569664001464,
0.007776977062225342,
0.0077827367782592775,
0.007824817180633544,
0.0077632169723510745,
0.0077332968711853025,
0.00775249719619751,
0.007800497055053711,
0.007806256771087646,
0.0078105759620666505,
0.007806577205657959
]
},
"throughput": {
"unit": "samples/s",
"value": 128.47883525820754
},
"energy": null,
"efficiency": null
}
}
}