{ "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", "model": "FacebookAI/roberta-base", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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.0", "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": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 903.622656, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 148, "total": 1.0005290870666503, "mean": 0.006760331669369259, "stdev": 0.0003140762940145887, "p50": 0.006748159885406494, "p90": 0.006987785530090332, "p95": 0.007115417504310609, "p99": 0.008158031835556032, "values": [ 0.007229440212249756, 0.006845439910888672, 0.006953023910522461, 0.006889472007751465, 0.006914048194885254, 0.006976511955261231, 0.00698367977142334, 0.006914048194885254, 0.006894559860229492, 0.006762495994567871, 0.006810624122619629, 0.006763455867767334, 0.006904831886291504, 0.007122943878173828, 0.0069847040176391605, 0.0068269758224487305, 0.00672870397567749, 0.006711296081542969, 0.006789120197296142, 0.006765567779541016, 0.006897664070129395, 0.006987775802612305, 0.00678713607788086, 0.006724607944488525, 0.006703104019165039, 0.006739967823028564, 0.006752255916595459, 0.0069959678649902345, 0.0069816322326660156, 0.006976511955261231, 0.006743040084838867, 0.00673689603805542, 0.006755328178405762, 0.006730751991271973, 0.006776832103729248, 0.006811647891998291, 0.0067573761940002445, 0.006816768169403077, 0.006987808227539062, 0.007249887943267822, 0.00692633581161499, 0.006722559928894043, 0.006809599876403808, 0.006744063854217529, 0.006967328071594238, 0.007101439952850342, 0.0070594558715820314, 0.007010303974151612, 0.0068392958641052244, 0.00703385591506958, 0.0067645440101623535, 0.006816768169403077, 0.006802432060241699, 0.0068055038452148435, 0.006791200160980225, 0.006702079772949219, 0.0068351998329162595, 0.006825984001159668, 0.006837279796600342, 0.006937600135803222, 0.007214079856872559, 0.006852608203887939, 0.006830048084259033, 0.006763519763946534, 0.006754303932189941, 0.006729728221893311, 0.006700032234191895, 0.00672870397567749, 0.0067348480224609375, 0.006719520092010498, 0.006850560188293457, 0.006845439910888672, 0.006847487926483154, 0.006831103801727295, 0.006890495777130127, 0.006776832103729248, 0.00676966381072998, 0.006778880119323731, 0.006711296081542969, 0.0067983360290527345, 0.006708223819732666, 0.00667852783203125, 0.00653926420211792, 0.006504447937011719, 0.006618112087249756, 0.00653107213973999, 0.006455296039581298, 0.006436863899230957, 0.006556672096252441, 0.006725632190704346, 0.00669593620300293, 0.006652927875518798, 0.006756351947784424, 0.0067717118263244626, 0.006808576107025147, 0.006900735855102539, 0.0069683518409729, 0.006675456047058105, 0.006594560146331787, 0.006617023944854737, 0.006636544227600098, 0.006739967823028564, 0.0065474557876586915, 0.006714367866516113, 0.006508543968200684, 0.006402048110961914, 0.0063937921524047855, 0.006397952079772949, 0.0064143681526184085, 0.006383679866790772, 0.006388735771179199, 0.006385632038116455, 0.006421504020690918, 0.006396927833557129, 0.006379519939422608, 0.006392831802368164, 0.00652288007736206, 0.0064102401733398436, 0.006388768196105957, 0.006396927833557129, 0.0065177597999572755, 0.006574079990386963, 0.0064839677810668945, 0.0064973440170288084, 0.006573056221008301, 0.006532095909118653, 0.0065781760215759275, 0.0065372161865234375, 0.006411263942718506, 0.006589439868927002, 0.00637443208694458, 0.006402048110961914, 0.006452223777770996, 0.0064471039772033695, 0.007041024208068848, 0.006591487884521485, 0.007772192001342774, 0.008867839813232421, 0.008500191688537597, 0.00724070405960083, 0.006774784088134766, 0.0066119680404663084, 0.006643712043762207, 0.0065710082054138185, 0.006628352165222168, 0.006598656177520752, 0.00653926420211792, 0.006615039825439453 ] }, "throughput": { "unit": "samples/s", "value": 147.92173652232958 }, "energy": { "unit": "kWh", "cpu": 7.581847277585277e-08, "ram": 4.144327706790078e-08, "gpu": 1.3222409728662768e-07, "total": 2.4948584713038126e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4008243.399383694 } } } }