IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6d63c91 verified
raw
history blame
11.1 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.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": 1032.507392,
"max_global_vram": 68702.69952,
"max_process_vram": 46363.738112,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.8263759765625,
"mean": 8.8263759765625,
"stdev": 0.0,
"p50": 8.8263759765625,
"p90": 8.8263759765625,
"p95": 8.8263759765625,
"p99": 8.8263759765625,
"values": [
8.8263759765625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1149.76768,
"max_global_vram": 68702.69952,
"max_process_vram": 235458.269184,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 125,
"total": 1.0006552591323856,
"mean": 0.00800524207305908,
"stdev": 0.0011445919658791043,
"p50": 0.00793453311920166,
"p90": 0.00815363597869873,
"p95": 0.008256003189086914,
"p99": 0.008456642456054689,
"values": [
0.007987331867218018,
0.007999331951141357,
0.008110371589660645,
0.008148772239685059,
0.00829613208770752,
0.008259011268615722,
0.008507329940795899,
0.008288612365722656,
0.008196931838989258,
0.008147332191467285,
0.008180610656738281,
0.008055011749267578,
0.008048771858215332,
0.007991013050079345,
0.007979173183441162,
0.007978052139282226,
0.007960931777954101,
0.007921253204345703,
0.00798173189163208,
0.007982691764831544,
0.007977733135223389,
0.007910212993621827,
0.007870852947235107,
0.00785885190963745,
0.007867012977600098,
0.007936612129211425,
0.007941893100738525,
0.007871332168579102,
0.007900612831115723,
0.007901892185211182,
0.007871973037719726,
0.007847012996673584,
0.007863172054290771,
0.007862372875213623,
0.01928521156311035,
0.002356791973114014,
0.006408778190612793,
0.007853093147277833,
0.007868453025817871,
0.007820292949676514,
0.007824132919311524,
0.007918852806091309,
0.008019171714782714,
0.00796317195892334,
0.007908613204956054,
0.007877253055572509,
0.007871013164520263,
0.0078351731300354,
0.007864452838897706,
0.007852453231811524,
0.007819812774658203,
0.007895172119140625,
0.007919013023376465,
0.007846052169799805,
0.007829573154449463,
0.007843812942504884,
0.00785325288772583,
0.007921092987060547,
0.007915653228759766,
0.008020612716674804,
0.008059653282165527,
0.007996932983398437,
0.008005731582641602,
0.008114212036132813,
0.008152291297912598,
0.008137572288513183,
0.008021092414855957,
0.008154532432556153,
0.008176291465759277,
0.008106371879577638,
0.008107172012329102,
0.008071331977844239,
0.008041571617126465,
0.008005891799926758,
0.008034531593322753,
0.008014052391052247,
0.008043492317199707,
0.007928772926330567,
0.007911811828613282,
0.007913413047790528,
0.007980291843414306,
0.007979812145233155,
0.008015492439270019,
0.007921253204345703,
0.007924451828002929,
0.007920773029327392,
0.007894691944122314,
0.008016133308410644,
0.008266692161560058,
0.008263331413269043,
0.00824397087097168,
0.008053892135620118,
0.007958373069763184,
0.007917252063751221,
0.007949732780456542,
0.007932133197784423,
0.00795229196548462,
0.007900292873382569,
0.00792493200302124,
0.007947972774505615,
0.007948771953582763,
0.007901732921600341,
0.008022051811218261,
0.007913891792297362,
0.007895652770996093,
0.0081705322265625,
0.008116771697998047,
0.008021411895751953,
0.00799757194519043,
0.007831653118133546,
0.007849573135375976,
0.00793453311920166,
0.0078636531829834,
0.00785981321334839,
0.007856933116912842,
0.007852932929992677,
0.007888133049011231,
0.00784013319015503,
0.007816292762756348,
0.0078385329246521,
0.007828452110290528,
0.007882372856140137,
0.00794509220123291,
0.007850852966308594,
0.00787453317642212
]
},
"throughput": {
"unit": "samples/s",
"value": 124.91814624387308
},
"energy": null,
"efficiency": null
}
}
}