Skip to content

Commit

Permalink
🔀 merge: update Docker configurations for development environment, mo…
Browse files Browse the repository at this point in the history
…dify version to 1.1.3.dev1, and adjust dependencies
  • Loading branch information
jedzill4 committed Jan 26, 2025
2 parents af58976 + a6952f7 commit 53d8f48
Show file tree
Hide file tree
Showing 5 changed files with 413 additions and 557 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export $(shell sed 's/=.*//' .env.common)


api-build:
docker compose build aymurai-api
docker compose build aymurai-api-dev
api-run:
docker compose run --service-ports aymurai-api-dev
api-pull:
Expand Down
4 changes: 2 additions & 2 deletions aymurai/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE

__version__ = version = "1.1.1.dev0+g612903a.d20250125"
__version_tuple__ = version_tuple = (1, 1, 1, "dev0", "g612903a.d20250125")
__version__ = version = "1.1.3.dev1+gaf58976.d20250126"
__version_tuple__ = version_tuple = (1, 1, 3, "dev1", "gaf58976.d20250126")
2 changes: 1 addition & 1 deletion docker/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ COPY ./resources/api resources/api

# copy pipelines & run app startup to download models
COPY ./resources/pipelines/production resources/pipelines/production
RUN python /packages/aymurai/api/main.py
RUN uv run python /app/.venv/lib/python3.10/site-packages/aymurai/api/main.py
14 changes: 6 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ dependencies = [
"sentencepiece==0.2.0",
# "flair @ git+https://github.com/flairNLP/flair@v0.13.1",
"flair==0.14.0",
"pytorch-lightning==1.8.3.post1",
"torchtext==0.18.0",
"tensorflow_text==2.18.1",
"fastapi[standard]>=0.115.6",
"uvicorn>=0.34.0",
"python-multipart>=0.0.20",
Expand All @@ -93,14 +90,18 @@ dependencies = [
"diskcache>=5.6.3",
"mammoth==1.8.0",
"scipy<1.14.1",
"torch==2.5.1",
"torch==1.12.1", # for decision model
"torchtext==0.13.1", # for decision model
"pytorch-lightning==1.8.3.post1",
"tensorflow_text==2.18.1",
"rich==13.9.4",
"psutil==6.1.0",
"sqlmodel==0.0.22",
"alembic>=1.13.3",
"tenacity==9.0.0",
"python-dotenv>=1.0.1",
"es-core-news-sm",
"tensorflow-hub>=0.16.1",
]


Expand All @@ -118,10 +119,7 @@ dev = [
"jupyter==1.1.1",
"python-semantic-release>=9.16.1",
"pip>=24.3.1",
] # gpu = [
# "torch @ https://download.pytorch.org/whl/cu113/torch-1.12.1%2Bcu113-cp310-cp310-linux_x86_64.whl",
# "spacy[cuda113]==3.8.3",
# ]
]


#######################################################################################
Expand Down
Loading

0 comments on commit 53d8f48

Please # to comment.