{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.1+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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.224-212.876.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.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 799.735808, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.99497119140625, "mean": 7.99497119140625, "stdev": 0.0, "p50": 7.99497119140625, "p90": 7.99497119140625, "p95": 7.99497119140625, "p99": 7.99497119140625, "values": [ 7.99497119140625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 2.466382253487609e-06, "ram": 1.3329557660194308e-06, "gpu": 3.4161138440028105e-06, "total": 7.2154518635098505e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1090.482176, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 151, "total": 1.0004969916343691, "mean": 0.006625807891618337, "stdev": 0.00020705261265535643, "p50": 0.006608895778656006, "p90": 0.00676966381072998, "p95": 0.006849535942077637, "p99": 0.007631360054016113, "values": [ 0.006880256175994873, 0.006810624122619629, 0.006866943836212158, 0.0068577280044555666, 0.006851583957672119, 0.006820864200592041, 0.007458816051483155, 0.007145440101623535, 0.006690815925598144, 0.006639616012573242, 0.006703104019165039, 0.006628352165222168, 0.006598656177520752, 0.0066304001808166506, 0.006622208118438721, 0.006605823993682861, 0.006603775978088379, 0.0066078720092773435, 0.0065864319801330565, 0.006609920024871826, 0.006667263984680176, 0.006601727962493896, 0.006718463897705078, 0.006656000137329102, 0.006655935764312744, 0.006675456047058105, 0.0067010560035705566, 0.006626304149627686, 0.006627327919006347, 0.006650879859924317, 0.006687744140625, 0.006654975891113281, 0.006636544227600098, 0.0066119680404663084, 0.00662937593460083, 0.006615039825439453, 0.00662937593460083, 0.006616064071655273, 0.006599679946899414, 0.006603775978088379, 0.006615039825439453, 0.006586368083953857, 0.006608895778656006, 0.00676966381072998, 0.006612959861755371, 0.006590464115142822, 0.006846464157104492, 0.006639616012573242, 0.006584320068359375, 0.006600768089294434, 0.00658841609954834, 0.0065812478065490725, 0.0066119680404663084, 0.006601727962493896, 0.00657919979095459, 0.006632448196411133, 0.006601727962493896, 0.0066007041931152345, 0.0068321280479431154, 0.006631423950195312, 0.006626304149627686, 0.0066119680404663084, 0.006612991809844971, 0.0067338237762451176, 0.006625279903411865, 0.006595583915710449, 0.0065853757858276366, 0.006806528091430664, 0.006680575847625733, 0.006622208118438721, 0.006623231887817383, 0.006594560146331787, 0.006573056221008301, 0.006608895778656006, 0.006583295822143555, 0.0065710082054138185, 0.00659660816192627, 0.006605823993682861, 0.006710271835327148, 0.006609920024871826, 0.006573056221008301, 0.0066119680404663084, 0.006847487926483154, 0.006616064071655273, 0.006582272052764892, 0.006598656177520752, 0.006568960189819336, 0.006471680164337158, 0.006475776195526123, 0.006468607902526856, 0.006468607902526856, 0.006284287929534912, 0.006209536075592041, 0.0062341117858886715, 0.0062044157981872555, 0.006237184047698975, 0.006301695823669433, 0.0062638077735900875, 0.0062228479385375976, 0.006230016231536865, 0.006398015975952148, 0.006459392070770263, 0.00674508810043335, 0.006620160102844238, 0.0066078720092773435, 0.007968768119812012, 0.007803904056549072, 0.006779903888702392, 0.006612991809844971, 0.006603775978088379, 0.00664569616317749, 0.006747136116027832, 0.006600671768188476, 0.006646783828735352, 0.0066744318008422855, 0.006562816143035889, 0.006501376152038574, 0.006498303890228272, 0.0064880638122558594, 0.0065064959526062015, 0.006450143814086914, 0.006490111827850342, 0.006642687797546387, 0.006586368083953857, 0.006620160102844238, 0.006593535900115967, 0.00659660816192627, 0.006584320068359375, 0.0065781760215759275, 0.0065586562156677245, 0.006616064071655273, 0.0065710082054138185, 0.00657203197479248, 0.0066304001808166506, 0.006612991809844971, 0.006631423950195312, 0.006625216007232666, 0.006612991809844971, 0.006594528198242187, 0.0066007041931152345, 0.006582272052764892, 0.006563839912414551, 0.006576128005981445, 0.006565887928009034, 0.0065781760215759275, 0.006617087841033936, 0.006569983959197998, 0.006576128005981445, 0.006573023796081543, 0.00656390380859375, 0.006642687797546387 ] }, "throughput": { "unit": "samples/s", "value": 150.92499154178654 }, "energy": { "unit": "kWh", "cpu": 7.909638215164421e-08, "ram": 4.3086844468167713e-08, "gpu": 1.4640924148349363e-07, "total": 2.6859246810330557e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3723112.591583848 } } } }