IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
61ee967 verified
raw
history blame
11 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": 1042.92352,
"max_global_vram": 68702.69952,
"max_process_vram": 54984.814592,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 19.712884765625,
"mean": 19.712884765625,
"stdev": 0.0,
"p50": 19.712884765625,
"p90": 19.712884765625,
"p95": 19.712884765625,
"p99": 19.712884765625,
"values": [
19.712884765625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1159.913472,
"max_global_vram": 68702.69952,
"max_process_vram": 259819.065344,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 122,
"total": 0.9972260696887969,
"mean": 0.008173984177777026,
"stdev": 0.0014704026266823857,
"p50": 0.008039011001586913,
"p90": 0.008192994689941406,
"p95": 0.008282442331314087,
"p99": 0.01653031551361084,
"values": [
0.007931491851806641,
0.007937252044677734,
0.007930051803588868,
0.007970692157745362,
0.007935972213745117,
0.007938052177429199,
0.008036131858825684,
0.008231491088867187,
0.008031810760498047,
0.007881092071533204,
0.016546342849731447,
0.006491977214813233,
0.00814397144317627,
0.008284290313720704,
0.008183650970458985,
0.008135811805725097,
0.00810669231414795,
0.008358530044555664,
0.008193250656127929,
0.00803645133972168,
0.008224451065063476,
0.008065892219543456,
0.008093252182006835,
0.00820509147644043,
0.00804189109802246,
0.008125890731811523,
0.008063331604003906,
0.008174370765686036,
0.008166530609130859,
0.008169570922851562,
0.007995971202850342,
0.007967651844024658,
0.008014851570129395,
0.008166211128234863,
0.008157251358032226,
0.00804525089263916,
0.008023652076721191,
0.00798141098022461,
0.007965732097625732,
0.008023491859436035,
0.008051811218261718,
0.00805277156829834,
0.00801421070098877,
0.008014851570129395,
0.00796701192855835,
0.007971971035003663,
0.008006052017211914,
0.008065251350402832,
0.007936771869659423,
0.007972931861877442,
0.008049250602722168,
0.007997891902923583,
0.007995971202850342,
0.008019971847534179,
0.008187810897827148,
0.007954852104187012,
0.007974371910095215,
0.007985732078552247,
0.007988771915435792,
0.007968451976776123,
0.007971012115478515,
0.007981252193450928,
0.016470022201538086,
0.004938222885131836,
0.008062850952148438,
0.008107651710510254,
0.00810349178314209,
0.008059651374816894,
0.008152131080627442,
0.008014052391052247,
0.008179330825805664,
0.008136771202087402,
0.008063490867614747,
0.008139652252197266,
0.008065892219543456,
0.008094691276550292,
0.008207011222839355,
0.008457249641418457,
0.008190690994262695,
0.0080222110748291,
0.007943332195281982,
0.007985251903533936,
0.008100451469421387,
0.008082691192626954,
0.007987971782684327,
0.00801725196838379,
0.008058851242065429,
0.007987331867218018,
0.008115970611572265,
0.00811245059967041,
0.008133570671081542,
0.008012452125549317,
0.007996931076049804,
0.008045891761779785,
0.008083010673522949,
0.00807229232788086,
0.008069572448730468,
0.008065251350402832,
0.007985732078552247,
0.007964931964874267,
0.007996291160583495,
0.008016291618347169,
0.007985251903533936,
0.00800221061706543,
0.016646820068359373,
0.002279031991958618,
0.006942854881286621,
0.007959971904754639,
0.007883011817932129,
0.008041570663452149,
0.007877731800079345,
0.007906211853027343,
0.007830691814422608,
0.007923171997070313,
0.007902852058410645,
0.008086530685424805,
0.008190690994262695,
0.008168451309204102,
0.007945732116699218,
0.008042531967163086,
0.008958847999572753,
0.008247330665588378
]
},
"throughput": {
"unit": "samples/s",
"value": 122.33936086134646
},
"energy": null,
"efficiency": null
}
}
}