Skip to content

Conversation

Galunid
Copy link
Contributor

@Galunid Galunid commented Dec 3, 2023

Make it similar to stablelm now that gpt-neox is supported for all layers.
I tried to allow for full offloading, but tmpqkv are on CPU and not on GPU.

@Galunid
Copy link
Contributor Author

Galunid commented Dec 3, 2023

This is possible thanks to #4156

@ggerganov
Copy link
Member

You can offload tmpqkv by adding an entry in the k_offload_map:

https://github.com/ggerganov/llama.cpp/blob/3cb1c348b3481f39d244b6b0cd5afb04aa6bd460/llama.cpp#L5262-L5271

@Galunid Galunid marked this pull request as draft December 4, 2023 03:17
@Galunid Galunid closed this May 20, 2024
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.

2 participants