Skip to content

Commit

Permalink
fix whitespaced paths not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Sxela authored Aug 22, 2023
1 parent f92013c commit 0430661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.bat
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if %errorlevel% equ 0 (
echo Exiting.
exit /b -1 )

if not exist %venv_dir%\Scripts\activate.bat (
if not exist "%venv_dir%\Scripts\activate.bat" (
echo Virtual env not installed, please run install.bat
echo Exiting.
exit /b -1
Expand All @@ -28,7 +28,7 @@ set IS_DOCKER=1
set IS_LOCAL_INSTALL=1

echo Activating virtual environment
call %venv_dir%\Scripts\activate"
call "%venv_dir%\Scripts\activate"

python -c "import torch; from xformers import ops; assert torch.cuda.is_available(), 'Cuda not available, plese run install.bat'"
if %errorlevel% equ 1 (exit /b -1)
Expand Down

0 comments on commit 0430661

Please sign in to comment.