{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "library": "transformers", "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": {}, "hub_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, "latency": true, "memory": 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.285632, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 908.505088, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 135, "total": 1.002766082286835, "mean": 0.007427896905828405, "stdev": 0.0001725960668012388, "p50": 0.00742195177078247, "p90": 0.007624499225616455, "p95": 0.007669862556457519, "p99": 0.007903109216690064, "values": [ 0.008250368118286134, 0.007636991977691651, 0.007659520149230957, 0.007620607852935791, 0.007599071979522705, 0.007602176189422607, 0.007712768077850342, 0.007488512039184571, 0.007473152160644531, 0.007488512039184571, 0.007527423858642578, 0.00742195177078247, 0.00760319995880127, 0.0074332160949707035, 0.007497727870941162, 0.007513088226318359, 0.007458816051483155, 0.007442431926727295, 0.007514111995697022, 0.007491583824157715, 0.00744755220413208, 0.0074618558883666995, 0.007477248191833496, 0.0074967041015625, 0.007476191997528076, 0.007459839820861816, 0.007552000045776367, 0.007588863849639893, 0.0073994240760803225, 0.007364607810974121, 0.0074208641052246095, 0.007467967987060547, 0.007531519889831543, 0.00749567985534668, 0.007452672004699707, 0.0074301438331604, 0.00744755220413208, 0.007414783954620361, 0.007450623989105225, 0.007463935852050781, 0.007523327827453613, 0.007674880027770996, 0.007444479942321777, 0.007491583824157715, 0.007395328044891358, 0.007368703842163086, 0.007413760185241699, 0.007465983867645264, 0.007423999786376953, 0.0075038719177246095, 0.007527423858642578, 0.007510015964508057, 0.007667712211608887, 0.00744755220413208, 0.007427072048187256, 0.007554048061370849, 0.007560192108154297, 0.007622655868530274, 0.007589888095855713, 0.007667712211608887, 0.007651328086853027, 0.00762883186340332, 0.007427072048187256, 0.007266304016113281, 0.007350272178649903, 0.007363584041595459, 0.007502848148345947, 0.0075838079452514645, 0.007589888095855713, 0.00790937614440918, 0.007792640209197998, 0.007805952072143555, 0.007890944004058837, 0.0074301438331604, 0.007356416225433349, 0.007392255783081054, 0.007411712169647216, 0.007407616138458252, 0.007312384128570557, 0.007316480159759522, 0.007294976234436036, 0.007358463764190673, 0.007413760185241699, 0.00738099193572998, 0.007327744007110596, 0.007450623989105225, 0.007296000003814697, 0.007415808200836181, 0.007320576190948487, 0.0073266558647155765, 0.007362559795379638, 0.0073994240760803225, 0.007314432144165039, 0.0073820161819458, 0.007360511779785156, 0.007319551944732666, 0.00733081579208374, 0.007392255783081054, 0.007223328113555908, 0.00719974422454834, 0.007189504146575928, 0.0073359360694885255, 0.007200767993927002, 0.007301119804382325, 0.007350207805633545, 0.007322624206542969, 0.007246816158294677, 0.007299071788787842, 0.007319551944732666, 0.007278592109680176, 0.007287807941436767, 0.007308288097381592, 0.007074816226959229, 0.007019519805908203, 0.007041024208068848, 0.007035903930664063, 0.007007232189178467, 0.00719974422454834, 0.007047167778015137, 0.007359488010406494, 0.007435264110565186, 0.007318528175354004, 0.00733081579208374, 0.007286784172058106, 0.00729804801940918, 0.007311359882354736, 0.007287807941436767, 0.007625728130340576, 0.007318528175354004, 0.007337984085083008, 0.007332863807678222, 0.007288832187652588, 0.007318528175354004, 0.007464960098266602, 0.007309311866760254 ] }, "throughput": { "unit": "samples/s", "value": 134.62760895554914 }, "energy": { "unit": "kWh", "cpu": 8.645235694527915e-08, "ram": 4.7264715358803115e-08, "gpu": 1.65352930335746e-07, "total": 2.9907000263982825e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3343698.770098002 } } } }