IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1ccd9c0 verified
raw
history blame
10.7 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+rocm6.1",
"_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": "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": 1389.215744,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 9.0046533203125,
"mean": 9.0046533203125,
"stdev": 0.0,
"p50": 9.0046533203125,
"p90": 9.0046533203125,
"p95": 9.0046533203125,
"p99": 9.0046533203125,
"values": [
9.0046533203125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1518.682112,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 114,
"total": 1.0011841049194337,
"mean": 0.008782316709819592,
"stdev": 0.0008400139822451781,
"p50": 0.008726449966430665,
"p90": 0.008897314167022705,
"p95": 0.008967768955230711,
"p99": 0.009036511783599852,
"values": [
0.00877229118347168,
0.008571331024169921,
0.008650851249694825,
0.008849889755249023,
0.008679970741271973,
0.008617250442504883,
0.008622211456298828,
0.00857820987701416,
0.00863917064666748,
0.008612770080566406,
0.008580771446228028,
0.008625089645385742,
0.008628291130065918,
0.017108739852905272,
0.0056911811828613285,
0.00866989040374756,
0.008669410705566406,
0.008638211250305176,
0.008659330368041993,
0.008628291130065918,
0.008635649681091309,
0.008614050865173339,
0.008659970283508301,
0.008625890731811523,
0.00871389102935791,
0.008735329627990722,
0.00877357006072998,
0.008675649642944335,
0.008707010269165039,
0.008735010147094727,
0.008727330207824707,
0.008674851417541504,
0.008727970123291016,
0.008645569801330567,
0.008675010681152343,
0.008651491165161132,
0.008666049957275391,
0.008604930877685548,
0.008640130043029786,
0.008613410949707032,
0.008663969993591309,
0.008636930465698241,
0.008623491287231446,
0.008621410369873047,
0.008692770957946778,
0.008590370178222657,
0.008695650100708007,
0.008695330619812012,
0.008725569725036622,
0.008788129806518555,
0.008780610084533692,
0.008765410423278809,
0.008759010314941406,
0.00875821018218994,
0.008755970001220702,
0.00870652961730957,
0.00884669017791748,
0.009005729675292968,
0.009038529396057128,
0.009023009300231933,
0.008844449996948242,
0.008843489646911621,
0.008895970344543458,
0.008922529220581055,
0.008791970252990724,
0.008942209243774413,
0.00900844955444336,
0.008947328567504883,
0.008886529922485351,
0.008897890090942382,
0.008881730079650879,
0.008864129066467285,
0.008883970260620117,
0.008848770141601563,
0.008759010314941406,
0.008718050003051758,
0.008767009735107422,
0.008713410377502442,
0.008639490127563477,
0.008659171104431153,
0.008638529777526856,
0.008661250114440917,
0.008636771202087402,
0.008603329658508302,
0.008644770622253418,
0.008639650344848633,
0.008623010635375976,
0.008681249618530274,
0.009023009300231933,
0.008911809921264648,
0.00891148853302002,
0.008823650360107422,
0.008778690338134765,
0.008767009735107422,
0.00873917007446289,
0.008724129676818848,
0.008730850219726562,
0.008729729652404785,
0.008765729904174804,
0.008740130424499512,
0.00873789119720459,
0.008760130882263184,
0.008740771293640136,
0.008731810569763184,
0.008744609832763673,
0.008715330123901367,
0.008699009895324707,
0.008734689712524415,
0.008744770050048829,
0.008754690170288086,
0.008881889343261718,
0.008803489685058594,
0.008743969917297364,
0.008732290267944335
]
},
"throughput": {
"unit": "samples/s",
"value": 113.86517169004968
},
"energy": null,
"efficiency": null
}
}
}