We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7707196 commit 5bcf3a6Copy full SHA for 5bcf3a6
mlx/io/gguf.cpp
@@ -58,7 +58,8 @@ Shape get_shape(const gguf_tensor& tensor) {
58
59
std::tuple<allocator::Buffer, Dtype> extract_tensor_data(gguf_tensor* tensor) {
60
if (tensor == nullptr) {
61
- throw std::invalid_argument("[extract_tensor_data] Input tensor pointer is null.");
+ throw std::invalid_argument(
62
+ "[extract_tensor_data] Input tensor pointer is null.");
63
}
64
std::optional<Dtype> equivalent_dtype = gguf_type_to_dtype(tensor->type);
65
// If there's an equivalent type, we can simply copy.
0 commit comments