{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-classification", "library": "transformers", "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": {}, "hub_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, "latency": true, "memory": 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", "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 901.808128, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 149, "total": 0.9971279044151309, "mean": 0.0066921335866787285, "stdev": 0.00019652892385770107, "p50": 0.006646783828735352, "p90": 0.006993919849395752, "p95": 0.007050649642944336, "p99": 0.007343472614288333, "values": [ 0.0074629120826721195, 0.007071743965148926, 0.007640063762664795, 0.007048192024230957, 0.007214079856872559, 0.007110655784606934, 0.007078911781311035, 0.007024640083312988, 0.0070522880554199216, 0.006822912216186523, 0.006702079772949219, 0.006687679767608643, 0.006717440128326416, 0.0066518402099609375, 0.006609920024871826, 0.006569983959197998, 0.006625343799591064, 0.0066375679969787596, 0.006908927917480469, 0.006723584175109864, 0.006696959972381592, 0.006680543899536133, 0.006707200050354004, 0.0066119680404663084, 0.0066447358131408694, 0.00675222396850586, 0.006685696125030518, 0.00667955207824707, 0.00675328016281128, 0.006675456047058105, 0.006681600093841553, 0.006653952121734619, 0.00669488000869751, 0.006744063854217529, 0.006687744140625, 0.006582272052764892, 0.006605823993682861, 0.0066406397819519045, 0.006632448196411133, 0.006659071922302246, 0.006638591766357422, 0.006741983890533447, 0.006718463897705078, 0.006692863941192627, 0.006747136116027832, 0.006724607944488525, 0.006718495845794678, 0.006770688056945801, 0.006715392112731934, 0.006673408031463623, 0.006646783828735352, 0.006673408031463623, 0.006704192161560058, 0.006633471965789795, 0.006633471965789795, 0.0066979842185974124, 0.0066119680404663084, 0.0067573761940002445, 0.006949888229370117, 0.0069959678649902345, 0.007029759883880615, 0.007184383869171143, 0.006907904148101806, 0.006865920066833496, 0.006930431842803955, 0.006986752033233643, 0.006920191764831543, 0.006700032234191895, 0.006665215969085693, 0.0066406397819519045, 0.006675456047058105, 0.006816768169403077, 0.006993919849395752, 0.007005184173583984, 0.006993919849395752, 0.007017471790313721, 0.0067983360290527345, 0.00667852783203125, 0.006622208118438721, 0.006687744140625, 0.006606847763061524, 0.006542335987091064, 0.0064449281692504886, 0.0064223999977111815, 0.006618112087249756, 0.0065443840026855465, 0.006376448154449463, 0.006273024082183838, 0.006276095867156982, 0.006360064029693604, 0.0066979842185974124, 0.006825984001159668, 0.006791168212890625, 0.0067686400413513184, 0.006844480037689209, 0.006956031799316406, 0.006591487884521485, 0.0065413122177124024, 0.0065548157691955565, 0.006535168170928955, 0.0066078720092773435, 0.006628352165222168, 0.00659660816192627, 0.006666240215301514, 0.006602752208709717, 0.00656387186050415, 0.00657919979095459, 0.006584320068359375, 0.006540287971496582, 0.0064849920272827145, 0.006545407772064209, 0.006570015907287598, 0.006586368083953857, 0.006534143924713135, 0.006518784046173095, 0.006657023906707763, 0.006760447978973389, 0.006496255874633789, 0.0065669121742248536, 0.006545216083526611, 0.0065474557876586915, 0.006575104236602783, 0.006573056221008301, 0.006546432018280029, 0.006506432056427002, 0.006590464115142822, 0.006590464115142822, 0.006582272052764892, 0.006500351905822754, 0.006559616088867188, 0.006595583915710449, 0.0064880638122558594, 0.0065771517753601075, 0.006552576065063476, 0.006690815925598144, 0.0066344962120056155, 0.006595583915710449, 0.006523903846740723, 0.006591487884521485, 0.006558784008026123, 0.0066109437942504885, 0.006660096168518067, 0.0065484800338745115, 0.006559743881225586, 0.006590464115142822, 0.006529024124145508, 0.0065443840026855465, 0.006529024124145508, 0.006571072101593018 ] }, "throughput": { "unit": "samples/s", "value": 149.4291748734046 }, "energy": { "unit": "kWh", "cpu": 7.440215390589502e-08, "ram": 4.067144146802093e-08, "gpu": 1.3562684461250214e-07, "total": 2.5070043998641803e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3988824.2719245967 } } } }