"docs/vscode:/vscode.git/clone" did not exist on "d3e4460b98b7dfa8205a3c09c3bfc5a36663a2a0"
ggml: Don't allocate CPU buffers as CUDA Host buffers
Allocating (and in particular, freeing) memory from CUDA host buffers is expensive and can cause a significant performance hit if we do it for every token. Using normal system memory avoids this issue and also gives the OS more flexibility to manage it. There is no performance impact from this patch directly (either positive or negative) but it makes a difference once we start freeing memory correctly.
Showing
Please register or sign in to comment