{ "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": {}, "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.285632, "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": 719.58528, "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.2087861328125, "mean": 7.2087861328125, "stdev": 0.0, "p50": 7.2087861328125, "p90": 7.2087861328125, "p95": 7.2087861328125, "p99": 7.2087861328125, "values": [ 7.2087861328125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0896576775444878e-06, "ram": 5.63133883521516e-07, "gpu": 1.7536125140001947e-06, "total": 3.4064040750661988e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 912.580608, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 156, "total": 1.0007427835464477, "mean": 0.006415017843246458, "stdev": 0.0001321500516705759, "p50": 0.006390271902084351, "p90": 0.006488575935363769, "p95": 0.006689535975456237, "p99": 0.006946867179870601, "values": [ 0.0067758078575134275, 0.00678604793548584, 0.006686719894409179, 0.006718463897705078, 0.006716415882110595, 0.006639616012573242, 0.006702079772949219, 0.007331840038299561, 0.006487040042877197, 0.006337535858154297, 0.0066406397819519045, 0.006369279861450195, 0.0063907837867736815, 0.006359039783477783, 0.006336512088775635, 0.006403071880340576, 0.006309887886047363, 0.00643993616104126, 0.006372352123260498, 0.006341631889343262, 0.006341631889343262, 0.006331391811370849, 0.0063539199829101565, 0.006311935901641846, 0.006312960147857666, 0.006494207859039307, 0.006299647808074951, 0.006338560104370118, 0.0063201279640197755, 0.006305791854858398, 0.006336512088775635, 0.006270976066589356, 0.006368224143981934, 0.006278143882751465, 0.006300672054290772, 0.0063201279640197755, 0.0062873601913452145, 0.0063508481979370115, 0.006293504238128662, 0.006337535858154297, 0.006315008163452148, 0.006468607902526856, 0.00632422399520874, 0.006309887886047363, 0.006326272010803223, 0.006337535858154297, 0.00632422399520874, 0.006393856048583985, 0.006288383960723877, 0.00632422399520874, 0.00637440013885498, 0.00657919979095459, 0.006558720111846924, 0.006403071880340576, 0.00643174409866333, 0.0064471039772033695, 0.006410175800323486, 0.006486015796661377, 0.006360064029693604, 0.006412288188934326, 0.006418432235717773, 0.00637440013885498, 0.00643071985244751, 0.00636518383026123, 0.006425600051879882, 0.006426623821258545, 0.006485983848571777, 0.006427648067474365, 0.0063836159706115725, 0.006372352123260498, 0.0064440321922302245, 0.006385663986206055, 0.006458367824554443, 0.006400000095367431, 0.006408192157745361, 0.006426623821258545, 0.006386688232421875, 0.0064245758056640625, 0.0064102401733398436, 0.00638156795501709, 0.006490111827850342, 0.006368224143981934, 0.006376448154449463, 0.006346752166748047, 0.006291552066802979, 0.006329343795776367, 0.006344704151153564, 0.0064019842147827145, 0.006412288188934326, 0.006364160060882569, 0.00638976001739502, 0.00636627197265625, 0.00638259220123291, 0.006392831802368164, 0.0064143362045288085, 0.006378496170043945, 0.006338560104370118, 0.006403071880340576, 0.006406144142150879, 0.0063498239517211915, 0.006392831802368164, 0.006352896213531494, 0.006392831802368164, 0.006403071880340576, 0.006368256092071533, 0.0066979842185974124, 0.006631423950195312, 0.0064174079895019534, 0.006406144142150879, 0.006358016014099121, 0.006411263942718506, 0.006397952079772949, 0.0063539199829101565, 0.0064685440063476565, 0.006366208076477051, 0.0064133119583129885, 0.006419456005096436, 0.006358016014099121, 0.006416384220123291, 0.006411263942718506, 0.006375423908233643, 0.0064102401733398436, 0.0063508481979370115, 0.0064143362045288085, 0.006419456005096436, 0.006362112045288086, 0.006426623821258545, 0.006368256092071533, 0.006385663986206055, 0.006398975849151611, 0.006385663986206055, 0.006396927833557129, 0.006376448154449463, 0.006405119895935059, 0.006387712001800537, 0.0063805441856384275, 0.006392831802368164, 0.006371327877044678, 0.006378528118133545, 0.006370304107666015, 0.006354879856109619, 0.006419456005096436, 0.006354944229125976, 0.0063907837867736815, 0.006401023864746094, 0.006441984176635742, 0.0064143362045288085, 0.006371327877044678, 0.0064204797744750975, 0.006406144142150879, 0.007143424034118652, 0.006456319808959961, 0.006460415840148926, 0.006397952079772949, 0.006403103828430175, 0.0063539199829101565 ] }, "throughput": { "unit": "samples/s", "value": 155.88421177234457 }, "energy": { "unit": "kWh", "cpu": 7.28113113330511e-08, "ram": 3.9808853813345036e-08, "gpu": 1.4033923974233202e-07, "total": 2.5295940488872816e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3953203.481166791 } } } }