Merged
Conversation
YdrMaster
suggested changes
May 27, 2025
YdrMaster
suggested changes
May 29, 2025
| use std::fmt::Write as _; | ||
|
|
||
| // 创建一个最小的有效 GGUF 文件数据 | ||
| fn create_minimal_gguf_data() -> Vec<u8> { |
Contributor
There was a problem hiding this comment.
这个测例,我觉得应该直接在仓库中预存一个不带数据的测试用 GGuf 文件,一个小的可能也就几十 k,跟代码文件差不多,直接放没问题
Contributor
Author
There was a problem hiding this comment.
gguf 项目根目录的 gitignore 会忽视 .gguf 文件,所以可能一开始是没打算放的。要改 gitignore 吗?
Contributor
There was a problem hiding this comment.
可以改,加一个类似 test files 的目录,在里面的 gguf 不忽略
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.