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

Drastically improved load speed of llama when low_resource=False #370

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cmdr64
Copy link

@cmdr64 cmdr64 commented Oct 10, 2023

Added an argument low_cpu_mem_usage=True that drastically reduces load time of the model. Before I made this change, loading Llama took more than a minute. Now it loads in seconds.

Tested on NVIDIA 4090 Founder's Edition.

…mem_usage=True, drastically speeding up load time (cuts more than a minute off of load)
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

Successfully merging this pull request may close these issues.

1 participant