We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Fabric run CLI, the script argument always assumes the input is an existed file path. However, users might need to launch a python module.
pytorch-lightning/src/lightning/fabric/cli.py
Line 63 in 08266a9
For example, the CLI expects
fabric run src/run.py \ --strategy=ddp \ --devices=2 \ --accelerator=cuda
However, this would fail
fabric run \ --strategy=ddp \ --devices=2 \ --accelerator=cuda \ -m src.run
In huggingface accelearte, they provide an extra argument for definiing an module https://github.com/huggingface/accelerate/blob/4b6be8991059f39a8df8893333d11c54bc51fc60/src/accelerate/commands/launch.py#L358
No response
cc @lantiga @Borda
The text was updated successfully, but these errors were encountered:
justusschock
No branches or pull requests
Description & Motivation
In Fabric run CLI, the script argument always assumes the input is an existed file path. However, users might need to launch a python module.
pytorch-lightning/src/lightning/fabric/cli.py
Line 63 in 08266a9
For example, the CLI expects
However, this would fail
In huggingface accelearte, they provide an extra argument for definiing an module
https://github.com/huggingface/accelerate/blob/4b6be8991059f39a8df8893333d11c54bc51fc60/src/accelerate/commands/launch.py#L358
Pitch
No response
Alternatives
No response
Additional context
No response
cc @lantiga @Borda
The text was updated successfully, but these errors were encountered: