Skip to content

Add prune train ckpt script, and Add local weight load to inference.py#27

Open
Night1099 wants to merge 3 commits into
gojasper:mainfrom
Night1099:main
Open

Add prune train ckpt script, and Add local weight load to inference.py#27
Night1099 wants to merge 3 commits into
gojasper:mainfrom
Night1099:main

Conversation

@Night1099
Copy link
Copy Markdown

This adds a example script to prune the trained LBM ckpt output to the model weights needed for inference in a safetensor file to match whats seen in huggingface repos.

And edits examples\inference\inference.py to allow local model loading weights as well

Updated Readme to reflect extra features and changes. Feel free to edit to liking of course

@Night1099 Night1099 changed the title Add prune train ckpt script, and Add local weight loading option to i… Add prune train ckpt script, and Add local weight load to inference.py Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant