{ "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": 900.579328, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 142, "total": 0.9999707517623899, "mean": 0.007042047547622465, "stdev": 0.00023800417354936538, "p50": 0.0071116797924041745, "p90": 0.007287904167175293, "p95": 0.00740480010509491, "p99": 0.0076277146625518795, "values": [ 0.00758784008026123, 0.007260159969329834, 0.007544832229614258, 0.00733900785446167, 0.007407616138458252, 0.0074301438331604, 0.0073359360694885255, 0.007296031951904297, 0.007288832187652588, 0.007221248149871826, 0.007197696208953858, 0.007206912040710449, 0.007201791763305664, 0.007120895862579346, 0.007080959796905518, 0.007164927959442138, 0.007164927959442138, 0.007166975975036621, 0.007189504146575928, 0.007168992042541504, 0.007172095775604248, 0.007165952205657959, 0.007110655784606934, 0.007180287837982178, 0.0071905279159545895, 0.007194623947143554, 0.0072325119972229, 0.007229440212249756, 0.007163904190063477, 0.007101471900939941, 0.007161856174468994, 0.007188479900360107, 0.007187456130981445, 0.00708403205871582, 0.007081984043121338, 0.007147520065307617, 0.007344128131866455, 0.0075796799659729, 0.007162879943847656, 0.007177216053009033, 0.007126016139984131, 0.007245855808258057, 0.007252992153167725, 0.007262207984924316, 0.007237631797790528, 0.007176191806793213, 0.0071495680809020995, 0.007155712127685547, 0.007201791763305664, 0.007244800090789795, 0.007202816009521484, 0.007147520065307617, 0.007110655784606934, 0.00707583999633789, 0.007122943878173828, 0.007066624164581299, 0.007128032207489013, 0.007226367950439453, 0.007390207767486572, 0.007122943878173828, 0.007105567932128906, 0.007112703800201416, 0.007163904190063477, 0.007734272003173828, 0.007341055870056152, 0.007208960056304932, 0.007279551982879638, 0.007231488227844239, 0.007227456092834473, 0.007251935958862305, 0.00740556812286377, 0.007176191806793213, 0.007233535766601563, 0.00709119987487793, 0.007234560012817383, 0.0070860800743103025, 0.007076863765716553, 0.006933472156524658, 0.007021567821502686, 0.0071198720932006835, 0.00693452787399292, 0.006782976150512696, 0.006790143966674805, 0.006849535942077637, 0.0067900800704956054, 0.007271423816680909, 0.007655424118041992, 0.007142399787902832, 0.007138304233551026, 0.007181280136108399, 0.006982656002044678, 0.006960127830505371, 0.006915071964263916, 0.0068689918518066405, 0.006822912216186523, 0.006812672138214112, 0.006765567779541016, 0.006750207901000976, 0.006820864200592041, 0.006770688056945801, 0.006730751991271973, 0.006731776237487793, 0.00676966381072998, 0.006748159885406494, 0.00675219202041626, 0.006770688056945801, 0.006772736072540283, 0.006767615795135498, 0.006796256065368652, 0.006752255916595459, 0.006776832103729248, 0.006738944053649902, 0.006822912216186523, 0.006754303932189941, 0.0067358717918396, 0.006776800155639648, 0.006796288013458252, 0.006731776237487793, 0.0067717118263244626, 0.006776832103729248, 0.006738944053649902, 0.006773759841918945, 0.006783999919891357, 0.006746111869812011, 0.006725632190704346, 0.00678604793548584, 0.006779903888702392, 0.006754303932189941, 0.006775872230529785, 0.006737919807434082, 0.006729728221893311, 0.006759424209594727, 0.006779935836791992, 0.006772736072540283, 0.006762495994567871, 0.006772736072540283, 0.006773759841918945, 0.0067430720329284665, 0.0067717118263244626, 0.006783999919891357, 0.006749184131622315, 0.006774784088134766 ] }, "throughput": { "unit": "samples/s", "value": 142.00415337121942 }, "energy": { "unit": "kWh", "cpu": 7.778227697184056e-08, "ram": 4.2520409203693716e-08, "gpu": 1.373911774509772e-07, "total": 2.576938636265115e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3880573.584202027 } } } }