Skip to content

Commit

Permalink
fix: re-un-fix the mama cli
Browse files Browse the repository at this point in the history
This apparently regressed and un-regressed at some point because the relevant code was previously changed to fix the reverse problem.
  • Loading branch information
tazlin committed Dec 16, 2024
1 parent e936e5d commit 8f6d9f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update-runtime.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cd /d "%~dp0"
SET MAMBA_ROOT_PREFIX=%~dp0conda
echo %MAMBA_ROOT_PREFIX%

if exist "%MAMBA_ROOT_PREFIX%\condabin\micromamba.bat" (
if exist "%MAMBA_ROOT_PREFIX%\condabin\mamba.bat" (
echo Deleting micromamba.exe as its out of date
del micromamba.exe
if errorlevel 1 (
Expand Down Expand Up @@ -65,7 +65,7 @@ REM Check if hordelib argument is defined

micromamba.exe shell hook -s cmd.exe %MAMBA_ROOT_PREFIX% -v
call "%MAMBA_ROOT_PREFIX%\condabin\mamba_hook.bat"
call "%MAMBA_ROOT_PREFIX%\condabin\mamba.bat" activate windows
call "%MAMBA_ROOT_PREFIX%\condabin\micromamba.bat" activate windows

python -s -m pip install torch==2.5.0 torchvision==0.19.1 --index-url https://download.pytorch.org/whl/cu124 -U

Expand Down

0 comments on commit 8f6d9f8

Please sign in to comment.