IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9a94986
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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": 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": 1078.792192, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46888.046592, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.7605029296875, | |
"mean": 8.7605029296875, | |
"stdev": 0.0, | |
"p50": 8.7605029296875, | |
"p90": 8.7605029296875, | |
"p95": 8.7605029296875, | |
"p99": 8.7605029296875, | |
"values": [ | |
8.7605029296875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1196.552192, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 229391.757312, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 1.0002607202529907, | |
"mean": 0.007876068663409376, | |
"stdev": 0.0011980852280284167, | |
"p50": 0.008111371040344238, | |
"p90": 0.008169163131713867, | |
"p95": 0.008199979305267334, | |
"p99": 0.011503539104461665, | |
"values": [ | |
0.007789929866790771, | |
0.0076728110313415525, | |
0.00766176986694336, | |
0.007828011035919189, | |
0.007484169960021972, | |
0.007475689888000488, | |
0.008646891593933106, | |
0.00741825008392334, | |
0.007558249950408936, | |
0.00749025011062622, | |
0.007340489864349365, | |
0.007295849800109863, | |
0.007244009971618653, | |
0.0073377699851989745, | |
0.007383530139923096, | |
0.007584811210632324, | |
0.007339529991149903, | |
0.007374249935150147, | |
0.007322889804840088, | |
0.007404650211334228, | |
0.007126568794250488, | |
0.007107530117034912, | |
0.0071225700378417965, | |
0.007092648983001709, | |
0.007110569953918457, | |
0.007353449821472168, | |
0.010831854820251464, | |
0.008120970726013184, | |
0.008079530715942383, | |
0.008164811134338378, | |
0.008128331184387208, | |
0.008162731170654297, | |
0.008162891387939453, | |
0.008151531219482422, | |
0.008167211532592773, | |
0.008165770530700684, | |
0.008163531303405762, | |
0.008131851196289062, | |
0.00813905143737793, | |
0.00814353084564209, | |
0.008175850868225098, | |
0.008157450675964356, | |
0.008180492401123047, | |
0.00820785140991211, | |
0.008170411109924317, | |
0.00812705135345459, | |
0.008154251098632813, | |
0.008131211280822753, | |
0.008129290580749512, | |
0.008125770568847656, | |
0.00812049102783203, | |
0.008138731002807617, | |
0.008082891464233398, | |
0.008119211196899415, | |
0.007732651233673096, | |
0.007655210018157959, | |
0.00747697114944458, | |
0.0072790498733520505, | |
0.007171848773956299, | |
0.017328344345092773, | |
0.002475203037261963, | |
0.0035348849296569823, | |
0.007195529937744141, | |
0.007196489810943603, | |
0.007180489063262939, | |
0.0071803297996521, | |
0.007277450084686279, | |
0.007260009765625, | |
0.007168489933013916, | |
0.007159049034118652, | |
0.007153289794921875, | |
0.0075652899742126465, | |
0.008136171340942383, | |
0.008088171005249023, | |
0.008114090919494629, | |
0.008131851196289062, | |
0.008105931282043457, | |
0.008105610847473145, | |
0.007809609889984131, | |
0.007182089805603027, | |
0.007348490238189697, | |
0.007146890163421631, | |
0.007179210186004639, | |
0.007457129955291748, | |
0.007304329872131348, | |
0.00716112995147705, | |
0.007172648906707764, | |
0.0073990502357482914, | |
0.008164812088012695, | |
0.00816593074798584, | |
0.008131851196289062, | |
0.008141930580139161, | |
0.008127370834350585, | |
0.008090730667114257, | |
0.008116331100463867, | |
0.008123371124267578, | |
0.008133291244506836, | |
0.00814513111114502, | |
0.008117131233215332, | |
0.008111371040344238, | |
0.008138091087341308, | |
0.008133770942687989, | |
0.008172171592712402, | |
0.008126891136169434, | |
0.008088171005249023, | |
0.008108330726623534, | |
0.008113611221313476, | |
0.008106890678405762, | |
0.00810465145111084, | |
0.008089450836181641, | |
0.008126730918884278, | |
0.008168331146240234, | |
0.008156331062316894, | |
0.008147690773010254, | |
0.008129450798034668, | |
0.011739536285400391, | |
0.00829841136932373, | |
0.00815889072418213, | |
0.008144810676574707, | |
0.008128331184387208, | |
0.008135210990905762, | |
0.008157132148742675, | |
0.008141611099243164, | |
0.008157450675964356, | |
0.008224970817565918, | |
0.008178251266479492, | |
0.00818161106109619 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.9668971584514 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |