{ "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.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": 787.755008, "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.4037890625, "mean": 7.4037890625, "stdev": 0.0, "p50": 7.4037890625, "p90": 7.4037890625, "p95": 7.4037890625, "p99": 7.4037890625, "values": [ 7.4037890625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0830540388884202e-06, "ram": 5.604532750178463e-07, "gpu": 1.722779156000144e-06, "total": 3.36628646990641e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1077.69856, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 151, "total": 0.9990293745994568, "mean": 0.006616088573506336, "stdev": 0.00017019617599665937, "p50": 0.006652927875518798, "p90": 0.006758399963378906, "p95": 0.006814719915390014, "p99": 0.007146512031555176, "values": [ 0.007186431884765625, 0.007106592178344726, 0.007102464199066162, 0.006967296123504638, 0.007012383937835693, 0.0069253120422363285, 0.007488512039184571, 0.006628352165222168, 0.006489088058471679, 0.006503424167633057, 0.006446080207824707, 0.006779903888702392, 0.006821887969970703, 0.006688767910003662, 0.006729728221893311, 0.006727583885192871, 0.006491136074066162, 0.0064778242111206055, 0.006479872226715088, 0.006441984176635742, 0.0064880638122558594, 0.0067573761940002445, 0.006457344055175781, 0.00648089599609375, 0.0064327998161315915, 0.006452223777770996, 0.006460415840148926, 0.006527999877929688, 0.006457344055175781, 0.0064102401733398436, 0.006448128223419189, 0.00657919979095459, 0.006651904106140137, 0.006716383934020996, 0.00667852783203125, 0.006677504062652588, 0.006749184131622315, 0.006699007987976074, 0.006694911956787109, 0.006692863941192627, 0.006718463897705078, 0.0067010560035705566, 0.006684671878814697, 0.0066979842185974124, 0.006683648109436035, 0.0064358081817626955, 0.006451200008392334, 0.006419456005096436, 0.006464511871337891, 0.0064542717933654785, 0.006412288188934326, 0.0066826238632202144, 0.0066938881874084475, 0.00667952013015747, 0.006700992107391357, 0.006710271835327148, 0.006687744140625, 0.006703104019165039, 0.006725632190704346, 0.0067051520347595215, 0.0067051520347595215, 0.006706175804138184, 0.006676479816436768, 0.006702079772949219, 0.006706175804138184, 0.006685696125030518, 0.006796288013458252, 0.006710207939147949, 0.0067051520347595215, 0.006649856090545654, 0.006716415882110595, 0.006719488143920899, 0.006659071922302246, 0.006732800006866455, 0.0066979842185974124, 0.006746047973632812, 0.006758399963378906, 0.006683648109436035, 0.006644703865051269, 0.00648089599609375, 0.006642687797546387, 0.006715392112731934, 0.0066826558113098145, 0.006699007987976074, 0.006657023906707763, 0.006677504062652588, 0.0066109437942504885, 0.006565887928009034, 0.0064245758056640625, 0.006481887817382813, 0.006527999877929688, 0.006502399921417237, 0.006490111827850342, 0.006441984176635742, 0.006456319808959961, 0.006408192157745361, 0.006652927875518798, 0.006670335769653321, 0.006464511871337891, 0.006500351905822754, 0.006441984176635742, 0.006427648067474365, 0.006511616230010986, 0.006636544227600098, 0.0065484800338745115, 0.0067358717918396, 0.0068055038452148435, 0.006752319812774658, 0.006807551860809326, 0.0067870721817016606, 0.006753215789794922, 0.0067870721817016606, 0.006761472225189209, 0.006669312000274658, 0.006731776237487793, 0.006744063854217529, 0.006680575847625733, 0.006708223819732666, 0.0067358717918396, 0.006706175804138184, 0.006656000137329102, 0.006707200050354004, 0.006665215969085693, 0.0064471039772033695, 0.006455232143402099, 0.006426623821258545, 0.006470655918121338, 0.0064839677810668945, 0.006472703933715821, 0.006453248023986816, 0.006429696083068847, 0.0064245758056640625, 0.006491136074066162, 0.006405119895935059, 0.006461440086364746, 0.0064440321922302245, 0.006428671836853027, 0.006499328136444092, 0.006499328136444092, 0.006474751949310303, 0.006456319808959961, 0.006435840129852295, 0.006457344055175781, 0.006466559886932373, 0.0064143362045288085, 0.006452223777770996, 0.0064204797744750975, 0.006462463855743408, 0.006502399921417237, 0.006419456005096436, 0.00643891191482544 ] }, "throughput": { "unit": "samples/s", "value": 151.14670683286045 }, "energy": { "unit": "kWh", "cpu": 7.961012520041163e-08, "ram": 4.342889963197727e-08, "gpu": 1.4644120589262048e-07, "total": 2.6948023072500937e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3710847.349765142 } } } }