From 8d36e703d70082cddd9a627bef7533036c60ab25 Mon Sep 17 00:00:00 2001 From: Joe Fioti Date: Sat, 22 Jun 2024 18:40:49 -0500 Subject: [PATCH] removed gguf warnings --- examples/llama/src/gguf.rs | 1 + examples/llama_server/src/llama/gguf.rs | 1 + examples/phi/src/gguf.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/examples/llama/src/gguf.rs b/examples/llama/src/gguf.rs index 0fa1053a..fa51074c 100644 --- a/examples/llama/src/gguf.rs +++ b/examples/llama/src/gguf.rs @@ -1,6 +1,7 @@ //! Support for the GGUF file format. //! //! Spec: https://github.com/philpax/ggml/blob/gguf-spec/docs/gguf.md +#![allow(unused)] use byteorder::{LittleEndian, ReadBytesExt}; use std::collections::HashMap; diff --git a/examples/llama_server/src/llama/gguf.rs b/examples/llama_server/src/llama/gguf.rs index 0fa1053a..fa51074c 100644 --- a/examples/llama_server/src/llama/gguf.rs +++ b/examples/llama_server/src/llama/gguf.rs @@ -1,6 +1,7 @@ //! Support for the GGUF file format. //! //! Spec: https://github.com/philpax/ggml/blob/gguf-spec/docs/gguf.md +#![allow(unused)] use byteorder::{LittleEndian, ReadBytesExt}; use std::collections::HashMap; diff --git a/examples/phi/src/gguf.rs b/examples/phi/src/gguf.rs index 0fa1053a..fa51074c 100644 --- a/examples/phi/src/gguf.rs +++ b/examples/phi/src/gguf.rs @@ -1,6 +1,7 @@ //! Support for the GGUF file format. //! //! Spec: https://github.com/philpax/ggml/blob/gguf-spec/docs/gguf.md +#![allow(unused)] use byteorder::{LittleEndian, ReadBytesExt}; use std::collections::HashMap;