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

How can I set the gpu_memory_utilization? #22

Closed
Bearljj opened this issue May 5, 2024 · 1 comment
Closed

How can I set the gpu_memory_utilization? #22

Bearljj opened this issue May 5, 2024 · 1 comment

Comments

@Bearljj
Copy link

Bearljj commented May 5, 2024

I encountered this error when running the code:

ValueError: No available memory for the cache blocks. Try increasing gpu_memory_utilization when initializing the engine.

But I have already made these settings

bonito = Bonito("BatsResearch/bonito-v1",gpu_memory_utilization=0.9)

, it seems like they are not working, what should I do?

@nihalnayak
Copy link
Member

This is related to the issue in the vllm package (vllm-project/vllm#2248).

You could try the following with Bonito and see if that helps:

bonito = Bonito("BatsResearch/bonito-v1", enforce_eager=True)

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

2 participants