Comments (3)
Thank you for your interest! Currently, you can set low_resource to True in the evaluation config file eval_configs/minigpt4_eval.yaml. Besides, you may need to set the number of beams to 1 to save GPU memory in demo.py.
As discussed in [this issue](Another user in this issue, this reduces the memory usage to about 24G, although it may still OOM when the output is long. We are working to come up with a solution to make it work inside 24G memory. Will come back to you once we finish
from minigpt-4.
thanks. you're so nice. waiting for your solution. I suppose many person like me have only one-GPU computer.
from minigpt-4.
We update the default setting of the demo and now it should load vicuna in 8 bit by default. The demo now should be able to run on single 3090 if you set the beam search width to 1(which is also the default value now)
from minigpt-4.
Related Issues (20)
- is there a online demo for this? I tried to build one, but can't install dependencies on Colab, got ssl problem on autoDL
- RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory HOT 3
- evaluation
- MiniGPT-v2 online demo is broken
- minigpt-v2 evaluation
- refcoco_eval.json HOT 2
- Colab notebook is no longer available HOT 2
- Vicuna 13b model, could not parse ModelProto from /home/ken/git-repos/vicuna/config.json HOT 3
- MiniGPTV2 Text to Text
- what does the checkpoint2(stage2) and checkpoint(stage3) mean in the Minigpt_v2?
- lego
- [Detection] Is there any way to output detection confidence?
- /media/dell/data1/ljw/code/test3/New/MiniGPT-4/eval_scripts/eval_vqa.py: 行 24: 未预期的符号 `(' 附近有语法错误
- The order of connection between word vectors and image vectors in prompt
- The Hugging Space app is not available.
- I want to use minigpt-v2 to achieve image search. What are the implementation ideas
- What does the parameter "data" printed during training mean HOT 1
- Where is the region_descriptions.json?
- loss becomes nan during training
- valid_step in training epochs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minigpt-4.