From f1ce08e68f450cf1daf2663192dc17a790346d30 Mon Sep 17 00:00:00 2001 From: doctorpangloss <@hiddenswitch.com> Date: Mon, 14 Oct 2024 16:04:47 -0700 Subject: [PATCH] tag was reversed --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3d12f6a47..8a892b6d9 100644 --- a/setup.py +++ b/setup.py @@ -119,7 +119,7 @@ def _is_linux_arm64(): def dependencies(install_torch_for_system=False, force_nightly: bool = False) -> List[str]: _dependencies = open(os.path.join(os.path.dirname(__file__), "requirements.txt")).readlines() - if install_torch_for_system: + if not install_torch_for_system: return [dep for dep in _dependencies if "@" not in dep] # If we're installing with no build isolation, we can check if torch is already installed in the environment, and if # so, go ahead and use the version that is already installed.