Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

always getting (error_code: 1) #7

Open
emanuelevivoli opened this issue Jul 14, 2023 · 2 comments
Open

always getting (error_code: 1) #7

emanuelevivoli opened this issue Jul 14, 2023 · 2 comments

Comments

@emanuelevivoli
Copy link

Hello and thank you for your amazing work!

However, I have a problem: the models are loaded well but I continue getting

NETWORK ERROR DUE TO HIGH TRAFFIC. PLEASE REGENERATE OR REFRESH THIS PAGE. (error_code: 1)

The models (blip2 and minigpt4) are both on GPUs (I'm using them with --keep-in-device otherwise they were not even loaded) but every try I do, I always get the same error.

Any advice?

@BellXP
Copy link
Collaborator

BellXP commented Aug 27, 2023

Apologies for the delayed response. Due to GPU resource limitations, we initially employed the "keep-in-device" option to determine whether to transfer the model between computer memory and GPU memory during inference generation. This process incurred significant time overhead as the model needed to be moved back and forth. However, in our latest code update, we have optimized this by maintaining a constant placement of the model in GPU memory.

Regarding the occurrence of "Network error," this issue could be attributed to unstable connections between the web server, controller, and model worker.

@iraj465
Copy link

iraj465 commented Mar 26, 2024

hey i'm still getting this error, what could be the issue here?
I have stable connection between controller and the model workers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants