{ "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.293824, "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": 909.504512, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 121, "total": 1.0010809640884404, "mean": 0.008273396397425123, "stdev": 0.00027431784007465757, "p50": 0.008194047927856446, "p90": 0.008596480369567871, "p95": 0.008722432136535644, "p99": 0.008997094535827636, "values": [ 0.009010208129882813, 0.008686592102050781, 0.00882585620880127, 0.008722432136535644, 0.008713215827941894, 0.008771583557128907, 0.00860364818572998, 0.008573023796081543, 0.008509440422058106, 0.00851353645324707, 0.008418304443359375, 0.008434687614440918, 0.008473600387573242, 0.008466431617736817, 0.008437760353088379, 0.008111104011535645, 0.008163328170776368, 0.008571904182434082, 0.008473600387573242, 0.008453120231628418, 0.008500224113464355, 0.008456192016601562, 0.008476672172546386, 0.008944640159606934, 0.008536064147949218, 0.00842240047454834, 0.008445952415466309, 0.008424448013305665, 0.008508416175842285, 0.008769536018371582, 0.008567808151245117, 0.008481792449951172, 0.008577024459838867, 0.008463359832763672, 0.00842240047454834, 0.008454143524169922, 0.008372223854064942, 0.008415231704711914, 0.00850432014465332, 0.008130559921264649, 0.00851046371459961, 0.008418304443359375, 0.008398847579956055, 0.008425472259521484, 0.009136128425598144, 0.008674304008483886, 0.008576000213623047, 0.00851251220703125, 0.008476672172546386, 0.008399871826171875, 0.008455167770385743, 0.008383551597595214, 0.008385536193847656, 0.008217599868774414, 0.008382464408874512, 0.008216575622558593, 0.00808140754699707, 0.008079360008239746, 0.00809267234802246, 0.008324095726013184, 0.008416255950927735, 0.008398847579956055, 0.008651776313781738, 0.008455167770385743, 0.00840294361114502, 0.008194047927856446, 0.008158207893371582, 0.00808448028564453, 0.008133631706237793, 0.008057855606079101, 0.00800870418548584, 0.008017919540405273, 0.00800972843170166, 0.008037376403808593, 0.007996416091918946, 0.00801478385925293, 0.008060895919799804, 0.008023039817810058, 0.008023039817810058, 0.00800051212310791, 0.008068096160888672, 0.008011775970458984, 0.00799948787689209, 0.008004608154296875, 0.007981056213378907, 0.00799232006072998, 0.007970816135406494, 0.00796569585800171, 0.007996416091918946, 0.008047616004943848, 0.008018943786621094, 0.007996416091918946, 0.008012800216674805, 0.008033280372619628, 0.007996416091918946, 0.007986176013946533, 0.007968768119812012, 0.007979008197784423, 0.008596480369567871, 0.00808243179321289, 0.008054783821105957, 0.008111136436462402, 0.008017919540405273, 0.007987199783325195, 0.007976960182189942, 0.008006655693054199, 0.008002559661865234, 0.007976960182189942, 0.008003583908081055, 0.008054783821105957, 0.008003583908081055, 0.007977983951568603, 0.007974912166595459, 0.008003583908081055, 0.008054783821105957, 0.008010751724243164, 0.008023039817810058, 0.008013824462890624, 0.008011775970458984, 0.00800972843170166, 0.007996416091918946 ] }, "throughput": { "unit": "samples/s", "value": 120.86934457911671 }, "energy": { "unit": "kWh", "cpu": 9.53343735800849e-08, "ram": 5.2119606589921357e-08, "gpu": 1.6682680012800045e-07, "total": 3.1428078029800673e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3181868.13413083 } } } }