IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
de3f77a
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": "4", | |
"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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1043.853312, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 53145.100288, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 16.1805732421875, | |
"mean": 16.1805732421875, | |
"stdev": 0.0, | |
"p50": 16.1805732421875, | |
"p90": 16.1805732421875, | |
"p95": 16.1805732421875, | |
"p99": 16.1805732421875, | |
"values": [ | |
16.1805732421875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1160.568832, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 265366.585344, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.9984514636993409, | |
"mean": 0.007987611709594727, | |
"stdev": 0.00463182643461613, | |
"p50": 0.007920770168304444, | |
"p90": 0.008092354011535645, | |
"p95": 0.008146338081359865, | |
"p99": 0.0088456311416626, | |
"values": [ | |
0.008035329818725586, | |
0.00788877010345459, | |
0.007878849983215332, | |
0.007900290966033936, | |
0.00787677001953125, | |
0.007901090145111084, | |
0.0084638090133667, | |
0.008966206550598144, | |
0.008208768844604492, | |
0.008085249900817871, | |
0.008096449851989746, | |
0.008066370010375976, | |
0.008065089225769043, | |
0.008122690200805664, | |
0.008055970191955567, | |
0.00801965045928955, | |
0.0080006103515625, | |
0.0079340500831604, | |
0.007957251071929931, | |
0.007983650207519531, | |
0.008084449768066406, | |
0.007988289833068847, | |
0.008013569831848144, | |
0.008040289878845214, | |
0.00801004981994629, | |
0.008002850532531738, | |
0.007957251071929931, | |
0.007951170921325683, | |
0.007911970138549804, | |
0.007964449882507324, | |
0.008076129913330078, | |
0.008000129699707032, | |
0.008053250312805176, | |
0.008054530143737793, | |
0.008118529319763184, | |
0.00798701000213623, | |
0.007938690185546875, | |
0.007890690803527832, | |
0.007880929946899415, | |
0.007903329849243164, | |
0.007943170070648193, | |
0.00791772985458374, | |
0.007862051010131836, | |
0.007897729873657227, | |
0.007893089771270751, | |
0.007896131038665771, | |
0.008071490287780762, | |
0.00815132999420166, | |
0.008162529945373535, | |
0.008036609649658202, | |
0.008004449844360351, | |
0.007992770195007324, | |
0.007955490112304687, | |
0.007982369899749755, | |
0.007943490982055663, | |
0.007919970989227296, | |
0.00793628978729248, | |
0.007959010124206543, | |
0.007946370124816894, | |
0.00790461015701294, | |
0.007920770168304444, | |
0.007909730911254883, | |
0.00788220977783203, | |
0.007930689811706543, | |
0.007891170978546143, | |
0.008126370429992676, | |
0.008170529365539551, | |
0.00812572956085205, | |
0.008086210250854492, | |
0.008020609855651855, | |
0.00801101016998291, | |
0.008010689735412597, | |
0.007977410793304444, | |
0.008059009552001953, | |
0.008017729759216309, | |
0.057189865112304686, | |
0.0022571110725402833, | |
0.002211031913757324, | |
0.0022895920276641848, | |
0.0025137500762939455, | |
0.002249111890792847, | |
0.002206070899963379, | |
0.002196631908416748, | |
0.0025463910102844238, | |
0.007939970970153809, | |
0.007848609924316406, | |
0.007886530876159668, | |
0.00785853099822998, | |
0.007817730903625489, | |
0.007780291080474853, | |
0.007762051105499267, | |
0.0077580509185791015, | |
0.007760770797729492, | |
0.007760450839996338, | |
0.007779331207275391, | |
0.00806460952758789, | |
0.008101249694824219, | |
0.008021409988403321, | |
0.007985089778900147, | |
0.00791149091720581, | |
0.007877250194549561, | |
0.00793244981765747, | |
0.007840771198272705, | |
0.00784733009338379, | |
0.007810370922088623, | |
0.00786476993560791, | |
0.00783181095123291, | |
0.007845409870147705, | |
0.00782413101196289, | |
0.007852930068969727, | |
0.007902690887451172, | |
0.00786972999572754, | |
0.007857251167297363, | |
0.007856610774993897, | |
0.007879330158233642, | |
0.007891331195831299, | |
0.007848289966583252, | |
0.007793731212615966, | |
0.007747651100158692, | |
0.007714210987091064, | |
0.007746211051940918, | |
0.007773090839385986, | |
0.007787330150604248, | |
0.007812931060791015, | |
0.007897089958190918 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.19386724805351 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |