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

Commit

Permalink
Add loader stub for GGJT
Browse files Browse the repository at this point in the history
  • Loading branch information
iacore committed Apr 6, 2023
1 parent eea9fc7 commit af5415f
Show file tree
Hide file tree
Showing 3 changed files with 350 additions and 310 deletions.
6 changes: 4 additions & 2 deletions ggml/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ use std::{

pub use ggml_sys::ggml_type as Type;

/// Magic constant for `ggml` files (versioned).
pub const FILE_MAGIC: u32 = 0x67676d66;
/// Magic constant for `ggml` files (versioned, ggmf).
pub const FILE_MAGIC_GGMF: u32 = 0x67676d66;
/// Magic constant for `ggml` files (versioned, ggjt).
pub const FILE_MAGIC_GGJT: u32 = 0x67676a74;
/// Magic constant for `ggml` files (unversioned).
pub const FILE_MAGIC_UNVERSIONED: u32 = 0x67676d6c;

Expand Down
Loading

0 comments on commit af5415f

Please sign in to comment.