From 29a425fb021b19b2e6e2b9a12448a697ca7d3557 Mon Sep 17 00:00:00 2001 From: Nikhil Paleti <68870951+Nikhil-Paleti@users.noreply.github.com> Date: Fri, 16 Jun 2023 10:16:17 +0530 Subject: [PATCH] Update misc.py fixed No module named 'torch._six' updated from https://github.com/microsoft/DeepSpeed/issues/2845 --- imagebind_LLM/util/misc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imagebind_LLM/util/misc.py b/imagebind_LLM/util/misc.py index 6bb622e..481796a 100644 --- a/imagebind_LLM/util/misc.py +++ b/imagebind_LLM/util/misc.py @@ -21,7 +21,7 @@ import torch import torch.utils.data import torch.distributed as dist -from torch._six import inf +from torch import inf class SmoothedValue(object): @@ -410,4 +410,4 @@ def download(url: str, root: str): loop.update(len(buffer)) - return download_target \ No newline at end of file + return download_target