IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
163ec72
verified
{ | |
"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": 2, | |
"sequence_length": 16, | |
"num_choices": 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": 1082014.490624, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1109.925888, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 5067.210752, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.1022896957397461 | |
], | |
"count": 1, | |
"total": 0.1022896957397461, | |
"mean": 0.1022896957397461, | |
"p50": 0.1022896957397461, | |
"p90": 0.1022896957397461, | |
"p95": 0.1022896957397461, | |
"p99": 0.1022896957397461, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1227.259904, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 228810.665984, | |
"max_reserved": 555.74528, | |
"max_allocated": 500.456448 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.009185623168945313, | |
0.00807378101348877, | |
0.008009300231933594, | |
0.008135380744934083, | |
0.008090259552001954, | |
0.00799153995513916, | |
0.008060501098632813, | |
0.00800193977355957, | |
0.008049461364746094, | |
0.00798002004623413, | |
0.007943059921264648, | |
0.007981299877166748, | |
0.00797762107849121, | |
0.007987860202789307, | |
0.008181780815124511, | |
0.008013620376586914, | |
0.007984499931335449, | |
0.007954421043395997, | |
0.00795329999923706, | |
0.00798178005218506, | |
0.007932660102844238, | |
0.007949299812316894, | |
0.007931700229644775, | |
0.007952179908752442, | |
0.007946420192718505, | |
0.007912660121917724, | |
0.007923220157623291, | |
0.007948180198669434, | |
0.00793586015701294, | |
0.007979859828948974, | |
0.007919700145721435, | |
0.007726419925689698, | |
0.0077286591529846195, | |
0.0074603381156921385, | |
0.007948500156402588, | |
0.007967860221862792, | |
0.008004659652709962, | |
0.008068981170654297, | |
0.008055859565734864, | |
0.008037779808044434, | |
0.007990580081939697, | |
0.007984020233154298, | |
0.007636498928070068, | |
0.007605938911437988, | |
0.007993299961090088, | |
0.007950419902801514, | |
0.008180021286010742, | |
0.008075220108032227, | |
0.008047220230102538, | |
0.00805858039855957, | |
0.00797762107849121, | |
0.00803730010986328, | |
0.008019700050354003, | |
0.00798914098739624, | |
0.007958899974822999, | |
0.008013779640197755, | |
0.008057781219482422, | |
0.007974259853363037, | |
0.008220021247863769, | |
0.008015859603881835, | |
0.00801058006286621, | |
0.007967380046844483, | |
0.007940659999847412, | |
0.008012020111083984, | |
0.007979540824890137, | |
0.007973460197448731, | |
0.008018899917602539, | |
0.008009140968322753, | |
0.008022259712219239, | |
0.007975699901580811, | |
0.007953939914703369, | |
0.008002260208129882, | |
0.007961939811706543, | |
0.008049460411071777, | |
0.007953780174255371, | |
0.00801121997833252, | |
0.007965939998626709, | |
0.007928659915924072, | |
0.007976659774780273, | |
0.007943059921264648, | |
0.007954740047454834, | |
0.00793858003616333, | |
0.007975700855255128, | |
0.007981460094451904, | |
0.008000659942626952, | |
0.007993300914764405, | |
0.007998419761657714, | |
0.00799266004562378, | |
0.007974899768829346, | |
0.007959859848022461, | |
0.007936019897460938, | |
0.008043540000915528, | |
0.007964819908142089, | |
0.007944819927215576, | |
0.007951700210571289, | |
0.008002260208129882, | |
0.007973939895629882, | |
0.00797026014328003, | |
0.00794178009033203, | |
0.007982900142669678, | |
0.007980340957641602, | |
0.00796258020401001, | |
0.007972020149230957, | |
0.008022740364074707, | |
0.007978740215301514, | |
0.00799314022064209, | |
0.008028980255126952, | |
0.007973461151123047, | |
0.007953780174255371, | |
0.007973139762878417, | |
0.007997459888458252, | |
0.008008980751037597, | |
0.008011699676513672, | |
0.008028019905090332, | |
0.00803890037536621, | |
0.008033780097961426, | |
0.008019861221313476, | |
0.008015859603881835, | |
0.008007220268249512, | |
0.008010260581970215, | |
0.008067858695983888, | |
0.008013460159301758, | |
0.00807009983062744 | |
], | |
"count": 123, | |
"total": 0.9829552807807925, | |
"mean": 0.007991506347811319, | |
"p50": 0.007982900142669678, | |
"p90": 0.00805842056274414, | |
"p95": 0.00807507619857788, | |
"p99": 0.008211608352661132, | |
"stdev": 0.0001408565285133693, | |
"stdev_": 1.7625779469216902 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 250.26570873559425 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |