litgpt icon indicating copy to clipboard operation
litgpt copied to clipboard

chat/base.py: extend checkpoint_dir before accessing it

Open Andrei-Aksionov opened this issue 7 months ago • 7 comments

Hi there 👋

Inside auto_download_checkpoint the code also extends the path by prepending checkpoints/ if it's not provided.

Since currently it's done after check_file_size_on_cpu_and_warn, the command

litgpt chat google/gemma-2-9b-it

will fail.

Andrei-Aksionov avatar Jul 12 '24 10:07 Andrei-Aksionov