diff --git a/torchstudio/pythoncheck.py b/torchstudio/pythoncheck.py index 898efee..fc8d741 100644 --- a/torchstudio/pythoncheck.py +++ b/torchstudio/pythoncheck.py @@ -36,7 +36,7 @@ else: from importlib.metadata import version pytorch_version=tuple(int(i) for i in version('torch').split('.')[:2]) - min_pytorch_version=(1,9) if args.remote else (1,10) #1.9 required for torch.package support, 1.10 required for stable torch.fx and profile-directed typing in torchscript + min_pytorch_version=(1,9) #1.9 required for torch.package support, 1.10 preferred for stable torch.fx and profile-directed typing in torchscript if pytorch_version