{ "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": "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": 903.3728, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 136, "total": 0.9963351974487306, "mean": 0.007325994098887724, "stdev": 0.00038683093314804636, "p50": 0.007311360120773316, "p90": 0.007736320018768311, "p95": 0.007940351843833923, "p99": 0.00887997407913208, "values": [ 0.008300543785095215, 0.00796569585800171, 0.007990272045135497, 0.007931903839111328, 0.007861248016357422, 0.007896063804626464, 0.007536640167236328, 0.007419904232025146, 0.007408639907836914, 0.007437312126159668, 0.007325664043426514, 0.0073062400817871095, 0.007363584041595459, 0.00738099193572998, 0.007413760185241699, 0.007458816051483155, 0.00748748779296875, 0.00738918399810791, 0.007430111885070801, 0.007673855781555176, 0.007751679897308349, 0.007741439819335938, 0.007709695816040039, 0.007702527999877929, 0.00841932773590088, 0.007717887878417969, 0.007629824161529541, 0.00761033582687378, 0.007669760227203369, 0.007650303840637207, 0.007731200218200684, 0.007725056171417236, 0.007775231838226319, 0.007480319976806641, 0.0074711041450500485, 0.007366655826568603, 0.0073472318649291995, 0.007417856216430664, 0.00743833589553833, 0.007396351814270019, 0.007320576190948487, 0.007314432144165039, 0.007328767776489258, 0.0075632638931274416, 0.007457791805267334, 0.007332863807678222, 0.007316480159759522, 0.007354368209838867, 0.0073820161819458, 0.007336959838867187, 0.007365632057189942, 0.007469056129455566, 0.007477248191833496, 0.00739737606048584, 0.007372799873352051, 0.007408639907836914, 0.007326720237731933, 0.007425024032592774, 0.007288832187652588, 0.007270400047302246, 0.007104479789733887, 0.007245823860168457, 0.00738918399810791, 0.007122943878173828, 0.007014400005340577, 0.0069918718338012695, 0.007078911781311035, 0.007184383869171143, 0.00880742359161377, 0.008919039726257324, 0.008995840072631836, 0.007761888027191162, 0.007550975799560547, 0.007497727870941162, 0.007334911823272705, 0.007271423816680909, 0.007288832187652588, 0.007287775993347168, 0.007332863807678222, 0.007252992153167725, 0.007308288097381592, 0.007291903972625732, 0.007271423816680909, 0.007657440185546875, 0.007245823860168457, 0.007259136199951172, 0.007268352031707764, 0.007266304016113281, 0.007329792022705078, 0.006998015880584717, 0.006977536201477051, 0.006969344139099121, 0.006993919849395752, 0.006960127830505371, 0.006998015880584717, 0.006980607986450196, 0.007006175994873047, 0.006969344139099121, 0.006957056045532227, 0.006980607986450196, 0.006985727787017822, 0.006965248107910156, 0.0069621758460998535, 0.006990848064422607, 0.0069764480590820315, 0.006949888229370117, 0.006964223861694336, 0.006982656002044678, 0.0069550080299377445, 0.006946815967559815, 0.00694374418258667, 0.006977536201477051, 0.006993919849395752, 0.006974431991577148, 0.006980607986450196, 0.006968255996704102, 0.006988800048828125, 0.006985727787017822, 0.006964223861694336, 0.006976511955261231, 0.006998015880584717, 0.006964223861694336, 0.006976511955261231, 0.006960063934326172, 0.006966271877288818, 0.006952960014343262, 0.006966271877288818, 0.006988800048828125, 0.006957056045532227, 0.007003136157989502, 0.0069519681930542, 0.0069816322326660156, 0.0069816322326660156, 0.0069621758460998535, 0.006957056045532227, 0.006972415924072266 ] }, "throughput": { "unit": "samples/s", "value": 136.50024645144418 }, "energy": { "unit": "kWh", "cpu": 8.299775007698273e-08, "ram": 4.521743116367171e-08, "gpu": 1.4923815951388975e-07, "total": 2.774533407545442e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3604209.620545439 } } } }