no checkpoint files found in ./ckpts
Closed this issue · 4 comments
The problem is that no inference has been made to the model to produce a checkpoint? Or do you need something
The steps I take are as follows:
(mixtralkit) root@fb05uge0jt0fc-0:/T106/model_main/MixtralKit-main/MixtralKit-main# python tools/example.py -m ./ckpts -t ckpts/tokenizer.model --num-gpus 2
Traceback (most recent call last):
File "/T106/model_main/MixtralKit-main/MixtralKit-main/tools/example.py", line 63, in
main()
File "/T106/model_main/MixtralKit-main/MixtralKit-main/tools/example.py", line 42, in main
generator = Mixtral.build(
File "/T106/model_main/MixtralKit-main/MixtralKit-main/mixtralkit/mixtral/generation.py", line 76, in build
assert len(checkpoints) > 0, f"no checkpoint files found in {ckpt_dir}"
AssertionError: no checkpoint files found in ./ckpts
What should I do about it
@tonysy
Thanks you
I didn't replace the model path, it should be “ python tools/example.py -m./model -- path-t model -- path/tokenizer.model --num-gpus 2”, right?
Thanks you I didn't replace the model path, it should be “ python tools/example.py -m./model -- path-t model -- path/tokenizer.model --num-gpus 2”, right?
Yes, you can try it.
Feel free to re-open if needed.