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

Error while running main.py - Most likely missing chkpoint location #1

Open
shivajid opened this issue Mar 5, 2025 · 0 comments
Open

Comments

@shivajid
Copy link

shivajid commented Mar 5, 2025

I ran into couple of issues:

  • Testing this on v6e-8

It requires two packages perhaps we should have requirements.txt
Ran

"python3 main.py"

Got the following error. Do I need to put the checkpoint in certain location

Traceback (most recent call last):
  File "/home/shivajid/jax-llm-examples/deepseek_r1_jax/main.py", line 42, in <module>
    tokenizer = dsjax.load_tokenizer(ckpt_path / "tokenizer.json", ckpt_path / "tokenizer_config.json")
  File "/home/shivajid/jax-llm-examples/deepseek_r1_jax/deepseek_r1_jax/model.py", line 192, in load_tokenizer
    config = json.loads(tokenizer_config_path.expanduser().resolve().read_text())
  File "/home/shivajid/miniconda3/envs/vllm/lib/python3.10/site-packages/etils/epath/abstract_path.py", line 150, in read_text
    with self.open('r', encoding=encoding) as f:
  File "/home/shivajid/miniconda3/envs/vllm/lib/python3.10/site-packages/etils/epath/gpath.py", line 257, in open
    gfile = self._backend.open(self._path_str, mode)
  File "/home/shivajid/miniconda3/envs/vllm/lib/python3.10/site-packages/etils/epath/backend.py", line 133, in open
    return open(path, mode, encoding=encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/home/shivajid/bucket/deepseek-r1-jax-chkpt/tokenizer_config.json'
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

1 participant