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

The arguments in utils/modular_model_converter.py is different from those in docs #36362

Open
zhoubay opened this issue Feb 24, 2025 · 0 comments

Comments

@zhoubay
Copy link

zhoubay commented Feb 24, 2025

The arguments in utils/modular_model_converter.py is here

parser.add_argument(
    "--files_to_parse",
    default=["all"],
    nargs="+",
    help="A list of `modular_xxxx` files that should be converted to single model file",
)

However, the docs is using --files-to-parse as following.

```bash
python utils/modular_model_converter.py --files-to-parse src/transformers/models/<your_model>/modular_<your_model>.py
```

zhoubay added a commit to zhoubay/transformers that referenced this issue Feb 24, 2025
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