This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RFC] Change installation for extra packages (#346)
* Update installation * Update requirements/devel.txt * Update installation in CI * Update installation doc * Fix docs-check.yml * Fix docs-deploy.yml * Fix config.yml * Update installation in README.md * Fix docs-check.yml * Fix docs-check.yml * Drop editable mode * Update changelog
- Loading branch information
1 parent
9c5dbd7
commit c11498d
Showing
10 changed files
with
58 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,40 @@ | ||
# Installation | ||
|
||
Flash is tested on Python 3.6+, and PyTorch 1.6 | ||
Flash is tested on Python 3.6+, and PyTorch 1.6. | ||
|
||
## Install with pip/conda | ||
## Install with pip | ||
|
||
```bash | ||
pip install lightning-flash -U | ||
pip install lightning-flash | ||
``` | ||
|
||
Optionally, you can install Flash with extra pacakges for each domain or all domains. | ||
```bash | ||
pip install 'lightning-flash[image]' | ||
pip install 'lightning-flash[image_style_transfer]' | ||
pip install 'lightning-flash[tabular]' | ||
pip install 'lightnign-flash[text]' | ||
pip install 'lightning-flash[video]' | ||
|
||
# image + image_style_transfer + video | ||
pip install 'lightning-flash[vision]' | ||
|
||
# all features | ||
pip install 'lightning-flash[all]' | ||
``` | ||
|
||
For contributors, please install Flash with packages for testing Flash and building docs. | ||
```bash | ||
# Clone Flash repository locally | ||
git clone https://github.com/[your username]/lightning-flash.git | ||
cd lightning-flash | ||
|
||
# Install Flash in editable mode with extra packages for development | ||
pip install -e '.[dev]' | ||
``` | ||
|
||
## Install from source | ||
|
||
``` bash | ||
```bash | ||
pip install git+https://github.com/PyTorchLightning/lightning-flash.git | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters