Skip to content

Commit

Permalink
tighten
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpatel2000 committed Jan 13, 2024
1 parent f6eb1c4 commit b00af46
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,10 @@ RUN if [[ -n "$CUDA_VERSION" ]] && [[ -z "${PYTORCH_NIGHTLY_URL}" ]]; then \
RUN if [ -n "$CUDA_VERSION" ] ; then \
pip${PYTHON_VERSION} install --upgrade --no-cache-dir ninja==1.11.1 && \
pip${PYTHON_VERSION} install --upgrade --no-cache-dir --force-reinstall packaging==22.0 && \
pip${PYTHON_VERSION} install --no-cache-dir flash-attn==1.0.9; \
git clone --branch v2.4.2 https://github.com/Dao-AILab/flash-attention.git && \
cd flash-attention && \
MAX_JOBS=1 python${PYTHON_VERSION} setup.py install && \
cd .. ; \
fi

###############
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def package_files(prefix: str, directory: str, extension: str):
'tqdm>=4.62.3,<5',
'torchmetrics>=0.10.0,<1.1',
'torch_optimizer>=0.3.0,<0.4',
'torchvision>=0.13.1,<0.19',
'torch>=1.13.1,<2.2.1',
'torchvision>=0.13.1,<0.20', # TODO: Tighten before release
'torch>=1.13.1,<2.3.0', # TODO: Tighten before release
'requests>=2.26.0,<3',
'numpy>=1.21.5,<1.27.0',
'psutil>=5.8.0,<6',
Expand Down

0 comments on commit b00af46

Please sign in to comment.