Skip to content

Commit

Permalink
fix: use hires adjustments + cascade fix
Browse files Browse the repository at this point in the history
See Haidra-Org/hordelib#287 for more information
  • Loading branch information
tazlin committed Jul 21, 2024
1 parent c390f15 commit 9433024
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
- id: mypy
args: []
additional_dependencies:
- pydantic==2.8.2
- pydantic==2.7.4
- types-requests
- types-pytz
- types-setuptools
Expand All @@ -40,7 +40,7 @@ repos:
- horde_safety==0.2.3
- torch==2.3.1
- ruamel.yaml
- horde_engine==2.13.2
- horde_sdk==0.13.0
- horde_model_reference==0.7.0
- horde_engine==2.14.0
- horde_sdk==0.14.0
- horde_model_reference==0.8.1
- semver
2 changes: 1 addition & 1 deletion horde-bridge.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cd /d %~dp0
call runtime python -s -m pip -V

call python -s -m pip uninstall hordelib
call python -s -m pip install horde_sdk~=0.13.0 horde_model_reference~=0.7.0 horde_engine~=2.13.2 horde_safety~=0.2.3 -U
call python -s -m pip install horde_sdk~=0.14.0 horde_model_reference~=0.8.1 horde_engine~=2.14.0 horde_safety~=0.2.3 -U

if %ERRORLEVEL% NEQ 0 (
echo "Please run update-runtime.cmd."
Expand Down
2 changes: 1 addition & 1 deletion horde_worker_regen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

ASSETS_FOLDER_PATH = Path(__file__).parent / "assets"

__version__ = "8.0.3"
__version__ = "8.1.0"


import pkg_resources # noqa: E402
Expand Down
2 changes: 1 addition & 1 deletion horde_worker_regen/_version_meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"recommended_version": "8.0.3",
"recommended_version": "8.1.0",
"required_min_version": "4.2.7",
"required_min_version_update_date": "2024-03-09",
"required_min_version_info": {
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "horde_worker_regen"
version = "8.0.3"
version = "8.1.0"
description = "Allows you to connect to the AI Horde and generate images for users."
authors = [
{name = "tazlin", email = "[email protected]"},
Expand Down
8 changes: 4 additions & 4 deletions requirements.rocm.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
numpy==1.26.4
torch==2.3.1+rocm6.0

horde_sdk~=0.13.0
horde_sdk~=0.14.0
horde_safety~=0.2.3
horde_engine~=2.13.2
horde_model_reference~=0.7.0
horde_engine~=2.14.0
horde_model_reference~=0.8.1

python-dotenv
ruamel.yaml
Expand All @@ -13,7 +13,7 @@ wheel

python-Levenshtein

pydantic~=2.8.2
pydantic>=2.7.4
typing_extensions
requests
StrEnum
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
numpy==1.26.4
torch>=2.3.1

horde_sdk~=0.13.0
horde_sdk~=0.14.0
horde_safety~=0.2.3
horde_engine~=2.13.2
horde_model_reference~=0.7.0
horde_engine~=2.14.0
horde_model_reference>=0.8.1

python-dotenv
ruamel.yaml
semver

python-Levenshtein

pydantic~=2.8.2
pydantic>=2.7.4
typing_extensions
requests
StrEnum
Expand Down
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ def rocm_horde_dependency_versions() -> list[tuple[str, str]]:
version = req.split("==")[1].strip()
elif "~=" in req:
version = req.split("~=")[1].strip()
elif ">=" in req:
version = req.split(">=")[1].strip()
else:
raise ValueError(f"Unsupported version pin: {req}")

Expand Down

0 comments on commit 9433024

Please sign in to comment.