Skip to content

Commit

Permalink
Fix import issue for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
lrzpellegrini committed Jan 25, 2024
1 parent 6836c26 commit 87c0932
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion avalanche/checkpointing/checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
Optional,
Tuple,
Type,
TypeAlias,
TypeVar,
BinaryIO,
IO,
Union,
Collection,
)
from typing_extensions import TypeAlias

import dill
import torch
Expand Down
2 changes: 1 addition & 1 deletion avalanche/checkpointing/checkpoint_internals.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
Sequence,
Tuple,
Type,
TypeAlias,
TypeVar,
BinaryIO,
IO,
Union,
)
from typing_extensions import TypeAlias

import dill
import torch
Expand Down

0 comments on commit 87c0932

Please sign in to comment.