{ "config": { "name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+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.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.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.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "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": 787.767296, "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.40012548828125, "mean": 7.40012548828125, "stdev": 0.0, "p50": 7.40012548828125, "p90": 7.40012548828125, "p95": 7.40012548828125, "p99": 7.40012548828125, "values": [ 7.40012548828125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 8.78334726388551e-07, "ram": 4.6514607078438225e-07, "gpu": 0.0, "total": 1.3434807971729333e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1083.404288, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.038592 }, "latency": { "unit": "s", "count": 132, "total": 0.9960077114105226, "mean": 0.00754551296523123, "stdev": 0.00026944888983579894, "p50": 0.007566848039627075, "p90": 0.007888601398468018, "p95": 0.007959347009658814, "p99": 0.008099163990020752, "values": [ 0.008038399696350097, 0.007933951854705811, 0.007844672203063965, 0.007998367786407471, 0.007961599826812745, 0.007967711925506592, 0.007894015789031983, 0.007756671905517578, 0.007638016223907471, 0.007591775894165039, 0.007608320236206055, 0.007625728130340576, 0.007608320236206055, 0.007532544136047363, 0.007548927783966064, 0.007606272220611572, 0.007774208068847656, 0.007605247974395752, 0.0076902399063110355, 0.0077742719650268554, 0.007549952030181885, 0.0075632638931274416, 0.007609344005584716, 0.007618720054626465, 0.00769536018371582, 0.0076574721336364745, 0.007635968208312988, 0.007616511821746826, 0.007578559875488281, 0.007737279891967774, 0.007549952030181885, 0.007661568164825439, 0.0076308479309082035, 0.0076943359375, 0.007708672046661377, 0.007549888134002686, 0.0075345921516418455, 0.00788479995727539, 0.007880703926086426, 0.007895040035247802, 0.007966720104217529, 0.007871488094329833, 0.00795750379562378, 0.007895040035247802, 0.0077619199752807615, 0.007649280071258545, 0.007689216136932373, 0.007658495903015137, 0.007570432186126709, 0.0076267518997192385, 0.00759603214263916, 0.00752016019821167, 0.0075008001327514645, 0.007599103927612305, 0.007539711952209473, 0.0076943359375, 0.007506944179534912, 0.007553023815155029, 0.007552000045776367, 0.007580671787261963, 0.007572480201721191, 0.007562240123748779, 0.007526400089263916, 0.007811071872711181, 0.0077281279563903805, 0.007857151985168457, 0.007858272075653077, 0.008294400215148925, 0.007779327869415284, 0.007851903915405273, 0.007860223770141601, 0.0077619199752807615, 0.007741439819335938, 0.0074926080703735356, 0.007501823902130127, 0.007394207954406738, 0.007391136169433593, 0.007494656085968018, 0.007367616176605225, 0.0071905279159545895, 0.008126463890075684, 0.007900032043457031, 0.007659520149230957, 0.007889023780822754, 0.007767039775848389, 0.007767039775848389, 0.007798783779144287, 0.007839744091033935, 0.007516032218933106, 0.0074997758865356446, 0.007494656085968018, 0.007452672004699707, 0.00744652795791626, 0.007425024032592774, 0.0074291200637817386, 0.007426047801971435, 0.007461887836456299, 0.007489535808563232, 0.007324672222137451, 0.007172095775604248, 0.007145472049713135, 0.007128064155578613, 0.007129087924957276, 0.007277599811553955, 0.007245823860168457, 0.007145472049713135, 0.007147520065307617, 0.0071823358535766605, 0.007154687881469727, 0.007160768032073974, 0.00722431993484497, 0.0071823358535766605, 0.007142271995544434, 0.0071536960601806645, 0.007247744083404541, 0.007159840106964111, 0.0071485438346862796, 0.007184319972991944, 0.007151616096496582, 0.007157760143280029, 0.007166975975036621, 0.007135231971740722, 0.007150591850280762, 0.007180287837982178, 0.007202816009521484, 0.007137407779693603, 0.007131135940551757, 0.007161856174468994, 0.007193600177764893, 0.007145472049713135, 0.007225344181060791, 0.0072427520751953125 ] }, "throughput": { "unit": "samples/s", "value": 132.52909439131224 }, "energy": { "unit": "kWh", "cpu": 8.49584954613038e-08, "ram": 4.645072083202301e-08, "gpu": 1.609703668714267e-07, "total": 2.923795831647535e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3420211.4565451997 } } } }