change cpu_buft_list order: ACCEL -> GPU host -> CPU extra -> CPU #12632
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This allow to use GPU host when possible over CPU repack.
This have the same effect to resolve this issues (#12459) without completely disable CPU extra buffer.
some bench:
on AMD Ryzen 9 5950X 16-Core Processor + AMD Radeon RX 6900 XT
with Mistral-Nemo-Instruct-2407-Q4_0.gguf
For reference with pure CPU+repack:
for reference with full GPU offload using vulkan backend:
Now with partial GPU offloading + CPU repack:
ggml_vulkan: Found 1 Vulkan devices:
ggml_vulkan: 0 = AMD Radeon RX 6900 XT (RADV NAVI21) (radv) | uma: 0 | fp16: 1 | warp size: 32 | shared memory: 65536 | matrix cores: none
So for me it look good.