{ "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.223-212.873.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.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "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": 800.768, "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.96257470703125, "mean": 7.96257470703125, "stdev": 0.0, "p50": 7.96257470703125, "p90": 7.96257470703125, "p95": 7.96257470703125, "p99": 7.96257470703125, "values": [ 7.96257470703125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0223147034721652e-06, "ram": 5.445882667607599e-07, "gpu": 1.6294457479996624e-06, "total": 3.1963487182325877e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1091.313664, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 149, "total": 0.9973992328643804, "mean": 0.006693954582982415, "stdev": 0.00040242139657952505, "p50": 0.006584320068359375, "p90": 0.006866944026947022, "p95": 0.006989414310455322, "p99": 0.008890122489929214, "values": [ 0.009572352409362793, 0.009763839721679688, 0.008151040077209473, 0.007051296234130859, 0.007316480159759522, 0.007002111911773682, 0.006970367908477783, 0.006865920066833496, 0.00693555212020874, 0.00693555212020874, 0.006904831886291504, 0.006855679988861084, 0.00684438419342041, 0.0068915200233459475, 0.006871039867401123, 0.00679423999786377, 0.007031807899475098, 0.006758272171020508, 0.007703551769256592, 0.006851583957672119, 0.006676479816436768, 0.006822912216186523, 0.006719488143920899, 0.00657203197479248, 0.0066026878356933594, 0.006568960189819336, 0.006584320068359375, 0.006602752208709717, 0.006563936233520508, 0.006593376159667969, 0.006635519981384277, 0.006780928134918213, 0.0065382399559021, 0.0067645440101623535, 0.006598656177520752, 0.00657919979095459, 0.006594399929046631, 0.006534143924713135, 0.00652288007736206, 0.006561791896820069, 0.006582176208496094, 0.006621183872222901, 0.006597631931304931, 0.0065669121742248536, 0.006584320068359375, 0.00658739185333252, 0.006549407958984375, 0.006521920204162598, 0.006743040084838867, 0.0067420158386230465, 0.006594560146331787, 0.006567935943603515, 0.006543360233306885, 0.0066406397819519045, 0.006605823993682861, 0.00651580810546875, 0.0065985918045043945, 0.006517792224884033, 0.0065556797981262205, 0.006533120155334473, 0.006527103900909424, 0.006525951862335205, 0.006561855792999268, 0.006572927951812744, 0.006856800079345703, 0.006609920024871826, 0.006595647811889648, 0.0065382399559021, 0.006677504062652588, 0.006559711933135986, 0.006540287971496582, 0.006571904182434082, 0.006561791896820069, 0.006599679946899414, 0.006593535900115967, 0.006501376152038574, 0.00652288007736206, 0.0066447358131408694, 0.006502399921417237, 0.006703104019165039, 0.00672051191329956, 0.006524928092956543, 0.006552576065063476, 0.006525887966156006, 0.0065372161865234375, 0.00653926420211792, 0.0065474557876586915, 0.006574175834655762, 0.006623231887817383, 0.0065474557876586915, 0.006560768127441406, 0.006567935943603515, 0.006549503803253174, 0.0065372161865234375, 0.006584288120269776, 0.0068486080169677735, 0.006516736030578613, 0.006542335987091064, 0.006524928092956543, 0.006642687797546387, 0.0065443840026855465, 0.00653107213973999, 0.006563839912414551, 0.006582272052764892, 0.006519807815551758, 0.006590464115142822, 0.0065177597999572755, 0.006498303890228272, 0.0068063678741455075, 0.006598656177520752, 0.0067041277885437015, 0.00674508810043335, 0.006554624080657959, 0.0065146880149841305, 0.006584320068359375, 0.006523903846740723, 0.006660192012786865, 0.006819839954376221, 0.00669382381439209, 0.0066416640281677245, 0.006730751991271973, 0.006710271835327148, 0.0067276802062988285, 0.006669312000274658, 0.006661119937896728, 0.006586368083953857, 0.00694374418258667, 0.0066344962120056155, 0.006545407772064209, 0.006570047855377197, 0.0065413122177124024, 0.006551551818847656, 0.0066468482017517086, 0.0065484800338745115, 0.006561791896820069, 0.006546432018280029, 0.006540287971496582, 0.006512639999389648, 0.006595583915710449, 0.0065781760215759275, 0.006593408107757569, 0.006848512172698974, 0.006560768127441406, 0.006533120155334473, 0.00657203197479248, 0.006495232105255127, 0.006515711784362793, 0.006541408061981201, 0.0065484800338745115 ] }, "throughput": { "unit": "samples/s", "value": 149.38852476564927 }, "energy": { "unit": "kWh", "cpu": 7.728969653228744e-08, "ram": 4.2257138143780346e-08, "gpu": 1.3849037053246618e-07, "total": 2.58037205208534e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3875410.1339450073 } } } }