From 5a854c543b6ea36de2da794b7b303d75ae4f5fdc Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 7 Mar 2024 11:57:24 +0000 Subject: [PATCH] Compatibility with python < 3.10 --- torchsnapshot/io_preparers/sharded_tensor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/torchsnapshot/io_preparers/sharded_tensor.py b/torchsnapshot/io_preparers/sharded_tensor.py index b238af0..37411b8 100644 --- a/torchsnapshot/io_preparers/sharded_tensor.py +++ b/torchsnapshot/io_preparers/sharded_tensor.py @@ -4,6 +4,7 @@ # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. +from __future__ import annotations import asyncio import copy