Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows 11 convert RWKV-x070-World-2.9B-v3-2025-0211-ctx4096.pth error both with release binary and cargo run #2

Open
structure-charger opened this issue Feb 20, 2025 · 4 comments

Comments

@structure-charger
Copy link

.\converter.exe -i C:\Users\admin\forAI\models\RWKV-x070-World-2.9B-v3-2025-0211-ctx4096.pth -o RWKV-x070-World-2.9B-v3-2025-0211-ctx4096.st

@structure-charger
Copy link
Author

return Error: Unexpected toplevel type

@structure-charger
Copy link
Author

cargo run --release --example converter -- --input "C:\Users\admin\forAI\models\RWKV-x070-World-2.9B-v3-2025-0211-ctx4096.pth" --output RWKV-x070-World-2.9B-v3-2025-0211-ctx4096.st the same error ,there is also a build error with zlib ,but can be resolved with a retry (cargo 1.84.0 msvc visual studio 2022)

@structure-charger
Copy link
Author

Error may happened in safetensors crate

@cryscan
Copy link
Owner

cryscan commented Feb 25, 2025

The converter cannot deal with pickle correctly. Please use the python script to convert the model, or download the converted model here.

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

No branches or pull requests

2 participants