From 3e952526dd4eb85d31ac47c66595cec16a145bbd Mon Sep 17 00:00:00 2001 From: tazlin Date: Fri, 4 Oct 2024 16:00:34 -0400 Subject: [PATCH] fix: micromamba updated cli syntax for update-runtime --- runtime.cmd | 4 ++-- update-runtime.cmd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime.cmd b/runtime.cmd index fcc980f5..2e826009 100644 --- a/runtime.cmd +++ b/runtime.cmd @@ -16,7 +16,7 @@ IF EXIST CONDA GOTO APP call update-runtime :APP -micromamba.exe shell hook -s cmd.exe -p "%MAMBA_ROOT_PREFIX%" -v +micromamba.exe shell hook -s cmd.exe "%MAMBA_ROOT_PREFIX%" -v call "%MAMBA_ROOT_PREFIX%\condabin\mamba_hook.bat" -call "%MAMBA_ROOT_PREFIX%\condabin\micromamba.bat" activate windows +call "%MAMBA_ROOT_PREFIX%\condabin\mamba.bat" activate windows %* diff --git a/update-runtime.cmd b/update-runtime.cmd index 0375811a..e4b26a6f 100644 --- a/update-runtime.cmd +++ b/update-runtime.cmd @@ -45,9 +45,9 @@ IF EXIST CONDA GOTO WORKAROUND_END REM Check if hordelib argument is defined -micromamba.exe shell hook -s cmd.exe -p %MAMBA_ROOT_PREFIX% -v +micromamba.exe shell hook -s cmd.exe %MAMBA_ROOT_PREFIX% -v call "%MAMBA_ROOT_PREFIX%\condabin\mamba_hook.bat" -call "%MAMBA_ROOT_PREFIX%\condabin\micromamba.bat" activate windows +call "%MAMBA_ROOT_PREFIX%\condabin\mamba.bat" activate windows python -s -m pip install torch==2.3.1 torchvision==0.18.1 --index-url https://download.pytorch.org/whl/cu121 -U