IlyasMoutawwakil HF Staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fadb84f verified | { | |
| "config": { | |
| "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
| "backend": { | |
| "name": "pytorch", | |
| "version": "2.4.1+cu124", | |
| "_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": true, | |
| "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 7R32", | |
| "cpu_count": 16, | |
| "cpu_ram_mb": 66697.261056, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-5.10.225-213.878.amzn2.x86_64-x86_64-with-glibc2.35", | |
| "processor": "x86_64", | |
| "python_version": "3.10.12", | |
| "gpu": [ | |
| "NVIDIA A10G" | |
| ], | |
| "gpu_count": 1, | |
| "gpu_vram_mb": 24146608128, | |
| "optimum_benchmark_version": "0.5.0", | |
| "optimum_benchmark_commit": null, | |
| "transformers_version": "4.45.1", | |
| "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.13.0", | |
| "peft_commit": null | |
| } | |
| }, | |
| "report": { | |
| "load": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 803.188736, | |
| "max_global_vram": 1192.7552, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 555.74528, | |
| "max_allocated": 499.374592 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.21232537841796875 | |
| ], | |
| "count": 1, | |
| "total": 0.21232537841796875, | |
| "mean": 0.21232537841796875, | |
| "p50": 0.21232537841796875, | |
| "p90": 0.21232537841796875, | |
| "p95": 0.21232537841796875, | |
| "p99": 0.21232537841796875, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": null, | |
| "efficiency": null | |
| }, | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1079.095296, | |
| "max_global_vram": 1203.24096, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 555.74528, | |
| "max_allocated": 508.992512 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.006037504196166992, | |
| 0.0055214080810546875, | |
| 0.005463039875030518, | |
| 0.005453824043273926, | |
| 0.005459968090057373, | |
| 0.005416959762573242, | |
| 0.005411839962005615, | |
| 0.005438464164733887, | |
| 0.005420032024383545, | |
| 0.005422080039978027, | |
| 0.005431295871734619, | |
| 0.0056483840942382815, | |
| 0.005463039875030518, | |
| 0.005416959762573242, | |
| 0.005435391902923584, | |
| 0.005438432216644287, | |
| 0.005440512180328369, | |
| 0.005441567897796631, | |
| 0.005416959762573242, | |
| 0.005430272102355957, | |
| 0.005673984050750733, | |
| 0.005433343887329102, | |
| 0.005463039875030518, | |
| 0.005408768177032471, | |
| 0.00541593599319458, | |
| 0.005403647899627686, | |
| 0.005399551868438721, | |
| 0.005430304050445557, | |
| 0.005450751781463623, | |
| 0.005426176071166992, | |
| 0.005445631980895996, | |
| 0.005430272102355957, | |
| 0.0054271998405456545, | |
| 0.005434368133544922, | |
| 0.0054241280555725096, | |
| 0.005404672145843506, | |
| 0.005399551868438721, | |
| 0.005403647899627686, | |
| 0.00551526403427124, | |
| 0.005439487934112549, | |
| 0.005392384052276611, | |
| 0.005451776027679443, | |
| 0.005426176071166992, | |
| 0.005432320117950439, | |
| 0.005585919857025146, | |
| 0.0054579200744628905, | |
| 0.005486591815948487, | |
| 0.005455872058868408, | |
| 0.005434368133544922, | |
| 0.005432320117950439, | |
| 0.005473279953002929, | |
| 0.0054354238510131835, | |
| 0.005467135906219483, | |
| 0.005434368133544922, | |
| 0.0054139518737792965, | |
| 0.005541888236999512, | |
| 0.0054241280555725096, | |
| 0.005416959762573242, | |
| 0.005468160152435303, | |
| 0.005392384052276611, | |
| 0.005475296020507813, | |
| 0.005420032024383545, | |
| 0.0054783358573913575, | |
| 0.005408768177032471, | |
| 0.005450751781463623, | |
| 0.005421120166778565, | |
| 0.005453824043273926, | |
| 0.005425151824951172, | |
| 0.005436416149139404, | |
| 0.0054906878471374515, | |
| 0.005411839962005615, | |
| 0.005429247856140137, | |
| 0.005430272102355957, | |
| 0.005452799797058106, | |
| 0.005422080039978027, | |
| 0.005408768177032471, | |
| 0.005390336036682129, | |
| 0.005430272102355957, | |
| 0.005421055793762207, | |
| 0.005375999927520752, | |
| 0.0054609918594360355, | |
| 0.005541888236999512, | |
| 0.005409791946411133, | |
| 0.005440512180328369, | |
| 0.005392384052276611, | |
| 0.005402624130249023, | |
| 0.005410751819610596, | |
| 0.005388288021087646, | |
| 0.005409791946411133, | |
| 0.005417984008789062, | |
| 0.005412864208221436, | |
| 0.005587967872619629, | |
| 0.005391359806060791, | |
| 0.005419007778167725, | |
| 0.005413887977600097, | |
| 0.005378047943115235, | |
| 0.0054241280555725096, | |
| 0.005469151973724365, | |
| 0.005463007926940918, | |
| 0.005493760108947754, | |
| 0.005597184181213379, | |
| 0.005422080039978027, | |
| 0.0053944320678710935, | |
| 0.005364704132080078, | |
| 0.005407743930816651, | |
| 0.005409791946411133, | |
| 0.005385216236114502, | |
| 0.0053975038528442385, | |
| 0.005426176071166992, | |
| 0.005392384052276611, | |
| 0.005588992118835449, | |
| 0.00556441593170166, | |
| 0.005567488193511963, | |
| 0.005479423999786377, | |
| 0.005435391902923584, | |
| 0.005534719944000244, | |
| 0.005426176071166992, | |
| 0.005395455837249756, | |
| 0.0057497601509094234, | |
| 0.005381120204925537, | |
| 0.005889023780822754, | |
| 0.005451776027679443, | |
| 0.005406720161437988, | |
| 0.005445631980895996, | |
| 0.005409791946411133, | |
| 0.005430304050445557, | |
| 0.005446656227111817, | |
| 0.005404672145843506, | |
| 0.00542310380935669, | |
| 0.005430272102355957, | |
| 0.005399551868438721, | |
| 0.005395455837249756, | |
| 0.005400576114654541, | |
| 0.005543935775756836, | |
| 0.005588960170745849, | |
| 0.005404672145843506, | |
| 0.00547430419921875, | |
| 0.005419007778167725, | |
| 0.005372928142547607, | |
| 0.005413887977600097, | |
| 0.005439455986022949, | |
| 0.005378047943115235, | |
| 0.005432320117950439, | |
| 0.005401599884033203, | |
| 0.005405695915222168, | |
| 0.005412864208221436, | |
| 0.005380095958709717, | |
| 0.005400576114654541, | |
| 0.00542310380935669, | |
| 0.005411839962005615, | |
| 0.005430272102355957, | |
| 0.005469151973724365, | |
| 0.0054241280555725096, | |
| 0.005447679996490478, | |
| 0.005417984008789062, | |
| 0.005417984008789062, | |
| 0.005444608211517334, | |
| 0.005368832111358642, | |
| 0.005398528099060058, | |
| 0.005406720161437988, | |
| 0.005402624130249023, | |
| 0.005403647899627686, | |
| 0.005470208168029785, | |
| 0.005406720161437988, | |
| 0.005390336036682129, | |
| 0.005398496150970459, | |
| 0.005414912223815918, | |
| 0.005417984008789062, | |
| 0.005396480083465576, | |
| 0.005393407821655274, | |
| 0.0056483840942382815, | |
| 0.006032320022583007, | |
| 0.0055582718849182125, | |
| 0.005443583965301513, | |
| 0.005389311790466309, | |
| 0.0054271998405456545, | |
| 0.005413887977600097, | |
| 0.0054282240867614745, | |
| 0.0053944320678710935, | |
| 0.005379072189331055, | |
| 0.005434368133544922, | |
| 0.005417984008789062, | |
| 0.005432320117950439 | |
| ], | |
| "count": 183, | |
| "total": 0.9970992980003356, | |
| "mean": 0.005448630043717682, | |
| "p50": 0.005426176071166992, | |
| "p90": 0.005532057571411133, | |
| "p95": 0.005588860940933227, | |
| "p99": 0.0059148171043396005, | |
| "stdev": 9.054432976457983e-05, | |
| "stdev_": 1.6617815678085581 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 183.53237272055364 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 6.457722214296509e-08, | |
| "ram": 3.528483464942071e-08, | |
| "gpu": 1.2612026997826312e-07, | |
| "total": 2.259823267706489e-07 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 4425124.806396508 | |
| } | |
| } | |
| } | |
| } |