Skip to content

Commit

Permalink
Move presets folder to root
Browse files Browse the repository at this point in the history
Signed-off-by: Heba Elayoty <[email protected]>
  • Loading branch information
helayoty committed Oct 3, 2023
1 parent a7eb78c commit 01c213c
Show file tree
Hide file tree
Showing 26 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ hack/tools/bin/*

# presets

pkg/presets/llama-2/weights
pkg/presets/llama-2-chat/weights
presets/llama-2/weights
presets/llama-2-chat/weights
4 changes: 2 additions & 2 deletions docker/presets/falcon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ WORKDIR /workspace/huggingface
# First, copy just the requirements.txt file and install dependencies
# This is done before copying the code to utilize Docker's layer caching and
# avoid reinstalling dependencies unless the requirements file changes.
COPY pkg/presets/falcon/requirements.txt ./requirements.txt
COPY presets/falcon/requirements.txt ./requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

# Copy the entire 'presets/falcon' folder to the working directory
COPY pkg/presets/falcon .
COPY presets/falcon .
2 changes: 1 addition & 1 deletion docker/presets/llama-2-chat/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ RUN pip install -e .
RUN pip install fastapi pydantic
RUN pip install 'uvicorn[standard]'

ADD pkg/presets/llama-2-chat /workspace/llama/llama-2-chat
ADD presets/llama-2-chat /workspace/llama/llama-2-chat
2 changes: 1 addition & 1 deletion docker/presets/llama-2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ RUN pip install -e .
RUN pip install fastapi pydantic
RUN pip install 'uvicorn[standard]'

ADD pkg/presets/llama-2 /workspace/llama/llama-2
ADD presets/llama-2 /workspace/llama/llama-2
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 01c213c

Please sign in to comment.