Skip to content

Commit 5bcf3a6

Browse files
committed
format
1 parent 7707196 commit 5bcf3a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlx/io/gguf.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ Shape get_shape(const gguf_tensor& tensor) {
5858

5959
std::tuple<allocator::Buffer, Dtype> extract_tensor_data(gguf_tensor* tensor) {
6060
if (tensor == nullptr) {
61-
throw std::invalid_argument("[extract_tensor_data] Input tensor pointer is null.");
61+
throw std::invalid_argument(
62+
"[extract_tensor_data] Input tensor pointer is null.");
6263
}
6364
std::optional<Dtype> equivalent_dtype = gguf_type_to_dtype(tensor->type);
6465
// If there's an equivalent type, we can simply copy.

0 commit comments

Comments
 (0)