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

ckpt to pt model format #293

Open
yumianhuli1 opened this issue Jan 24, 2024 · 2 comments
Open

ckpt to pt model format #293

yumianhuli1 opened this issue Jan 24, 2024 · 2 comments

Comments

@yumianhuli1
Copy link

I use set PYTHONPATH=%cd%
python bin\to_jit.py model.path=%cd%\big-lama +save_path=%cd%\big-lama\big-lama.jit
in the root directory of lama under windows os in order to convert ckpt format to pt format,

but An error occurred:
handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
ValueError: invalid signal value

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

@windj007
Copy link
Collaborator

Just comment this out

@jiaxue-ai
Copy link

I wrote a simple ckpt to pt model convertor, in case you need it

#306

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

3 participants