Skip to content

Commit fe5d877

Browse files
committed
Update
[ghstack-poisoned]
2 parents 5684d08 + 8bca4c9 commit fe5d877

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

torchrl/services/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
>>> tokenizer = services["tokenizer"]
2121
>>> result = tokenizer.encode.remote(text)
2222
"""
23+
from __future__ import annotations
2324

2425
from torchrl.services.base import ServiceBase
2526
from torchrl.services.ray_service import RayService

torchrl/services/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.
5+
from __future__ import annotations
56

67
from abc import ABC, abstractmethod
78
from typing import Any

torchrl/services/ray_service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.
5+
from __future__ import annotations
56

67
from typing import Any
78

0 commit comments

Comments
 (0)