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

Fix #4017 #4095

Merged
merged 3 commits into from
Nov 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ggml-cuda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -6251,6 +6251,8 @@ static int64_t get_row_rounding(ggml_type type) {
return max_compute_capability >= CC_RDNA2 ? 128 : 64;
case GGML_TYPE_F16:
return 1;
case GGML_TYPE_F32:
return 1;
AndrewGodfrey marked this conversation as resolved.
Show resolved Hide resolved
case GGML_TYPE_Q2_K:
return max_compute_capability >= CC_RDNA2 ? 128 : 32;
case GGML_TYPE_Q3_K:
Expand All @@ -6273,6 +6275,8 @@ static int64_t get_row_rounding(ggml_type type) {
return 64;
case GGML_TYPE_F16:
return 1;
case GGML_TYPE_F32:
return 1;
AndrewGodfrey marked this conversation as resolved.
Show resolved Hide resolved
case GGML_TYPE_Q2_K:
case GGML_TYPE_Q3_K:
case GGML_TYPE_Q4_K:
Expand Down
Loading