Skip to content

Commit

Permalink
use nano_llm.vision.example in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dusty-nv committed Apr 15, 2024
1 parent fbafc6e commit 783d89c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/llm/nano_llm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RUN git clone --branch=${NANO_LLM_BRANCH} --depth=1 --recursive https://github.c

RUN pip3 install --ignore-installed --no-cache-dir blinker && \
pip3 install --no-cache-dir --verbose -r ${NANO_LLM_PATH}/requirements.txt && \
pip3 install numpy --upgrade --ignore-installed --no-cache-dir --verbose && \
openssl req \
-new \
-newkey rsa:4096 \
Expand Down
3 changes: 2 additions & 1 deletion packages/llm/nano_llm/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ python3 -m nano_llm.chat --api mlc \

python3 -m nano_llm.chat --api=mlc --debug \
--model Efficient-Large-Model/VILA-2.7b \
--max-context-len 768 \
--max-new-tokens 128 \
--prompt /data/prompts/images.json

python3 -m nano_llm.vision.example --debug

0 comments on commit 783d89c

Please sign in to comment.