{ "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.5.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": "1.22.0", "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.13.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 803.418112, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.376128 }, "latency": { "unit": "s", "values": [ 7.98128955078125 ], "count": 1, "total": 7.98128955078125, "mean": 7.98128955078125, "p50": 7.98128955078125, "p90": 7.98128955078125, "p95": 7.98128955078125, "p99": 7.98128955078125, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.879046493450816e-07, "ram": 5.223903265654133e-07, "gpu": 1.7330569419549136e-06, "total": 3.2433519178654086e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1094.10304, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "values": [ 0.0071485438346862796, 0.006856704235076904, 0.0068392958641052244, 0.00678604793548584, 0.006738944053649902, 0.006799295902252197, 0.00672051191329956, 0.00674403190612793, 0.006760447978973389, 0.006754303932189941, 0.006709248065948486, 0.0067420158386230465, 0.0067573761940002445, 0.007127039909362793, 0.0069928960800170895, 0.006960224151611328, 0.006993919849395752, 0.006908927917480469, 0.006986752033233643, 0.006988800048828125, 0.007012288093566895, 0.006936575889587402, 0.006993919849395752, 0.007088128089904785, 0.007039999961853028, 0.007003136157989502, 0.006755328178405762, 0.006765567779541016, 0.006725632190704346, 0.006631423950195312, 0.0066304001808166506, 0.006726655960083008, 0.0066826238632202144, 0.006709248065948486, 0.0066826238632202144, 0.006766592025756836, 0.00704307222366333, 0.007075744152069092, 0.006922143936157227, 0.00687497615814209, 0.006947840213775635, 0.006996992111206054, 0.007015359878540039, 0.0068618240356445315, 0.006953983783721924, 0.006912000179290771, 0.00692633581161499, 0.006933504104614257, 0.006964223861694336, 0.006930431842803955, 0.0068618240356445315, 0.006951935768127441, 0.007077888011932373, 0.0070266880989074704, 0.006990848064422607, 0.006748159885406494, 0.006806496143341064, 0.006713344097137451, 0.006685696125030518, 0.006767615795135498, 0.006649856090545654, 0.006563839912414551, 0.00668175983428955, 0.006618112087249756, 0.0065372161865234375, 0.006603775978088379, 0.006450175762176514, 0.00642252779006958, 0.006616064071655273, 0.007066624164581299, 0.006599679946899414, 0.006615039825439453, 0.006654975891113281, 0.0067626237869262695, 0.006759424209594727, 0.006854656219482422, 0.006803455829620361, 0.006817791938781738, 0.006917151927947998, 0.006985727787017822, 0.0066375679969787596, 0.006650879859924317, 0.0066406397819519045, 0.00657919979095459, 0.006675456047058105, 0.006626304149627686, 0.006523903846740723, 0.006665215969085693, 0.006645760059356689, 0.006567935943603515, 0.006593440055847168, 0.006590464115142822, 0.0065474557876586915, 0.006527999877929688, 0.006557695865631104, 0.006730751991271973, 0.006631423950195312, 0.006593535900115967, 0.006567935943603515, 0.006618112087249756, 0.00658841609954834, 0.006568960189819336, 0.006960127830505371, 0.006650879859924317, 0.0065710082054138185, 0.0066109437942504885, 0.006604800224304199, 0.006585343837738037, 0.00658841609954834, 0.006561791896820069, 0.00658739185333252, 0.006586368083953857, 0.0065812478065490725, 0.006574079990386963, 0.006592512130737305, 0.00657919979095459, 0.0065853757858276366, 0.006606847763061524, 0.006565887928009034, 0.006550528049468994, 0.006589439868927002, 0.006412288188934326, 0.006379519939422608, 0.006427648067474365, 0.006512671947479248, 0.006526976108551025, 0.006523903846740723, 0.0065669121742248536, 0.006591487884521485, 0.006540287971496582, 0.00659660816192627, 0.006532095909118653, 0.006518784046173095, 0.007032832145690918, 0.006563680171966553, 0.006536191940307618, 0.0065474557876586915, 0.006526976108551025, 0.006484000205993652, 0.006549503803253174, 0.006416255950927734, 0.00617574405670166, 0.006220799922943115, 0.006209375858306884, 0.006258687973022461, 0.006182911872863769, 0.006264832019805908, 0.006227968215942382, 0.0062679038047790524 ], "count": 149, "total": 0.9978904294967651, "mean": 0.006697251204676277, "p50": 0.006650879859924317, "p90": 0.006993919849395752, "p95": 0.007037132835388184, "p99": 0.0071083622360229495, "stdev": 0.00021167043435128634, "stdev_": 3.160556889421886 }, "throughput": { "unit": "samples/s", "value": 149.31499049964881 }, "energy": { "unit": "kWh", "cpu": 7.585950364400515e-08, "ram": 4.1455216093882735e-08, "gpu": 1.3650223234542894e-07, "total": 2.5381695208331685e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3939847.1685679383 } } } }