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: ArgumentParser._parse_known_args() missing 1 required positional argument: 'intermixed' #1915

Open
JexPY opened this issue Jan 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@JexPY
Copy link

JexPY commented Jan 22, 2025

Bug description

On any command using litgpt
For example:

litgpt -h

Or

litgpt download list

I am getting error:

usage: litgpt [-h] [--config CONFIG] [--print_config[=flags]]
              {download,chat,finetune,finetune_lora,finetune_full,finetune_adapter,finetune_adapter_v2,pretrain,generate,generate_full,generate_adapter,generate_adapter_v2,generate_sequentially,generate_tp,convert_to_litgpt,convert_from_litgpt,convert_pretrained_checkpoint,merge_lora,evaluate,serve}
              ...
error: ArgumentParser._parse_known_args() missing 1 required positional argument: 'intermixed'

What operating system are you using?

macOS

LitGPT Version


Version: 0.5.5

@JexPY JexPY added the bug Something isn't working label Jan 22, 2025
@Huntler
Copy link

Huntler commented Jan 24, 2025

I had a similar issue when using the lightning==2.5.0.post0 library and I've fixed it by installing a different jsonargparse version. Try to use

jsonargparse[signatures]>=4.35.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants