{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.6.0.dev20240917+cu124", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.224-212.876.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 810.094592, "max_global_vram": 1192.7552, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.37152 }, "latency": { "unit": "s", "count": 1, "total": 8.5225263671875, "mean": 8.5225263671875, "stdev": 0.0, "p50": 8.5225263671875, "p90": 8.5225263671875, "p95": 8.5225263671875, "p99": 8.5225263671875, "values": [ 8.5225263671875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.056904298379071e-07, "ram": 4.69438917347047e-07, "gpu": 0.0, "total": 1.3751293471849541e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1103.31904, "max_global_vram": 1203.24096, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 130, "total": 0.9992434840202338, "mean": 0.007686488338617178, "stdev": 0.00032106215549831127, "p50": 0.007704576015472412, "p90": 0.007926271820068359, "p95": 0.008019609260559082, "p99": 0.00890674160003662, "values": [ 0.007815167903900147, 0.007880703926086426, 0.007830527782440186, 0.007838719844818116, 0.007809023857116699, 0.007702527999877929, 0.007606272220611572, 0.007706624031066894, 0.007636991977691651, 0.007614463806152344, 0.007639039993286132, 0.007628799915313721, 0.007648255825042725, 0.007611328125, 0.007732223987579345, 0.007844863891601562, 0.007861248016357422, 0.007894015789031983, 0.007941120147705078, 0.00791756820678711, 0.007921664237976075, 0.007913472175598145, 0.00785100793838501, 0.007865344047546387, 0.007903232097625732, 0.007930880069732665, 0.007887872219085693, 0.007910399913787843, 0.007914495944976807, 0.007910399913787843, 0.007979008197784423, 0.00790835189819336, 0.00790118408203125, 0.007910399913787843, 0.007907328128814697, 0.00785097599029541, 0.00783564805984497, 0.007825407981872558, 0.008006655693054199, 0.007886847972869874, 0.007844863891601562, 0.00784281587600708, 0.007839744091033935, 0.007833600044250488, 0.007882751941680909, 0.008030207633972167, 0.008048640251159669, 0.007914495944976807, 0.007879680156707763, 0.007867392063140868, 0.007875584125518798, 0.007830527782440186, 0.007902207851409913, 0.00790937614440918, 0.007840767860412597, 0.007860223770141601, 0.007925759792327881, 0.007777279853820801, 0.007763967990875244, 0.007840767860412597, 0.007514111995697022, 0.007565311908721924, 0.008408063888549805, 0.007550943851470948, 0.007501823902130127, 0.007584767818450928, 0.007523327827453613, 0.007540736198425293, 0.007548927783966064, 0.007539711952209473, 0.007529471874237061, 0.007797760009765625, 0.007933951854705811, 0.007975935935974121, 0.0076267518997192385, 0.007618559837341309, 0.00764518404006958, 0.007601151943206787, 0.007624703884124756, 0.007607295989990235, 0.007527391910552978, 0.007585792064666748, 0.007606272220611572, 0.007504896163940429, 0.007490560054779053, 0.0073686399459838865, 0.0074065918922424315, 0.007481344223022461, 0.007325695991516113, 0.007203839778900147, 0.007305215835571289, 0.007715839862823487, 0.007786496162414551, 0.00784281587600708, 0.007873536109924317, 0.008051712036132813, 0.007911424160003662, 0.008927231788635253, 0.008856575965881347, 0.008948736190795899, 0.0074414081573486324, 0.007374847888946533, 0.0073471999168395995, 0.007342080116271973, 0.007305215835571289, 0.007265279769897461, 0.007205887794494629, 0.007296000003814697, 0.00724070405960083, 0.0071905279159545895, 0.007176191806793213, 0.007172095775604248, 0.007180287837982178, 0.007186431884765625, 0.007169023990631103, 0.007177216053009033, 0.0071782078742980955, 0.007178239822387696, 0.007189504146575928, 0.007207935810089112, 0.007172095775604248, 0.007194623947143554, 0.0075642881393432615, 0.0075673599243164065, 0.007569407939910889, 0.007583712100982666, 0.007544832229614258, 0.00749567985534668, 0.0075345921516418455, 0.007542784214019775 ] }, "throughput": { "unit": "samples/s", "value": 130.09842153483356 }, "energy": { "unit": "kWh", "cpu": 8.885693587796052e-08, "ram": 4.8445208733740644e-08, "gpu": 1.6774889041793622e-07, "total": 3.0505103502963736e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3278140.0000916063 } } } }