Skip to content

Commit

Permalink
simplify dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Holger Roth <[email protected]>
  • Loading branch information
Holger Roth committed Nov 1, 2024
1 parent f4fc38f commit ca95ab0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Please visit the [VILA-M3 Demo](https://vila-m3-demo.monai.ngc.nvidia.com/) to t
--modelpath /data/checkpoints/<8B-checkpoint-name> \
--convmode llama_3
```
>> For details, see the available [commmandline arguments](./m3/demo/gradio_m3.py#L855).
> For details, see the available [commmandline arguments](./m3/demo/gradio_m3.py#L855).
#### Adding your own expert model
Expand Down
11 changes: 6 additions & 5 deletions m3/demo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
FROM nvidia/cuda:12.2.2-devel-ubuntu22.04

RUN apt-get update
RUN apt-get install -y wget python3.10 python3.10-venv python3.10-dev git unzip
RUN apt-get install -y wget python3.10 python3.10-dev git unzip
RUN apt-get install -y python3-pip

RUN git clone https://github.com/Project-MONAI/VLM --recursive
WORKDIR /VLM
SHELL ["/bin/bash", "-c"]
RUN python3.10 -m venv .venv
RUN source .venv/bin/activate
RUN ln -s /usr/bin/python3 /usr/bin/python

RUN git clone https://github.com/Project-MONAI/VLM --recursive
WORKDIR /VLM
###RUN python3.10 -m venv .venv
####RUN source .venv/bin/activate
RUN make demo_m3

0 comments on commit ca95ab0

Please sign in to comment.