{ "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_type": "roberta", "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": {}, "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, "memory": true, "latency": 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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": { "load": { "memory": { "unit": "MB", "max_ram": 720.703488, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.374592 }, "latency": { "unit": "s", "count": 1, "total": 7.1656591796875, "mean": 7.1656591796875, "stdev": 0.0, "p50": 7.1656591796875, "p90": 7.1656591796875, "p95": 7.1656591796875, "p99": 7.1656591796875, "values": [ 7.1656591796875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0840705699390836e-06, "ram": 5.782028979938522e-07, "gpu": 1.69944580399959e-06, "total": 3.3617192719325257e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 912.896, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993024 }, "latency": { "unit": "s", "count": 150, "total": 1.0014067521095276, "mean": 0.006676045014063517, "stdev": 0.00018587693309256024, "p50": 0.006685696125030518, "p90": 0.006893113756179809, "p95": 0.006969036936759948, "p99": 0.007100149698257446, "values": [ 0.007010303974151612, 0.007061503887176514, 0.006978559970855713, 0.006957056045532227, 0.006907904148101806, 0.006975488185882568, 0.006904831886291504, 0.006870016098022461, 0.006887423992156983, 0.006796288013458252, 0.006820864200592041, 0.006737919807434082, 0.00677785587310791, 0.006731776237487793, 0.006657983779907227, 0.0066938881874084475, 0.00676966381072998, 0.006767615795135498, 0.006797311782836914, 0.006829055786132812, 0.006825984001159668, 0.006683648109436035, 0.006924287796020508, 0.006870016098022461, 0.006822912216186523, 0.006806528091430664, 0.006881279945373535, 0.006850560188293457, 0.007566336154937744, 0.007137279987335205, 0.006815743923187256, 0.0068055038452148435, 0.0067952961921691896, 0.006680575847625733, 0.0067010560035705566, 0.006685696125030518, 0.006749216079711914, 0.006698976039886475, 0.006724607944488525, 0.006685696125030518, 0.006780928134918213, 0.0068249602317810056, 0.006990848064422607, 0.006767680168151855, 0.006887423992156983, 0.00677785587310791, 0.00669593620300293, 0.006726655960083008, 0.006951935768127441, 0.006797311782836914, 0.006746175765991211, 0.006772736072540283, 0.0068249602317810056, 0.006662144184112549, 0.006663167953491211, 0.006713344097137451, 0.006695903778076172, 0.006829055786132812, 0.006699007987976074, 0.0066641921997070315, 0.006795263767242431, 0.006709248065948486, 0.006658048152923584, 0.006897664070129395, 0.006748159885406494, 0.006776832103729248, 0.006789120197296142, 0.006855679988861084, 0.006961152076721191, 0.0067972798347473145, 0.006808576107025147, 0.00676966381072998, 0.006797311782836914, 0.006892608165740967, 0.006790143966674805, 0.006864895820617676, 0.006765567779541016, 0.006621183872222901, 0.0065146880149841305, 0.00658739185333252, 0.006744063854217529, 0.006562816143035889, 0.006392831802368164, 0.006469632148742676, 0.006498303890228272, 0.006505472183227539, 0.006618112087249756, 0.006648831844329834, 0.006792191982269287, 0.00674508810043335, 0.007061503887176514, 0.0066979842185974124, 0.006624256134033203, 0.006565887928009034, 0.006511616230010986, 0.006661119937896728, 0.006540287971496582, 0.006452223777770996, 0.006503424167633057, 0.0065177597999572755, 0.006491136074066162, 0.006500351905822754, 0.006496255874633789, 0.006479872226715088, 0.006500351905822754, 0.006461440086364746, 0.0065146880149841305, 0.006513696193695068, 0.006436863899230957, 0.006497280120849609, 0.006657023906707763, 0.006463488101959228, 0.006500351905822754, 0.00648089599609375, 0.006505472183227539, 0.0065064959526062015, 0.006467584133148193, 0.006524928092956543, 0.006489088058471679, 0.006479872226715088, 0.006509568214416504, 0.0064542717933654785, 0.006456319808959961, 0.0065136637687683106, 0.006632448196411133, 0.006515711784362793, 0.00652185583114624, 0.006472703933715821, 0.006478847980499268, 0.006460415840148926, 0.00643993616104126, 0.006470655918121338, 0.006452223777770996, 0.0064839677810668945, 0.006518847942352295, 0.006479872226715088, 0.006493184089660644, 0.006468607902526856, 0.006459392070770263, 0.006635583877563476, 0.00643993616104126, 0.006471680164337158, 0.0067062082290649415, 0.006461440086364746, 0.006479872226715088, 0.006496255874633789, 0.006437888145446777, 0.006487040042877197, 0.006450175762176514, 0.006460415840148926 ] }, "throughput": { "unit": "samples/s", "value": 149.789283609298 }, "energy": { "unit": "kWh", "cpu": 7.450912462756986e-08, "ram": 4.073454411796756e-08, "gpu": 1.4135755543396414e-07, "total": 2.566012241795016e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3897097.5419059764 } } } }