{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "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.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.41.1", "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": 907.882496, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 131, "total": 1.0012743368148795, "mean": 0.007643315548205194, "stdev": 0.0002595442981809403, "p50": 0.007656447887420655, "p90": 0.007930848121643066, "p95": 0.007986687898635865, "p99": 0.00813383674621582, "values": [ 0.008762368202209473, 0.007656447887420655, 0.007848959922790527, 0.007888895988464355, 0.007984127998352051, 0.008104960441589355, 0.007781375885009765, 0.007873536109924317, 0.007584767818450928, 0.00758681583404541, 0.007497727870941162, 0.007612415790557861, 0.007633920192718506, 0.00760319995880127, 0.007541728019714355, 0.007455743789672851, 0.00779366397857666, 0.007806975841522217, 0.008138751983642578, 0.007894015789031983, 0.008067071914672852, 0.007786496162414551, 0.007821343898773193, 0.007814144134521485, 0.007887872219085693, 0.007860223770141601, 0.007930848121643066, 0.00785920000076294, 0.007802879810333252, 0.007886847972869874, 0.007899136066436767, 0.007809023857116699, 0.007812096118927002, 0.007770143985748291, 0.00775980806350708, 0.007749504089355469, 0.007778304100036621, 0.007702527999877929, 0.007844863891601562, 0.007955455780029297, 0.007948287963867188, 0.008072192192077637, 0.007845888137817383, 0.007989247798919678, 0.007827455997467042, 0.007878655910491944, 0.007539775848388672, 0.007635968208312988, 0.007764992237091065, 0.007847968101501466, 0.007877632141113282, 0.007974912166595459, 0.007889920234680176, 0.007831552028656007, 0.00788479995727539, 0.0077413759231567385, 0.007833439826965332, 0.007775231838226319, 0.007799776077270508, 0.00778223991394043, 0.007883776187896728, 0.008122367858886719, 0.007923711776733398, 0.007964672088623047, 0.007879680156707763, 0.007812096118927002, 0.007817215919494629, 0.007824384212493896, 0.007748608112335205, 0.0076789441108703616, 0.007650303840637207, 0.007713791847229004, 0.007635968208312988, 0.007464960098266602, 0.007417856216430664, 0.007461887836456299, 0.007561215877532959, 0.007696383953094482, 0.007674880027770996, 0.007741439819335938, 0.007955455780029297, 0.0076912641525268555, 0.007515135765075683, 0.007458816051483155, 0.007415808200836181, 0.007456736087799072, 0.007443456172943115, 0.007386112213134765, 0.007372799873352051, 0.007477119922637939, 0.007482367992401123, 0.00743833589553833, 0.007428095817565918, 0.007425024032592774, 0.007425024032592774, 0.007458816051483155, 0.007412735939025879, 0.007368703842163086, 0.007325695991516113, 0.007341055870056152, 0.007279615879058838, 0.007262207984924316, 0.007274496078491211, 0.007322624206542969, 0.00733081579208374, 0.007257984161376953, 0.0072837119102478025, 0.007373824119567871, 0.007278592109680176, 0.007231488227844239, 0.007222271919250488, 0.007361536026000977, 0.007296000003814697, 0.007278592109680176, 0.007227392196655274, 0.007390207767486572, 0.00724889612197876, 0.007390016078948974, 0.007425024032592774, 0.007450623989105225, 0.00744652795791626, 0.007435264110565186, 0.0074321279525756834, 0.007428095817565918, 0.007458816051483155, 0.007449600219726562, 0.0074700798988342285, 0.007437312126159668, 0.007346176147460938, 0.0073134078979492185, 0.007328800201416016 ] }, "throughput": { "unit": "samples/s", "value": 130.83327434189476 }, "energy": { "unit": "kWh", "cpu": 8.526902428443294e-08, "ram": 4.6616730622504583e-08, "gpu": 1.6723034961151106e-07, "total": 2.991161045184486e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3343183.415717167 } } } }