IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5256386
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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": "0", | |
"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.33.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.34272, | |
"max_global_vram": 12.136448, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 11.3964990234375, | |
"mean": 11.3964990234375, | |
"stdev": 0.0, | |
"p50": 11.3964990234375, | |
"p90": 11.3964990234375, | |
"p95": 11.3964990234375, | |
"p99": 11.3964990234375, | |
"values": [ | |
11.3964990234375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1518.538752, | |
"max_global_vram": 12.087296, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 116, | |
"total": 0.9945579221248627, | |
"mean": 0.008573775190731573, | |
"stdev": 0.0011297277430416086, | |
"p50": 0.008505733966827394, | |
"p90": 0.008717973232269288, | |
"p95": 0.00877021336555481, | |
"p99": 0.00895086131095886, | |
"values": [ | |
0.008710533142089845, | |
0.00872445297241211, | |
0.008721572875976562, | |
0.008967013359069824, | |
0.008647652626037597, | |
0.008555494308471679, | |
0.008530214309692382, | |
0.00852285385131836, | |
0.01930746078491211, | |
0.002990710973739624, | |
0.008526694297790528, | |
0.008500453948974609, | |
0.008458853721618653, | |
0.008508294105529786, | |
0.00846013355255127, | |
0.008570693969726562, | |
0.008493413925170898, | |
0.008414214134216308, | |
0.008447174072265626, | |
0.008436774253845215, | |
0.008417573928833008, | |
0.008411495208740235, | |
0.008427334785461425, | |
0.008411173820495605, | |
0.008433733940124512, | |
0.008416454315185546, | |
0.008423494338989259, | |
0.008482534408569336, | |
0.00847901439666748, | |
0.00850909423828125, | |
0.00845245361328125, | |
0.00848845386505127, | |
0.008517733573913574, | |
0.008503813743591309, | |
0.008602053642272948, | |
0.008615813255310058, | |
0.008524293899536134, | |
0.008461093902587891, | |
0.00846717357635498, | |
0.008511974334716796, | |
0.008494214057922363, | |
0.008512133598327637, | |
0.008579652786254882, | |
0.00849213409423828, | |
0.008527173995971679, | |
0.008500453948974609, | |
0.008540614128112793, | |
0.008483174324035645, | |
0.008512614250183105, | |
0.008771653175354005, | |
0.008859333038330077, | |
0.008795333862304687, | |
0.008754854202270507, | |
0.008741573333740234, | |
0.008769733428955078, | |
0.008807493209838866, | |
0.008723813056945801, | |
0.008636294364929199, | |
0.008636453628540038, | |
0.008540453910827637, | |
0.008525894165039063, | |
0.008497894287109375, | |
0.00851229476928711, | |
0.008512293815612793, | |
0.008541254043579102, | |
0.008557093620300294, | |
0.0086506929397583, | |
0.008613734245300294, | |
0.008584613800048829, | |
0.008574213027954102, | |
0.00851021385192871, | |
0.008376935005187987, | |
0.008424295425415038, | |
0.008420614242553711, | |
0.008413893699645996, | |
0.00843501377105713, | |
0.00837789535522461, | |
0.008401894569396972, | |
0.008401413917541505, | |
0.008455333709716796, | |
0.008446694374084473, | |
0.008650854110717773, | |
0.008684292793273925, | |
0.008662373542785644, | |
0.008714373588562013, | |
0.008648452758789062, | |
0.00858397388458252, | |
0.008527013778686523, | |
0.008528134346008302, | |
0.008507654190063477, | |
0.008491013526916504, | |
0.008460454940795899, | |
0.008454854011535645, | |
0.008474213600158691, | |
0.008451494216918945, | |
0.008468934059143066, | |
0.00843101406097412, | |
0.00843165397644043, | |
0.008452934265136719, | |
0.008509413719177246, | |
0.008443973541259765, | |
0.008416134834289551, | |
0.008473574638366699, | |
0.008462855339050293, | |
0.008432294845581055, | |
0.008455493927001952, | |
0.008509573936462402, | |
0.008534693717956543, | |
0.008536454200744628, | |
0.00849117374420166, | |
0.008481574058532716, | |
0.008464292526245117, | |
0.008509254455566407, | |
0.00841181468963623, | |
0.008368615150451661, | |
0.008468294143676757 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 116.63473531251677 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |