Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worker specifies more requirements than it needs #209

Open
tazlin opened this issue May 20, 2023 · 1 comment
Open

Worker specifies more requirements than it needs #209

tazlin opened this issue May 20, 2023 · 1 comment
Labels
refactor/code improvement A feature which primarily benefits contributors or integrators.

Comments

@tazlin
Copy link
Member

tazlin commented May 20, 2023

The requirements.txt in its current state is a holdover from when nataili was packaged within the worker. By my estimation, the worker's requirements could be reduced to the following:

--extra-index-url https://download.pytorch.org/whl/cu118
xformers
hordelib>=1.1.2
loguru
Pillow
psutil
PyYAML
regex
rembg
Requests
Unidecode
windows-curses; sys_platform == 'win32'
gradio```

Note that by having xformers specified here, we help keep hordelib more generic.

See Haidra-Org/hordelib#289 for more info.

@db0
Copy link
Member

db0 commented May 20, 2023

OK with me, so long as it works

@tazlin tazlin added the refactor/code improvement A feature which primarily benefits contributors or integrators. label May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor/code improvement A feature which primarily benefits contributors or integrators.
Projects
None yet
Development

No branches or pull requests

2 participants