Skip to content

Conversation

@Qsqsdac
Copy link
Contributor

@Qsqsdac Qsqsdac commented May 27, 2025

No description provided.

@YdrMaster YdrMaster marked this pull request as ready for review May 27, 2025 09:27
use std::fmt::Write as _;

// 创建一个最小的有效 GGUF 文件数据
fn create_minimal_gguf_data() -> Vec<u8> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个测例,我觉得应该直接在仓库中预存一个不带数据的测试用 GGuf 文件,一个小的可能也就几十 k,跟代码文件差不多,直接放没问题

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gguf 项目根目录的 gitignore 会忽视 .gguf 文件,所以可能一开始是没打算放的。要改 gitignore 吗?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以改,加一个类似 test files 的目录,在里面的 gguf 不忽略

@YdrMaster YdrMaster merged commit 3d20d7e into InfiniTensor:main Jun 3, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants