Skip to content

Conversation

@Beinsezii
Copy link
Contributor

response.content[:-1] truncates the last byte which can break model_index.json reading for --remote converts

@github-actions github-actions bot added the python python script changes label May 28, 2025
Copy link
Collaborator

@CISC CISC left a comment

Choose a reason for hiding this comment

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

Funky, surprised it didn't fail frequently. :)

Co-authored-by: Sigbjørn Skjæret <[email protected]>
@Beinsezii
Copy link
Contributor Author

Funky, surprised it didn't fail frequently. :)

Trailing newlines pulling a lot of work maybe lol. I noticed it errs particularly with mergekit models. Their json dump must not have any fluff.

@CISC CISC merged commit 53ae306 into ggml-org:master May 28, 2025
4 checks passed
@Beinsezii Beinsezii deleted the beinsezii/remote_hf_trunc_fix branch May 28, 2025 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python python script changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants