From 9025848df56e7095febf88fc1cd473b180e19fc5 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 9 Apr 2025 10:25:47 -0700 Subject: [PATCH] Small change to installer --- one_click.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/one_click.py b/one_click.py index 8dd11b6b..9f46a2df 100644 --- a/one_click.py +++ b/one_click.py @@ -21,6 +21,7 @@ TORCH_VERSION = "2.6.0" TORCHVISION_VERSION = "0.21.0" TORCHAUDIO_VERSION = "2.6.0" PYTHON_VERSION = "3.11" +LIBSTDCXX_VERSION_LINUX = "12.1.0" # Environment script_dir = os.getcwd() @@ -435,7 +436,7 @@ def update_requirements(initial_installation=False, pull=True): install_extensions_requirements() if is_linux(): - run_cmd("conda install -y -c conda-forge libstdcxx-ng==12.1.0", assert_success=True, environment=True) + run_cmd(f"conda install -y -c conda-forge libstdcxx-ng=={LIBSTDCXX_VERSION_LINUX}", assert_success=True, environment=True) # Update PyTorch if not initial_installation: