Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Commit af5415f

Browse files
committed
Add loader stub for GGJT
1 parent eea9fc7 commit af5415f

File tree

3 files changed

+350
-310
lines changed

3 files changed

+350
-310
lines changed

ggml/src/lib.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ use std::{
1616

1717
pub use ggml_sys::ggml_type as Type;
1818

19-
/// Magic constant for `ggml` files (versioned).
20-
pub const FILE_MAGIC: u32 = 0x67676d66;
19+
/// Magic constant for `ggml` files (versioned, ggmf).
20+
pub const FILE_MAGIC_GGMF: u32 = 0x67676d66;
21+
/// Magic constant for `ggml` files (versioned, ggjt).
22+
pub const FILE_MAGIC_GGJT: u32 = 0x67676a74;
2123
/// Magic constant for `ggml` files (unversioned).
2224
pub const FILE_MAGIC_UNVERSIONED: u32 = 0x67676d6c;
2325

0 commit comments

Comments
 (0)