mirror of
https://github.com/deepseek-ai/DeepSeek-VL.git
synced 2026-11-05 00:47:24 +00:00
[GH-ISSUE #42] tips for running the model in FP16 on 24GB GPU #31
Labels
No labels
enhancement
environment
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-VL#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @adamo1139 on GitHub (Mar 31, 2024).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-VL/issues/42
I tried to run this model in Gradio GUI on Windows 10 but I had a few issues.
I modified Inference.py (the one in deepseek_vl\serve) a bit to fix those issues.
I also made sure that my torch was installed with cuda 11.8 and not cpu-only mode.
So, if someone else runs into problems when running this model on 24GB of VRAM, this issue might help you.
Installation instructions (assuming you're already in a virtual env, which you should be using)
Here's the Inference.py that works for me
https://gist.github.com/adamo1139/511f63c01c6088d7747f47628ffc970c
I will be closing it down, just want to leave a trace that will hopefully save some time for others.