Skip to content

Commit

Permalink
fix: micromamba updated cli syntax for update-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Oct 6, 2024
1 parent cb5894d commit 3e95252
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions runtime.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
%*
4 changes: 2 additions & 2 deletions update-runtime.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3e95252

Please sign in to comment.