Skip to content

Commit ee3d70b

Browse files
committed
Update
[ghstack-poisoned]
1 parent fb1ddba commit ee3d70b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

torchrl/envs/transforms/rlhf.py

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
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
6+
57
from copy import copy, deepcopy
68

79
import torch

torchrl/envs/transforms/transforms.py

-4
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,9 @@
1919
from typing import (
2020
Any,
2121
Callable,
22-
Dict,
23-
List,
2422
Mapping,
25-
Optional,
2623
OrderedDict,
2724
Sequence,
28-
Tuple,
2925
TypeVar,
3026
Union,
3127
)

0 commit comments

Comments
 (0)