-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: mv vllm to cuda-enable requirement file and update Dockerfile (#160
) * docs: add pull request template * chore: mv vllm to cuda-enabled dependencies * chore: update Dockerfile * refactor: rename llm_kernel as llm_core
- Loading branch information
1 parent
ac14f82
commit 2a3142a
Showing
20 changed files
with
15 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,15 @@ | ||
# Use the Ubuntu 22.04 base image | ||
FROM ubuntu:22.04 | ||
|
||
# Update the package list and install dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
git \ | ||
wget \ | ||
curl \ | ||
vim \ | ||
tmux \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
git wget curl vim tmux python3 python3-pip | ||
|
||
# Install Miniconda | ||
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda.sh \ | ||
&& bash /tmp/miniconda.sh -b -p /opt/conda \ | ||
&& rm /tmp/miniconda.sh \ | ||
&& /opt/conda/bin/conda init | ||
|
||
# Set path to conda | ||
ENV PATH=/opt/conda/bin:$PATH | ||
WORKDIR /workspace | ||
|
||
RUN curl https://ollama.ai/install.sh | sh | ||
|
||
# Create a working directory | ||
WORKDIR /workspace | ||
|
||
RUN conda create -n aios python=3.11 -y \ | ||
&& /bin/bash -c "source /opt/conda/bin/activate aios" \ | ||
&& git clone https://github.com/dongyuanjushi/AIOS.git \ | ||
&& cd AIOS | ||
RUN git clone https://github.com/agiresearch/AIOS.git \ | ||
&& cd AIOS \ | ||
&& pip install -r requirements.txt | ||
|
||
# Set the default command to run when starting the container | ||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-r requirements.txt | ||
vllm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,5 @@ protobuf==4.25.3 | |
pydantic==2.7.0 | ||
Pympler==1.0.1 | ||
click==8.1.7 | ||
ollama==0.1.7 | ||
ollama | ||
pyopenagi | ||
vllm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters