Skip to content

Commit

Permalink
0.30.0 - update moondream2
Browse files Browse the repository at this point in the history
  • Loading branch information
matatonic committed Aug 26, 2024
1 parent 469d414 commit 830d0b1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ If you can't find your favorite model, you can [open a new issue](https://github

## Recent updates

Version 0.30.0

- Update moondream2 to version 2024-08-26

Version 0.29.0

- new model support: fancyfeast/joy-caption-pre-alpha (caption only, depends on Meta-Llama-3.1-8b [authorization required], --load-in-4bit avoids this dependency)
Expand Down
2 changes: 1 addition & 1 deletion backend/moondream2.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class VisionQnA(VisionQnABase):
model_name: str = "moondream2"
revision: str = '2024-07-23' # 'main'
revision: str = '2024-08-26' # 'main'
format: str = 'phi15'
vision_layers: List[str] = ["vision_encoder"]

Expand Down
4 changes: 2 additions & 2 deletions vision.sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ HF_HUB_ENABLE_HF_TRANSFER=1
#CLI_COMMAND="python vision.py -m togethercomputer/Llama-3-8B-Dragonfly-Med-v1" # test pass✅, time: 10.1s, mem: 18.1GB, 13/13 tests passed.
#CLI_COMMAND="python vision.py -m togethercomputer/Llama-3-8B-Dragonfly-v1 --load-in-4bit" # test pass✅, time: 10.3s, mem: 8.5GB, 13/13 tests passed.
#CLI_COMMAND="python vision.py -m togethercomputer/Llama-3-8B-Dragonfly-v1" # test pass✅, time: 12.5s, mem: 18.1GB, 13/13 tests passed.
#CLI_COMMAND="python vision.py -m vikhyatk/moondream2 --use-flash-attn --load-in-4bit" # test pass✅, time: 5.9s, mem: 3.4GB, 13/13 tests passed.
#CLI_COMMAND="python vision.py -m vikhyatk/moondream2 --use-flash-attn" # test pass✅, time: 4.5s, mem: 5.0GB, 13/13 tests passed.
#CLI_COMMAND="python vision.py -m vikhyatk/moondream2 --use-flash-attn --load-in-4bit" # test pass✅, time: 6.2s, mem: 3.1GB, 13/13 tests passed.
#CLI_COMMAND="python vision.py -m vikhyatk/moondream2 --use-flash-attn" # test pass✅, time: 5.4s, mem: 4.7GB, 13/13 tests passed.

0 comments on commit 830d0b1

Please sign in to comment.