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

k-quants : fix quantization ranges #3646

Merged
merged 1 commit into from
Oct 17, 2023
Merged

k-quants : fix quantization ranges #3646

merged 1 commit into from
Oct 17, 2023

Conversation

ggerganov
Copy link
Member

close #3636

I don't think this bug has caused any issues so far since we always quantize in the chunks with n == k:

https://github.com/ggerganov/llama.cpp/blob/317dc4bcc22c7cc79193727aea2366528d081035/ggml.c#L20725-L20756

@ggerganov ggerganov merged commit 281ef73 into master Oct 17, 2023
@ggerganov ggerganov deleted the fix-k-quants branch October 17, 2023 06:19
joelkuiper added a commit to vortext/llama.cpp that referenced this pull request Oct 19, 2023
* 'master' of github.com:ggerganov/llama.cpp:
  fix embeddings when using CUDA (ggml-org#3657)
  llama : avoid fprintf in favor of LLAMA_LOG (ggml-org#3538)
  readme : update hot-topics & models, detail windows release in usage (ggml-org#3615)
  CLBlast: Fix temporary buffer size for f16 conversion (wsize)
  train-text-from-scratch : fix assert failure in ggml-alloc (ggml-org#3618)
  editorconfig : remove trailing spaces
  server : documentation of JSON return value of /completion endpoint (ggml-org#3632)
  save-load-state : fix example + add ci test (ggml-org#3655)
  readme : add Aquila2 links (ggml-org#3610)
  tokenizer : special token handling (ggml-org#3538)
  k-quants : fix quantization ranges (ggml-org#3646)
  llava : fix tokenization to not add bos between image embeddings and user prompt (ggml-org#3645)
  MPT : support GQA for replit-code-v1.5 (ggml-org#3627)
  Honor -ngl option for Cuda offloading in llava (ggml-org#3621)
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.

bug in k_quants.c
1 participant