Skip to content

Commit

Permalink
add annotation
Browse files Browse the repository at this point in the history
Signed-off-by: liuxsh9 <liuxiaoshuang4@huawei.com>
  • Loading branch information
liuxsh9 committed Mar 3, 2025
1 parent b940e26 commit 374ea70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rllib/utils/framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def convert_to_tensor(
def get_device(
config: "AlgorithmConfig",
num_gpus_requested: int = 1,
custom_resources_requested=None,
custom_resources_requested: Optional[dict] = None,
):
"""Returns a single device (CPU or some GPU) depending on a config.
Expand Down

0 comments on commit 374ea70

Please sign in to comment.