Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jerrrrry
infinicore
Commits
0f250ec4
Unverified
Commit
0f250ec4
authored
Aug 12, 2025
by
PanZezhong1725
Committed by
GitHub
Aug 12, 2025
Browse files
Merge pull request #357 from InfiniTensor/issue/356
issue/356 - fixed a type error
parents
f8e9d924
f74a28f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/infiniop-test/test_generate/infiniop_test.py
test/infiniop-test/test_generate/infiniop_test.py
+1
-1
No files found.
test/infiniop-test/test_generate/infiniop_test.py
View file @
0f250ec4
...
@@ -15,7 +15,7 @@ def np_dtype_to_ggml(tensor_dtype: np.dtype):
...
@@ -15,7 +15,7 @@ def np_dtype_to_ggml(tensor_dtype: np.dtype):
return
GGMLQuantizationType
.
F32
return
GGMLQuantizationType
.
F32
elif
tensor_dtype
==
np
.
float64
:
elif
tensor_dtype
==
np
.
float64
:
return
GGMLQuantizationType
.
F64
return
GGMLQuantizationType
.
F64
elif
tensor_dtype
==
np
.
bool
:
elif
tensor_dtype
==
np
.
bool
_
:
return
GGMLQuantizationType
.
Q8_K
return
GGMLQuantizationType
.
Q8_K
elif
tensor_dtype
==
np
.
int8
:
elif
tensor_dtype
==
np
.
int8
:
return
GGMLQuantizationType
.
I8
return
GGMLQuantizationType
.
I8
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment