mirror of
https://github.com/ollama/ollama.git
synced 2025-08-25 09:51:25 +02:00
chore: fix some inconsistent function name in comment
Signed-off-by: youzichuan <youzichuan6@outlook.com>
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
||||
fsggml "github.com/ollama/ollama/fs/ggml"
|
||||
)
|
||||
|
||||
// convertToF32 converts (dequantizes) the raw data to F32 so we can then quantize it
|
||||
// ConvertToF32 converts (dequantizes) the raw data to F32 so we can then quantize it
|
||||
func ConvertToF32(data []byte, dtype uint32, nelements uint64) []float32 {
|
||||
f32s := make([]float32, nelements)
|
||||
elems := C.int64_t(nelements)
|
||||
|
@@ -22,7 +22,7 @@ func WithOriginalContextLength(n int) func(*Options) {
|
||||
}
|
||||
}
|
||||
|
||||
// WithType sets RoPE type to NeoX
|
||||
// WithTypeNeoX sets RoPE type to NeoX
|
||||
func WithTypeNeoX() func(*Options) {
|
||||
return func(opts *Options) {
|
||||
opts.Type = 2
|
||||
|
Reference in New Issue
Block a user