{ "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_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.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 720.334848, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.37152 }, "latency": { "unit": "s", "count": 1, "total": 7.2133818359375, "mean": 7.2133818359375, "stdev": 0.0, "p50": 7.2133818359375, "p90": 7.2133818359375, "p95": 7.2133818359375, "p99": 7.2133818359375, "values": [ 7.2133818359375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.947922020834734e-07, "ram": 4.7455879608104613e-07, "gpu": 1.736668056000288e-06, "total": 3.1060190541648075e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 919.494656, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 136, "total": 0.9969636526107782, "mean": 0.007330615092726315, "stdev": 0.0003954046872519939, "p50": 0.007370752096176148, "p90": 0.007670783996582031, "p95": 0.00777187991142273, "p99": 0.008884480094909669, "values": [ 0.007670783996582031, 0.00759500789642334, 0.007511040210723877, 0.007554048061370849, 0.007502848148345947, 0.007472127914428711, 0.007444479942321777, 0.007786496162414551, 0.0075939841270446775, 0.007831552028656007, 0.008451071739196778, 0.0073175039291381834, 0.00728985595703125, 0.007300159931182861, 0.007354368209838867, 0.007411712169647216, 0.007388160228729248, 0.0073768959045410155, 0.0073400321006774905, 0.007357439994812012, 0.007379968166351319, 0.007404543876647949, 0.007373824119567871, 0.0073697280883789065, 0.007390207767486572, 0.0073431038856506346, 0.007366655826568603, 0.007364607810974121, 0.007591936111450195, 0.007573503971099854, 0.007508992195129394, 0.007517183780670166, 0.007541759967803955, 0.007465983867645264, 0.007420928001403809, 0.007536640167236328, 0.007566336154937744, 0.007670783996582031, 0.0076277761459350585, 0.007683072090148926, 0.007634943962097168, 0.007546879768371582, 0.0075673599243164065, 0.007655424118041992, 0.00745472002029419, 0.007574528217315674, 0.007516160011291504, 0.007542784214019775, 0.007482367992401123, 0.007511072158813477, 0.007579648017883301, 0.00769536018371582, 0.007547904014587403, 0.007620672225952149, 0.00738099193572998, 0.0075632638931274416, 0.007526400089263916, 0.007582719802856445, 0.00764415979385376, 0.007767007827758789, 0.007686143875122071, 0.007667712211608887, 0.0076574721336364745, 0.007620607852935791, 0.007484447956085205, 0.007527423858642578, 0.007935999870300293, 0.007559167861938477, 0.007515135765075683, 0.007371776103973389, 0.007672832012176513, 0.007535615921020508, 0.007388160228729248, 0.007178239822387696, 0.007229440212249756, 0.007247871875762939, 0.007716864109039307, 0.008867839813232421, 0.008893440246582032, 0.008945664405822755, 0.007661568164825439, 0.007324672222137451, 0.007250944137573242, 0.007252992153167725, 0.0071526398658752445, 0.007164927959442138, 0.007147520065307617, 0.006895616054534912, 0.006883327960968018, 0.007001088142395019, 0.006971392154693603, 0.00688640022277832, 0.006880256175994873, 0.006896704196929932, 0.006929408073425293, 0.0068884482383728025, 0.0069253120422363285, 0.006874112129211426, 0.006897664070129395, 0.006867968082427979, 0.006880288124084473, 0.00687718391418457, 0.006884352207183838, 0.006848512172698974, 0.006870016098022461, 0.006903808116912841, 0.006887423992156983, 0.006929408073425293, 0.006927360057830811, 0.0068915200233459475, 0.006879231929779053, 0.0069212160110473635, 0.00690176010131836, 0.006906879901885986, 0.006858751773834228, 0.006915071964263916, 0.007136256217956543, 0.007280640125274658, 0.007120895862579346, 0.007170048236846924, 0.007143424034118652, 0.007136256217956543, 0.006949952125549316, 0.006912000179290771, 0.006915071964263916, 0.006876160144805908, 0.006874112129211426, 0.006896639823913574, 0.0068884482383728025, 0.0068853759765625, 0.006876160144805908, 0.006915071964263916, 0.006890495777130127, 0.006922239780426025, 0.006882304191589355, 0.006913023948669434 ] }, "throughput": { "unit": "samples/s", "value": 136.4142009027638 }, "energy": { "unit": "kWh", "cpu": 8.22974933908048e-08, "ram": 4.4910364295373584e-08, "gpu": 1.6052694834482573e-07, "total": 2.877348060310041e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3475422.4342683367 } } } }