Skip to content
Snippets Groups Projects

Prompt tuning

Merged Niels Jarne Timm requested to merge prompt-tuning into main
24 files
+ 368
170
Compare changes
  • Side-by-side
  • Inline
Files
24
+ 15
6
FROM python:3.12
FROM unit:python3.12
WORKDIR /app
#copy G-Retriever ./G-Retriever
copy . ./src
VOLUME /app/data
RUN pip install pyg-lib -f https://data.pyg.org/whl/torch-2.3.0+cu118.html
RUN pip install -r ./src/requirements.txt
VOLUME /tmpfs
CMD ["fastapi", "dev", "src/api.py", "--host", "0.0.0.0"]
COPY *.py /app/src/
COPY ./requirements.txt .
RUN ls /app/src
#RUN pip install pyg-lib -f https://data.pyg.org/whl/torch-2.3.0+cu118.html
RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
COPY ./config.json /docker-entrypoint.d/config.json
EXPOSE 8000
#CMD ["fastapi", "run", "src/api.py", "--proxy-headers", "--host", "0.0.0.0", "--port", "8000"]
Loading