{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+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.252864, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.223-212.873.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.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 788.144128, "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.4299697265625, "mean": 7.4299697265625, "stdev": 0.0, "p50": 7.4299697265625, "p90": 7.4299697265625, "p95": 7.4299697265625, "p99": 7.4299697265625, "values": [ 7.4299697265625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0797658374994986e-06, "ram": 5.763169613473466e-07, "gpu": 1.7736125299998642e-06, "total": 3.4296953288467093e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1077.538816, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 142, "total": 0.9998184337615974, "mean": 0.007040974885645048, "stdev": 0.000251769403384509, "p50": 0.0071679999828338625, "p90": 0.007293951988220215, "p95": 0.007314278531074524, "p99": 0.007386245193481445, "values": [ 0.007443456172943115, 0.00738918399810791, 0.007293951988220215, 0.007278592109680176, 0.007278592109680176, 0.007244800090789795, 0.0072499198913574215, 0.007267327785491944, 0.007286784172058106, 0.007274496078491211, 0.007268352031707764, 0.007222271919250488, 0.007193600177764893, 0.007161856174468994, 0.0072130560874938965, 0.007198719978332519, 0.00729804801940918, 0.007284704208374023, 0.007311359882354736, 0.007251967906951904, 0.007286784172058106, 0.007221248149871826, 0.00730614423751831, 0.007314432144165039, 0.007251967906951904, 0.007256063938140869, 0.0072427520751953125, 0.007257152080535889, 0.007187456130981445, 0.007201791763305664, 0.007320576190948487, 0.007267327785491944, 0.007233535766601563, 0.00714137601852417, 0.007136256217956543, 0.0072120318412780765, 0.007223296165466309, 0.007164927959442138, 0.007234560012817383, 0.007156735897064209, 0.007304192066192627, 0.007286784172058106, 0.007356416225433349, 0.007274496078491211, 0.007271423816680909, 0.0072130560874938965, 0.007218175888061523, 0.00727347183227539, 0.007303167819976806, 0.007250944137573242, 0.007185408115386963, 0.0072499198913574215, 0.007231488227844239, 0.007153664112091064, 0.007204864025115967, 0.007193600177764893, 0.007172095775604248, 0.007332863807678222, 0.007236608028411865, 0.007171072006225586, 0.007184351921081543, 0.007175168037414551, 0.00719974422454834, 0.007154751777648926, 0.007188479900360107, 0.007222271919250488, 0.0073820161819458, 0.0073431038856506346, 0.007250944137573242, 0.00729702377319336, 0.00727558422088623, 0.007206912040710449, 0.0071905598640441895, 0.00719155216217041, 0.007192575931549072, 0.007293951988220215, 0.0071485438346862796, 0.007104512214660645, 0.00704099178314209, 0.006906879901885986, 0.007130112171173096, 0.007070720195770264, 0.006872064113616944, 0.006834176063537598, 0.0069550080299377445, 0.006821887969970703, 0.0069550080299377445, 0.007069695949554444, 0.007002111911773682, 0.006912000179290771, 0.0070564160346984865, 0.0072120318412780765, 0.007188479900360107, 0.0069928960800170895, 0.006958111763000489, 0.006937600135803222, 0.00696940803527832, 0.006913023948669434, 0.006913023948669434, 0.006848512172698974, 0.006763519763946534, 0.006668288230895996, 0.006711296081542969, 0.00669593620300293, 0.006661119937896728, 0.006706175804138184, 0.0067348480224609375, 0.0071526398658752445, 0.006732800006866455, 0.006767615795135498, 0.006775872230529785, 0.006649856090545654, 0.006703104019165039, 0.006737919807434082, 0.006651904106140137, 0.0066979842185974124, 0.0067051520347595215, 0.006685696125030518, 0.006796288013458252, 0.006710271835327148, 0.006665215969085693, 0.006675456047058105, 0.006687744140625, 0.006650847911834717, 0.006620160102844238, 0.006676479816436768, 0.0066406397819519045, 0.006651904106140137, 0.0066744318008422855, 0.006662144184112549, 0.006666240215301514, 0.006653952121734619, 0.0066344962120056155, 0.006662144184112549, 0.006684671878814697, 0.006643712043762207, 0.006623231887817383, 0.006670335769653321, 0.00672870397567749, 0.006673408031463623, 0.0067041277885437015, 0.006686719894409179 ] }, "throughput": { "unit": "samples/s", "value": 142.02578708791782 }, "energy": { "unit": "kWh", "cpu": 8.215953114463368e-08, "ram": 4.492011835956408e-08, "gpu": 1.485096973517253e-07, "total": 2.7558934685592304e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3628587.285425063 } } } }