{ "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": 904.298496, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 146, "total": 0.9971088624000547, "mean": 0.00682951275616476, "stdev": 0.00022211109369299918, "p50": 0.006874576091766358, "p90": 0.007004672050476075, "p95": 0.007080191850662231, "p99": 0.007461478447914124, "values": [ 0.007443456172943115, 0.007080959796905518, 0.007176191806793213, 0.007114751815795899, 0.00704201602935791, 0.007000063896179199, 0.0069816322326660156, 0.0069847040176391605, 0.006948863983154297, 0.006967296123504638, 0.006959104061126709, 0.00694374418258667, 0.006935616016387939, 0.006920191764831543, 0.006870016098022461, 0.006874112129211426, 0.006883327960968018, 0.007002111911773682, 0.00698367977142334, 0.007003136157989502, 0.006982656002044678, 0.007345151901245117, 0.0069448318481445314, 0.006957056045532227, 0.006964223861694336, 0.0069928960800170895, 0.00695091199874878, 0.007001088142395019, 0.00694374418258667, 0.006936575889587402, 0.006970367908477783, 0.007146495819091797, 0.00693452787399292, 0.006975488185882568, 0.006845407962799073, 0.006810624122619629, 0.006816703796386719, 0.00689356803894043, 0.006873087882995605, 0.006846496105194092, 0.006912000179290771, 0.006929408073425293, 0.006974463939666748, 0.006987775802612305, 0.006988800048828125, 0.007001088142395019, 0.006953983783721924, 0.006895679950714112, 0.006922239780426025, 0.008114175796508789, 0.006970367908477783, 0.006919167995452881, 0.0069632000923156735, 0.006897664070129395, 0.006939648151397705, 0.006912000179290771, 0.006852608203887939, 0.006904831886291504, 0.006970367908477783, 0.006923264026641846, 0.006864895820617676, 0.006889472007751465, 0.006936575889587402, 0.006908927917480469, 0.006903808116912841, 0.006927360057830811, 0.006973440170288086, 0.006923264026641846, 0.006986752033233643, 0.007039999961853028, 0.007028736114501953, 0.007006207942962647, 0.006918144226074219, 0.006999040126800537, 0.006972415924072266, 0.0068750400543212895, 0.006987840175628662, 0.006892543792724609, 0.006847487926483154, 0.006709248065948486, 0.006719488143920899, 0.006831168174743652, 0.006753376007080078, 0.006551487922668457, 0.0065372161865234375, 0.0066406397819519045, 0.00667852783203125, 0.006765567779541016, 0.0068392958641052244, 0.006796288013458252, 0.007014304161071777, 0.007051263809204102, 0.007077888011932373, 0.006811647891998291, 0.007476223945617676, 0.00676966381072998, 0.006677504062652588, 0.006603775978088379, 0.006652927875518798, 0.006656000137329102, 0.0065771517753601075, 0.006627327919006347, 0.006648831844329834, 0.00658739185333252, 0.006614016056060791, 0.006584320068359375, 0.006584320068359375, 0.006609920024871826, 0.006598656177520752, 0.006591487884521485, 0.006614016056060791, 0.006576128005981445, 0.006584320068359375, 0.006594560146331787, 0.006576159954071045, 0.006623231887817383, 0.006601727962493896, 0.00658841609954834, 0.006584352016448975, 0.00658739185333252, 0.006582272052764892, 0.00658841609954834, 0.006623231887817383, 0.006559743881225586, 0.006591519832611084, 0.0066078720092773435, 0.0065924801826477055, 0.006620160102844238, 0.006594560146331787, 0.0065669121742248536, 0.006633471965789795, 0.006606783866882324, 0.006576159954071045, 0.006606847763061524, 0.006609856128692627, 0.00657203197479248, 0.006608895778656006, 0.006597631931304931, 0.006585343837738037, 0.006603839874267578, 0.006592544078826904, 0.006559743881225586, 0.006598656177520752, 0.006576128005981445, 0.006625279903411865, 0.006599679946899414 ] }, "throughput": { "unit": "samples/s", "value": 146.42332999485728 }, "energy": { "unit": "kWh", "cpu": 7.665003179222025e-08, "ram": 4.190313416573542e-08, "gpu": 1.3698935690322202e-07, "total": 2.555425228611777e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3913243.043871979 } } } }