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 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for jit script * Add jit test to image classification * Add jit for object detection * Add style transfer jit * Add jit support for embedding * Add jit for tabular and template * init * Add jit for text classification * Add video classification jit * Add seq2seq jit * Fixes * Add jit support matrix * Update CHANGELOG.md
- Loading branch information
1 parent
a047330
commit b49bf04
Showing
27 changed files
with
358 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
####################### | ||
TorchScript JIT Support | ||
####################### | ||
|
||
.. _jit: | ||
|
||
We test all of our tasks for compatibility with :mod:`torch.jit`. | ||
This table gives a breakdown of the supported features. | ||
|
||
.. list-table:: | ||
:widths: 25 25 25 25 | ||
:header-rows: 1 | ||
|
||
* - Task | ||
- :func:`torch.jit.script` | ||
- :func:`torch.jit.trace` | ||
- :func:`torch.jit.save` | ||
* - :class:`~flash.image.classification.model.ImageClassifier` | ||
- Yes | ||
- Yes | ||
- Yes | ||
* - :class:`~flash.image.detection.model.ObjectDetector` | ||
- Yes | ||
- No | ||
- Yes | ||
* - :class:`~flash.image.embedding.model.ImageEmbedder` | ||
- Yes | ||
- Yes | ||
- Yes | ||
* - :class:`~flash.image.segmentation.model.SemanticSegmentation` | ||
- Yes | ||
- Yes | ||
- Yes | ||
* - :class:`~flash.image.style_transfer.model.StyleTransfer` | ||
- No | ||
- Yes | ||
- Yes | ||
* - :class:`~flash.tabular.classification.model.TabularClassifier` | ||
- No | ||
- Yes | ||
- No | ||
* - :class:`~flash.text.classification.model.TabularClassifier` | ||
- No | ||
- Yes :sup:`*` | ||
- Yes | ||
* - :class:`~flash.text.seq2seq.summarization.model.SummarizationTask` | ||
- No | ||
- Yes | ||
- Yes | ||
* - :class:`~flash.text.seq2seq.translation.model.TranslationTask` | ||
- No | ||
- Yes | ||
- Yes | ||
* - :class:`~flash.video.classification.model.VideoClassifier` | ||
- No | ||
- Yes | ||
- Yes | ||
|
||
:sup:`*` Only with ``strict=False``. |
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 |
---|---|---|
|
@@ -49,6 +49,7 @@ Lightning Flash | |
general/training | ||
general/finetuning | ||
general/predictions | ||
general/jit | ||
|
||
|
||
.. toctree:: | ||
|
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
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
Empty file.
Oops, something went wrong.