{ "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", "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.0", "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": 907.698176, "max_global_vram": 1195.900928, "max_process_vram": 0.0, "max_reserved": 555.74528, "max_allocated": 509.039104 }, "latency": { "unit": "s", "count": 136, "total": 0.9994755530357362, "mean": 0.007349084948792177, "stdev": 0.0003792756581833165, "p50": 0.007301120042800903, "p90": 0.007598079919815063, "p95": 0.008035840272903442, "p99": 0.008403537750244142, "values": [ 0.010314751625061035, 0.008490976333618163, 0.008166399955749512, 0.008033280372619628, 0.008032192230224609, 0.008043519973754883, 0.0082227201461792, 0.007953407764434815, 0.008241151809692383, 0.007333888053894043, 0.007159808158874512, 0.007098368167877197, 0.007106560230255127, 0.0071198720932006835, 0.007112671852111816, 0.007093247890472412, 0.00769536018371582, 0.007529471874237061, 0.007667712211608887, 0.008084447860717773, 0.007585792064666748, 0.007507967948913574, 0.0074997758865356446, 0.007477248191833496, 0.007534527778625488, 0.007610367774963379, 0.0074967041015625, 0.007423999786376953, 0.0074700798988342285, 0.007478271961212158, 0.007290880203247071, 0.007166975975036621, 0.007173120021820068, 0.007111680030822754, 0.007165952205657959, 0.007112703800201416, 0.007122943878173828, 0.007132127761840821, 0.00709119987487793, 0.007120895862579346, 0.007101439952850342, 0.00714137601852417, 0.007098368167877197, 0.007101439952850342, 0.007134208202362061, 0.007095295906066895, 0.007123968124389648, 0.00710041618347168, 0.007105535984039306, 0.0071198720932006835, 0.007127039909362793, 0.007135231971740722, 0.007097343921661377, 0.0071157760620117185, 0.007090176105499267, 0.007107583999633789, 0.007072768211364746, 0.007087103843688965, 0.00710041618347168, 0.007102464199066162, 0.007109632015228271, 0.007048096179962158, 0.007110655784606934, 0.007104512214660645, 0.007130112171173096, 0.007090176105499267, 0.007677951812744141, 0.007126016139984131, 0.007117824077606201, 0.00709119987487793, 0.007107583999633789, 0.007158783912658692, 0.007016448020935059, 0.007031807899475098, 0.007076863765716553, 0.0070594558715820314, 0.007203839778900147, 0.0071198720932006835, 0.007114783763885498, 0.007094272136688232, 0.0070696320533752445, 0.007101439952850342, 0.007097248077392578, 0.00713318395614624, 0.007074816226959229, 0.007047167778015137, 0.007093247890472412, 0.007098368167877197, 0.00708403205871582, 0.007057407855987549, 0.007116799831390381, 0.007096320152282715, 0.0074741759300231934, 0.00748748779296875, 0.007504896163940429, 0.007418879985809326, 0.0074332160949707035, 0.007423999786376953, 0.007457791805267334, 0.007437312126159668, 0.007344128131866455, 0.007351295948028564, 0.00729804801940918, 0.007367680072784424, 0.007304192066192627, 0.007365568161010742, 0.007395328044891358, 0.0074414081573486324, 0.007409632205963135, 0.007386112213134765, 0.007419904232025146, 0.007468031883239746, 0.007437312126159668, 0.0074414081573486324, 0.007425024032592774, 0.007431168079376221, 0.007395328044891358, 0.007450623989105225, 0.007457791805267334, 0.00746284818649292, 0.00745472002029419, 0.007435264110565186, 0.007419904232025146, 0.007398399829864502, 0.007386112213134765, 0.007457791805267334, 0.007423999786376953, 0.007426047801971435, 0.007421919822692871, 0.007434239864349365, 0.007459839820861816, 0.007425024032592774, 0.007428095817565918, 0.007431168079376221, 0.007445504188537597, 0.00744652795791626 ] }, "throughput": { "unit": "samples/s", "value": 136.07136221283577 }, "energy": { "unit": "kWh", "cpu": 8.59822675993669e-08, "ram": 4.7003675358016906e-08, "gpu": 1.4988135984057874e-07, "total": 2.8286730279796253e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3535226.55361213 } } } }