vasiuuu commited on
Commit
b97b771
·
1 Parent(s): b9ea90c

Fix torchao int1 error by pinning to 0.6.1

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -1
  2. requirements.txt +0 -1
Dockerfile CHANGED
@@ -11,8 +11,9 @@ WORKDIR /app
11
 
12
  # Upgrade pip and install unsloth properly
13
  RUN pip install --no-cache-dir --upgrade pip
14
- RUN pip install --no-cache-dir "torchao<=0.7.0"
15
  RUN pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"
 
16
 
17
  COPY --chown=user ./requirements.txt requirements.txt
18
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
11
 
12
  # Upgrade pip and install unsloth properly
13
  RUN pip install --no-cache-dir --upgrade pip
14
+ RUN pip install --no-cache-dir "torchao==0.6.1"
15
  RUN pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"
16
+ RUN pip install --no-cache-dir trl
17
 
18
  COPY --chown=user ./requirements.txt requirements.txt
19
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
requirements.txt CHANGED
@@ -1,6 +1,5 @@
1
  fastapi
2
  uvicorn[standard]
3
- unsloth
4
  pytest
5
  ruff
6
  mypy
 
1
  fastapi
2
  uvicorn[standard]
 
3
  pytest
4
  ruff
5
  mypy