From bdcb8ed5abbb6e06bcae266bfc7e613fcfedcda4 Mon Sep 17 00:00:00 2001 From: Nikita Selin Date: Mon, 8 Apr 2024 20:44:41 +1000 Subject: [PATCH 1/3] updated deps --- Dockerfile.cuda | 2 +- requirements.txt | 32 ++++++++++++++++---------------- requirements_dev.txt | 2 +- requirements_test.txt | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Dockerfile.cuda b/Dockerfile.cuda index 8c77652..ac1d0e3 100644 --- a/Dockerfile.cuda +++ b/Dockerfile.cuda @@ -14,7 +14,7 @@ COPY ./carvekit/ml/files/models_loc.py ./carvekit/ml/files/models_loc.py RUN python3 -c "from carvekit.ml.files.models_loc import download_all; download_all();" RUN rm -rf ./carvekit -FROM pytorch/pytorch:2.1.2-cuda12.1-cudnn8-runtime +FROM pytorch/pytorch:2.2.2-cuda12.1-cudnn8-runtime WORKDIR /app RUN apt-get update && apt-get -y install libgl1 libglib2.0-0 # Install cv2 dep. diff --git a/requirements.txt b/requirements.txt index 6f4c218..844240a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,16 +1,16 @@ -requests~=2.31.0 -torch~=2.1.2 -Pillow==10.1.0 -typing~=3.7.4.3 -torchvision~=0.16.2 -opencv-python~=4.8.1.78 -numpy~=1.26.2 -loguru~=0.7.2 -uvicorn~=0.25.0 -fastapi~=0.108.0 -pydantic~=2.5.3 -click~=8.1.7 -tqdm~=4.66.1 -setuptools~=69.0.3 -aiofiles~=23.2.1 -python-multipart~=0.0.6 \ No newline at end of file +requests>=2.31.0 +torch>=2.2.2 +Pillow>=10.3.0 +typing>=3.7.4.3 +torchvision>=0.17.2 +opencv-python>=4.9.0.80 +numpy>=1.26.4 +loguru>=0.7.2 +uvicorn>=0.29.0 +fastapi>=0.110.1 +pydantic>=2.6.4 +click>=8.1.7 +tqdm>=4.66.2 +setuptools>=69.2.0 +aiofiles>=23.2.1 +python-multipart>=0.0.9 \ No newline at end of file diff --git a/requirements_dev.txt b/requirements_dev.txt index 1c7365f..00e70a1 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,2 +1,2 @@ -pre-commit==3.6.0 +pre-commit>=3.7.0 diff --git a/requirements_test.txt b/requirements_test.txt index 9f5995c..02e4b36 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,2 +1,2 @@ -pytest~=7.4.3 +pytest>=8.1.1 From 143f09e3754b1e9023c1bba329bd99f0d9948867 Mon Sep 17 00:00:00 2001 From: Nikita Selin Date: Mon, 8 Apr 2024 20:59:57 +1000 Subject: [PATCH 2/3] fixed re --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 489e60c..753ef8a 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ def req_file(filename: str, folder: str = "."): # you may also want to remove whitespace characters # Example: `\n` at the end of each line if os.getenv("COLAB_PACKAGE_RELEASE") is not None: - return [re.sub("(~=.*)|(==.*)|(typing.*)", "", x.strip()) for x in content] + return [re.sub("(>=.*)|(~=.*)|(==.*)|(typing.*)", "", x.strip()) for x in content] return [x.strip() for x in content] From 7bd03d81400ccb2d32679230a65f9f0f3c79e2b5 Mon Sep 17 00:00:00 2001 From: Nikita Selin Date: Mon, 8 Apr 2024 21:02:00 +1000 Subject: [PATCH 3/3] changed version to 4.1.2 --- carvekit/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/carvekit/__init__.py b/carvekit/__init__.py index a281e17..7eca9ec 100644 --- a/carvekit/__init__.py +++ b/carvekit/__init__.py @@ -1 +1 @@ -version = "4.1.1" +version = "4.1.2"