Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Set --xformers by default after install, for the run.cmd or windows.cmd #125

Open
samfisherirl opened this issue Aug 19, 2023 · 2 comments

Comments

@samfisherirl
Copy link

samfisherirl commented Aug 19, 2023

in the default directory, Ive used the bat and cmd files and worked very hard to find where to flag the server.py or webui.py.

I am having a tough time finding how to add "--xformers", or as a fall back, a session that saver that applies flags.

I have tried:

  • adding --xformers to start_windows.bat
  • adding --xformers to webui.py after launching cmd
  • adding --xformers to server

quick help would be appreciated

@rem setup installer env
call python webui.py --xformers
call python server.py 

@rem below are functions for the script   next line skips these during normal execution
goto end

:PrintBigMessage
echo. && echo.
echo *******************************************************************
for %%M in (%*) do echo * %%~M
echo *******************************************************************
echo. && echo.
exit /b

webui.py: error: unrecognized arguments: --xformers

@samfisherirl
Copy link
Author

solution

add to cmd_windows.bat line 26

 
@rem enter commands
cd text-generation-webui
python server.py --xformers --auto-devices --rwkv-cuda-on	

:end
pause

@missionfloyd
Copy link
Contributor

Commandline arguments go in CMD_FLAGS.txt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants