Fix torchao int1 error by pinning to 0.6.1
Browse files- Dockerfile +2 -1
- 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
|
| 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
|