Skip to content

Commit

Permalink
XXX: fix: download SDXL
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Aug 27, 2023
1 parent 8554eee commit d37a7cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Add this in for tox, comment out for build
--extra-index-url https://download.pytorch.org/whl/cu118
horde_model_reference~=0.4.7
horde_model_reference~=0.4.8
pydantic
torch>=2.0.0
xformers>=0.0.19
Expand Down
3 changes: 3 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ def shared_model_manager(hordelib_instance: HordeLib) -> Generator[type[SharedMo
assert SharedModelManager.manager.blip is not None
assert SharedModelManager.manager.clip is not None

# FIXME
SharedModelManager.manager.compvis.download_model("SDXL 1.0")

yield SharedModelManager

SharedModelManager._instance = None # type: ignore
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ passenv =
HORDELIB_TESTING
AIWORKER_CACHE_HOME
TESTS_ONGOING
setenv =
HORDE_MODEL_REFERENCE_GITHUB_BRANCH = "SDXL"
deps =
pytest>=7
pytest-sugar
Expand Down

0 comments on commit d37a7cc

Please sign in to comment.