{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_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.285632, "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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.43.3", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 718.835712, "max_global_vram": 1185.415168, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 499.37152 }, "latency": { "unit": "s", "count": 1, "total": 7.212267578125, "mean": 7.212267578125, "stdev": 0.0, "p50": 7.212267578125, "p90": 7.212267578125, "p95": 7.212267578125, "p99": 7.212267578125, "values": [ 7.212267578125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.726696173350017e-07, "ram": 4.6236572355979886e-07, "gpu": 0.0, "total": 1.3350353408948005e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 917.843968, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 144, "total": 0.9987366089820859, "mean": 0.006935670895708932, "stdev": 0.00036152405792379483, "p50": 0.0068280320167541505, "p90": 0.007060377645492554, "p95": 0.007381350374221802, "p99": 0.00853949438095092, "values": [ 0.010068991661071777, 0.009004032135009766, 0.007589888095855713, 0.007482367992401123, 0.007923711776733398, 0.007371776103973389, 0.006852608203887939, 0.0068280320167541505, 0.006882304191589355, 0.007005184173583984, 0.006819839954376221, 0.0068280320167541505, 0.006846464157104492, 0.006972415924072266, 0.006812672138214112, 0.006933504104614257, 0.006915040016174316, 0.006833151817321777, 0.006835264205932617, 0.006842368125915528, 0.006876160144805908, 0.006821887969970703, 0.006847487926483154, 0.007161856174468994, 0.006837247848510742, 0.006820831775665283, 0.006809599876403808, 0.00682700777053833, 0.0068280320167541505, 0.006817791938781738, 0.0069212160110473635, 0.006796288013458252, 0.00677785587310791, 0.006850560188293457, 0.006810624122619629, 0.006800384044647217, 0.006809599876403808, 0.006829055786132812, 0.006806528091430664, 0.006761472225189209, 0.007414752006530761, 0.007046144008636474, 0.007030784130096435, 0.007001088142395019, 0.007110655784606934, 0.006866943836212158, 0.006814720153808594, 0.006806528091430664, 0.006763519763946534, 0.006806528091430664, 0.006809599876403808, 0.006815743923187256, 0.007111680030822754, 0.007023615837097168, 0.007130112171173096, 0.006850527763366699, 0.006823935985565186, 0.006817791938781738, 0.006809599876403808, 0.006971392154693603, 0.006804480075836182, 0.006770656108856201, 0.006776832103729248, 0.00678604793548584, 0.006790143966674805, 0.006789120197296142, 0.006779903888702392, 0.006772736072540283, 0.0067983360290527345, 0.006756351947784424, 0.006770688056945801, 0.00678604793548584, 0.006749184131622315, 0.006788095951080322, 0.006763519763946534, 0.006738912105560302, 0.006840320110321045, 0.006788095951080322, 0.006752255916595459, 0.006785024166107178, 0.00677785587310791, 0.006779903888702392, 0.0067717118263244626, 0.006799359798431396, 0.006785024166107178, 0.0067686400413513184, 0.006755328178405762, 0.006956031799316406, 0.006859776020050049, 0.006975488185882568, 0.0068321280479431154, 0.006804480075836182, 0.006765567779541016, 0.006758399963378906, 0.0070522880554199216, 0.007101439952850342, 0.007062528133392334, 0.006968319892883301, 0.007016448020935059, 0.006996992111206054, 0.006996992111206054, 0.006979584217071533, 0.007015423774719238, 0.007036928176879883, 0.006975488185882568, 0.0069816322326660156, 0.007018496036529541, 0.007026656150817871, 0.006887423992156983, 0.006808576107025147, 0.006774784088134766, 0.0067758078575134275, 0.00692633581161499, 0.006890495777130127, 0.007046144008636474, 0.00704307222366333, 0.006996992111206054, 0.0070553598403930665, 0.007009280204772949, 0.0070256638526916505, 0.007420928001403809, 0.006993919849395752, 0.006985727787017822, 0.007020544052124023, 0.006903808116912841, 0.006781951904296875, 0.006796288013458252, 0.007383039951324463, 0.007029759883880615, 0.006760447978973389, 0.006792191982269287, 0.006801407814025879, 0.006758399963378906, 0.006775743961334228, 0.006804448127746582, 0.006774784088134766, 0.006759424209594727, 0.006788095951080322, 0.006779903888702392, 0.006738944053649902, 0.006781951904296875, 0.006784992218017578, 0.0067348480224609375, 0.006854656219482422 ] }, "throughput": { "unit": "samples/s", "value": 144.18215844392148 }, "energy": { "unit": "kWh", "cpu": 8.064547859171712e-08, "ram": 4.408708269799067e-08, "gpu": 1.7114715127891284e-07, "total": 2.9587971256862067e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3379751.8299538 } } } }