{ "config": { "name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+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", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 901.677056, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 150, "total": 1.0022338247299192, "mean": 0.006681558831532796, "stdev": 0.00026484379998751917, "p50": 0.006718976020812988, "p90": 0.006989721393585204, "p95": 0.007276697540283202, "p99": 0.0073917644977569575, "values": [ 0.007484416007995606, 0.0071905279159545895, 0.007364607810974121, 0.007417856216430664, 0.007342080116271973, 0.007301119804382325, 0.007303167819976806, 0.007206912040710449, 0.007161856174468994, 0.007362559795379638, 0.0065443840026855465, 0.006351871967315674, 0.006656000137329102, 0.00672051191329956, 0.006722559928894043, 0.0067645440101623535, 0.006779903888702392, 0.006715392112731934, 0.006740992069244385, 0.006738944053649902, 0.00698367977142334, 0.006750207901000976, 0.006767615795135498, 0.00672051191329956, 0.006746111869812011, 0.006754303932189941, 0.006731776237487793, 0.006730751991271973, 0.006722559928894043, 0.006803455829620361, 0.007208960056304932, 0.0064174079895019534, 0.0063836159706115725, 0.006396927833557129, 0.006345727920532227, 0.006369279861450195, 0.006379519939422608, 0.006395904064178467, 0.006371327877044678, 0.006359039783477783, 0.006367231845855713, 0.006344704151153564, 0.006385663986206055, 0.006368256092071533, 0.006370304107666015, 0.006359039783477783, 0.006366208076477051, 0.0063805441856384275, 0.006346752166748047, 0.006346752166748047, 0.006405119895935059, 0.006363135814666748, 0.006392831802368164, 0.006336512088775635, 0.006355967998504639, 0.006345727920532227, 0.006341631889343262, 0.006362112045288086, 0.006338560104370118, 0.006363135814666748, 0.0063610877990722655, 0.006344704151153564, 0.006460415840148926, 0.006338560104370118, 0.006392831802368164, 0.006339583873748779, 0.006354944229125976, 0.006385663986206055, 0.006366208076477051, 0.006342656135559082, 0.006352896213531494, 0.0063539199829101565, 0.006370304107666015, 0.006336512088775635, 0.006379519939422608, 0.006946815967559815, 0.006700032234191895, 0.006725632190704346, 0.006778880119323731, 0.006722559928894043, 0.006807551860809326, 0.006758399963378906, 0.006737919807434082, 0.00672870397567749, 0.006718463897705078, 0.007093247890472412, 0.006716415882110595, 0.006760447978973389, 0.006791168212890625, 0.006767615795135498, 0.006751232147216797, 0.006811647891998291, 0.006756351947784424, 0.007044095993041993, 0.006781951904296875, 0.006793216228485107, 0.006746111869812011, 0.006812672138214112, 0.007342080116271973, 0.006812672138214112, 0.006683648109436035, 0.006778880119323731, 0.006760479927062989, 0.006715392112731934, 0.006689792156219483, 0.006711296081542969, 0.0067338237762451176, 0.006692927837371826, 0.00675328016281128, 0.006740992069244385, 0.0067358717918396, 0.006744063854217529, 0.006726655960083008, 0.006702079772949219, 0.006719488143920899, 0.0067041277885437015, 0.006714367866516113, 0.00667955207824707, 0.0067041277885437015, 0.0067153282165527345, 0.006716351985931396, 0.006725632190704346, 0.006729728221893311, 0.006884352207183838, 0.006838272094726563, 0.006800384044647217, 0.0072468481063842774, 0.006846464157104492, 0.00677785587310791, 0.006755328178405762, 0.006694911956787109, 0.006751232147216797, 0.0067338237762451176, 0.00669593620300293, 0.006725632190704346, 0.006715392112731934, 0.006722559928894043, 0.0067010560035705566, 0.006687744140625, 0.006700032234191895, 0.0066979842185974124, 0.006719488143920899, 0.00672051191329956, 0.006683648109436035, 0.006721536159515381, 0.006703104019165039, 0.0066744318008422855, 0.006725632190704346, 0.006699007987976074, 0.0066979842185974124 ] }, "throughput": { "unit": "samples/s", "value": 149.6656731181686 }, "energy": { "unit": "kWh", "cpu": 7.732159217542728e-08, "ram": 4.211485477545314e-08, "gpu": 1.441270994285792e-07, "total": 2.6356354637945965e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3794151.4057496884 } } } }