{ "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": 901.865472, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 508.993536 }, "latency": { "unit": "s", "count": 153, "total": 0.9997195849418637, "mean": 0.006534114934260549, "stdev": 0.00023253156127769087, "p50": 0.006573056221008301, "p90": 0.006790758609771728, "p95": 0.006837247943878174, "p99": 0.007289978866577147, "values": [ 0.007219200134277344, 0.0067707200050354, 0.006846464157104492, 0.006906847953796386, 0.006864863872528076, 0.006770688056945801, 0.006789120197296142, 0.006696959972381592, 0.007366655826568603, 0.006831103801727295, 0.006800384044647217, 0.007035903930664063, 0.007455743789672851, 0.006812672138214112, 0.006748159885406494, 0.0066938881874084475, 0.006801407814025879, 0.006799359798431396, 0.0066416640281677245, 0.006758399963378906, 0.006859776020050049, 0.006648831844329834, 0.006595583915710449, 0.006602752208709717, 0.006650879859924317, 0.0066406397819519045, 0.006673408031463623, 0.00678604793548584, 0.006627327919006347, 0.006642687797546387, 0.006624256134033203, 0.0066375679969787596, 0.0066119680404663084, 0.006635519981384277, 0.006650879859924317, 0.006599679946899414, 0.006711296081542969, 0.006603775978088379, 0.006791168212890625, 0.00678604793548584, 0.0065146880149841305, 0.006583295822143555, 0.006620160102844238, 0.006619135856628418, 0.00672051191329956, 0.006710271835327148, 0.006650879859924317, 0.006669312000274658, 0.006633471965789795, 0.006563839912414551, 0.006619135856628418, 0.006675456047058105, 0.006628352165222168, 0.006617087841033936, 0.006662144184112549, 0.006618112087249756, 0.0065484800338745115, 0.006584320068359375, 0.0066119680404663084, 0.006565887928009034, 0.006657023906707763, 0.006815743923187256, 0.006553599834442139, 0.006525951862335205, 0.006518784046173095, 0.0066507840156555175, 0.0065710082054138185, 0.006552576065063476, 0.0065710082054138185, 0.006602752208709717, 0.006573056221008301, 0.006652927875518798, 0.006718463897705078, 0.0066119999885559085, 0.006652895927429199, 0.006608895778656006, 0.006598656177520752, 0.00672870397567749, 0.006590464115142822, 0.006562816143035889, 0.006573056221008301, 0.0065146880149841305, 0.0064522881507873536, 0.006428607940673828, 0.0065792322158813475, 0.006550528049468994, 0.006387648105621338, 0.006259712219238281, 0.006404032230377197, 0.006368256092071533, 0.006448128223419189, 0.006602752208709717, 0.006627327919006347, 0.006676479816436768, 0.006703104019165039, 0.0067051520347595215, 0.006776832103729248, 0.006814720153808594, 0.00653107213973999, 0.006463488101959228, 0.006464511871337891, 0.006448128223419189, 0.006486015796661377, 0.006534143924713135, 0.006407167911529541, 0.006436927795410156, 0.0064245758056640625, 0.00643993616104126, 0.006446080207824707, 0.006380512237548828, 0.006266880035400391, 0.0062269439697265625, 0.006275072097778321, 0.0062638077735900875, 0.006231040000915527, 0.0062679038047790524, 0.006244351863861084, 0.006227968215942382, 0.006223807811737061, 0.006227968215942382, 0.006243328094482422, 0.0062341117858886715, 0.0062638077735900875, 0.00622489595413208, 0.006277120113372803, 0.006239232063293457, 0.006250495910644531, 0.006258687973022461, 0.00621670389175415, 0.006266880035400391, 0.006246399879455566, 0.006260735988616943, 0.006235136032104492, 0.00624128007888794, 0.006266880035400391, 0.0062259521484375, 0.006281216144561768, 0.006273024082183838, 0.006259712219238281, 0.006224864006042481, 0.006238207817077636, 0.0062259202003479, 0.006261760234832763, 0.0062576642036437985, 0.006264832019805908, 0.006242303848266601, 0.006252543926239014, 0.006273983955383301, 0.0062259202003479, 0.006232063770294189, 0.006243328094482422, 0.006244351863861084, 0.006250463962554932 ] }, "throughput": { "unit": "samples/s", "value": 153.0429155380579 }, "energy": { "unit": "kWh", "cpu": 7.736901810139787e-08, "ram": 4.229320095642013e-08, "gpu": 1.35866121764709e-07, "total": 2.55528340822527e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3913460.232164751 } } } }