{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.2.2+rocm5.7", "_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": false, "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 7763 64-Core Processor", "cpu_count": 128, "cpu_ram_mb": 1082015.236096, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "Advanced Micro Devices, Inc. [AMD/ATI]" ], "gpu_count": 1, "gpu_vram_mb": 68702699520, "optimum_benchmark_version": "0.2.0", "optimum_benchmark_commit": "c08a62a8b686d201c33b94256f220dd9ac7afa59", "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": 1009.8688, "max_global_vram": 897.14688, "max_process_vram": 229171.412992, "max_reserved": 555.74528, "max_allocated": 499.443712 }, "latency": { "unit": "s", "count": 139, "total": 0.9963108687400825, "mean": 0.0071677040916552645, "stdev": 0.00047399597878316157, "p50": 0.0068841538429260255, "p90": 0.007755289936065674, "p95": 0.007843065166473389, "p99": 0.008095487861633301, "values": [ 0.008237273216247558, 0.007799513816833496, 0.007750072956085205, 0.007699833869934082, 0.007707993984222412, 0.007753273963928223, 0.007846552848815918, 0.007847673892974853, 0.007842392921447753, 0.007844793796539306, 0.0077961540222167966, 0.007769113063812256, 0.007763353824615479, 0.007845754146575928, 0.007842873096466065, 0.0077398338317871095, 0.007731513977050781, 0.007746393203735351, 0.007743514060974121, 0.0077326340675354, 0.0077766327857971196, 0.007721434116363526, 0.007638874053955078, 0.007744473934173584, 0.007720152854919434, 0.007696154117584228, 0.007661434173583984, 0.007642394065856934, 0.008882871627807617, 0.007864153861999512, 0.0076371140480041505, 0.007623834133148193, 0.007607512950897217, 0.007629273891448974, 0.007644954204559326, 0.007606713771820068, 0.007613433837890625, 0.007601112842559815, 0.00760223388671875, 0.007648153781890869, 0.007654714107513428, 0.007620314121246338, 0.007638073921203613, 0.007703834056854248, 0.007658874034881592, 0.007658713817596435, 0.007662393093109131, 0.007633913993835449, 0.007634233951568603, 0.007615993976593018, 0.007165753841400146, 0.007197274208068848, 0.007111353874206543, 0.006744154930114746, 0.006720633983612061, 0.006791355133056641, 0.006783194065093994, 0.006749114990234375, 0.006759674072265625, 0.006760634899139404, 0.006761114120483399, 0.006773435115814209, 0.006781114101409912, 0.006752954959869385, 0.006723353862762451, 0.006777275085449219, 0.0067491140365600584, 0.007411513805389404, 0.00676031494140625, 0.0067209539413452144, 0.006747835159301758, 0.006741114139556885, 0.006763834953308106, 0.00672015380859375, 0.006769915103912353, 0.0067582340240478515, 0.0067695951461792, 0.006710393905639649, 0.006799835205078125, 0.006732314109802246, 0.006743195056915283, 0.006719354152679443, 0.0067379150390625, 0.0067771139144897465, 0.006754875183105469, 0.0067465538978576664, 0.006723995208740234, 0.006735194206237793, 0.00674831485748291, 0.006731194019317627, 0.006755674839019775, 0.0067489538192749025, 0.006743675231933594, 0.006700314044952392, 0.006789434909820557, 0.007107034206390381, 0.006752315044403076, 0.006735673904418945, 0.006771675109863281, 0.0067961540222167965, 0.006774714946746826, 0.00676271390914917, 0.006765594959259033, 0.006737594127655029, 0.0067745552062988285, 0.006759513854980468, 0.00675599479675293, 0.006781593799591064, 0.0067537550926208495, 0.006723514080047607, 0.006757754802703858, 0.0068841538429260255, 0.006763994216918945, 0.006960155010223389, 0.0067582340240478515, 0.0067379150390625, 0.006755194187164307, 0.006755354881286621, 0.007138554096221924, 0.006735994815826416, 0.006742554187774658, 0.006876473903656006, 0.006955995082855225, 0.006737113952636719, 0.006755034923553466, 0.0067300739288330075, 0.006750235080718994, 0.006740153789520264, 0.007009274959564209, 0.0069447941780090335, 0.006885434150695801, 0.006999515056610108, 0.007032473087310791, 0.007466073989868164, 0.007723993778228759, 0.0075019140243530276, 0.007236313819885254, 0.00712671422958374, 0.007349274158477783 ] }, "throughput": { "unit": "samples/s", "value": 139.51468799670639 }, "energy": null, "efficiency": null } } }