{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_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": {}, "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, "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.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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": { "load": { "memory": { "unit": "MB", "max_ram": 717.47584, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.15118408203125, "mean": 7.15118408203125, "stdev": 0.0, "p50": 7.15118408203125, "p90": 7.15118408203125, "p95": 7.15118408203125, "p99": 7.15118408203125, "values": [ 7.15118408203125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.031275921397739e-06, "ram": 5.496909971800316e-07, "gpu": 1.796945881999551e-06, "total": 3.3779128005773217e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 910.757888, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 158, "total": 1.000862396717072, "mean": 0.006334572131120706, "stdev": 0.0002987467115300342, "p50": 0.0063400640487670905, "p90": 0.006611353731155396, "p95": 0.0067413502693176265, "p99": 0.007636910090446473, "values": [ 0.006788095951080322, 0.006677504062652588, 0.006739967823028564, 0.006749184131622315, 0.006782976150512696, 0.006494207859039307, 0.006511616230010986, 0.006445055961608887, 0.0064839677810668945, 0.0064174079895019534, 0.006371327877044678, 0.00640723180770874, 0.006400000095367431, 0.006375423908233643, 0.006315008163452148, 0.006262784004211426, 0.006376448154449463, 0.00633241605758667, 0.00643071985244751, 0.006423552036285401, 0.006369279861450195, 0.00643071985244751, 0.006345727920532227, 0.006336512088775635, 0.00643071985244751, 0.006394879817962646, 0.0064174079895019534, 0.006407104015350342, 0.006360064029693604, 0.00642252779006958, 0.006336512088775635, 0.006386688232421875, 0.006403071880340576, 0.006379519939422608, 0.006432767868041992, 0.006311935901641846, 0.006304768085479737, 0.0062975997924804685, 0.006313983917236328, 0.006312960147857666, 0.0062679038047790524, 0.006375423908233643, 0.006318016052246094, 0.006363135814666748, 0.006446080207824707, 0.006345727920532227, 0.006441984176635742, 0.00638156795501709, 0.006368256092071533, 0.006345727920532227, 0.0062863359451293946, 0.006386688232421875, 0.006405119895935059, 0.0063569917678833006, 0.006402048110961914, 0.006385663986206055, 0.006394879817962646, 0.006275072097778321, 0.0063415679931640625, 0.006360064029693604, 0.006333439826965332, 0.00643071985244751, 0.006278143882751465, 0.006331391811370849, 0.006363135814666748, 0.006305791854858398, 0.006367231845855713, 0.006309887886047363, 0.006803423881530762, 0.006661119937896728, 0.0066744318008422855, 0.006486015796661377, 0.0064778242111206055, 0.006409215927124024, 0.006440959930419922, 0.006398975849151611, 0.006736832141876221, 0.006657023906707763, 0.006585343837738037, 0.006676479816436768, 0.006602752208709717, 0.0065075201988220215, 0.006379519939422608, 0.006455296039581298, 0.006467584133148193, 0.006412288188934326, 0.0063119039535522465, 0.006307839870452881, 0.006474751949310303, 0.006338560104370118, 0.006494143962860108, 0.0075939841270446775, 0.007617536067962646, 0.007686079978942871, 0.007662591934204102, 0.006631423950195312, 0.006540287971496582, 0.006519807815551758, 0.006341631889343262, 0.006343679904937744, 0.006228928089141846, 0.006295551776885986, 0.0063170561790466305, 0.006250495910644531, 0.006310912132263183, 0.006201344013214111, 0.006291456222534179, 0.006200352191925049, 0.006258687973022461, 0.006222815990447998, 0.006206463813781738, 0.006242303848266601, 0.0061972479820251464, 0.006248447895050049, 0.006210591793060303, 0.0062442879676818846, 0.006245440006256104, 0.006237184047698975, 0.0062638077735900875, 0.006181888103485108, 0.0062576642036437985, 0.006189055919647217, 0.006341695785522461, 0.006247424125671387, 0.006242303848266601, 0.0062228479385375976, 0.005972991943359375, 0.005934080123901367, 0.005898240089416504, 0.005917695999145508, 0.005898240089416504, 0.005940224170684814, 0.005934080123901367, 0.005920767784118652, 0.005949440002441406, 0.005924863815307617, 0.005929984092712402, 0.005907455921173096, 0.005972991943359375, 0.005956607818603516, 0.005993408203125, 0.005970943927764893, 0.006000703811645508, 0.005954559803009033, 0.00597811222076416, 0.005937151908874512, 0.005978208065032959, 0.005938176155090332, 0.006000639915466309, 0.005948416233062744, 0.005981184005737304, 0.005959680080413818, 0.006109183788299561, 0.005981184005737304, 0.00597811222076416, 0.0059565439224243165, 0.005989376068115234, 0.005948416233062744 ] }, "throughput": { "unit": "samples/s", "value": 157.86385872649 }, "energy": { "unit": "kWh", "cpu": 7.28727504357076e-08, "ram": 3.98421447304576e-08, "gpu": 1.3497113728834184e-07, "total": 2.4768603245450705e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4037369.3667351706 } } } }