-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR that restructures the documentation to take in mind the user's journey #572 Includes other changes: * Updating main README documentation (components, some text tweaks, runner visuals, ...) * Renaming some components to match the format <component_function>_<modality> (e.g. text_normalization -> normalize_text) There are many other changes that need to be made but best to track them in separate PRs to make reviewing them easier. Created issues can be found here #572
- Loading branch information
1 parent
1961b1a
commit 92bf041
Showing
38 changed files
with
731 additions
and
422 deletions.
There are no files selected for viewing
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
2 changes: 1 addition & 1 deletion
2
...text_normalization/fondant_component.yaml → ...nts/normalize_text/fondant_component.yaml
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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,10 @@ | ||
# Architecture | ||
|
||
An overview of the architecture of Fondant | ||
|
||
### Coming soon | ||
|
||
|
||
## Conceptual overview | ||
|
||
#### TODO: Add a diagram here |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,39 @@ | ||
When Fondant runs a pipeline, it checks to see whether an execution exists in the base path based on | ||
the cache key of each component. | ||
|
||
The cache key is defined as the combination of the following: | ||
|
||
1) The **pipeline step's inputs.** These inputs include the input arguments' value (if any). | ||
|
||
2) **The component's specification.** This specification includes the image tag and the fields | ||
consumed and produced by each component. | ||
|
||
3) **The component resources.** Defines the hardware that was used to run the component (GPU, | ||
nodepool). | ||
|
||
If there is a matching execution in the base path (checked based on the output manifests), | ||
the outputs of that execution are used and the step computation is skipped. | ||
This helps to reduce costs by skipping computations that were completed in a previous pipeline run. | ||
|
||
Additionally, only the pipelines with the same pipeline name will share the cache. Caching for | ||
components | ||
with the `latest` image tag is disabled by default. This is because using "latest" image tags can | ||
lead to unpredictable behavior due to | ||
image updates. Moreover, if one component in the pipeline is not cached then caching will be | ||
disabled for all | ||
subsequent components. | ||
|
||
### Disabling caching | ||
You can turn off execution caching at component level by setting the following: | ||
|
||
```python | ||
from fondant.pipeline.pipeline import ComponentOp | ||
|
||
caption_images_op = ComponentOp( | ||
component_dir="...", | ||
arguments={ | ||
... | ||
}, | ||
cache=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
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 @@ | ||
# Coming Soon |
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,105 @@ | ||
# Documentation Guide | ||
|
||
## Getting started with Fondant | ||
|
||
Learn about the Fondant project and how to get started with it. | ||
|
||
→ Start with the official guide on how to [install](guides/installation.md) Fondant. | ||
→ Get started by running your first fondant [pipeline](guides/first_pipeline.md) using the [local | ||
runner](runners/local.md). | ||
→ Learn how to build your own [Fondant Pipeline](guides/build_a_simple_pipeline.md) and implement your | ||
own [custom components](guides/implement_custom_components.md). | ||
→ Learn how to use the [data explorer](data_explorer.md) to explore the outputs of your pipeline. | ||
|
||
## Fondant fundamentals | ||
|
||
Learn how to use Fondant to build your own data processing pipeline. | ||
|
||
-> Design your own fondant [pipeline](pipeline.md) using the Fondant pipeline API. | ||
-> Use existing [reusable components](components/hub.md) to build your pipeline. | ||
-> Use [generic components](components/generic_component.md) to load/write your custom data format | ||
to/from Fondant. | ||
-> Build your own [custom component](components/custom_component.md) using the Fondant component | ||
API. | ||
-> Learn how to publish your own [components](components/publishing_components.md) to a container | ||
registry so that you can reuse them in your pipelines. | ||
|
||
## Components hub | ||
|
||
Have a look at the [components hub](components/hub.md) to see what components are available. | ||
|
||
## Fondant Runners | ||
|
||
Learn how to run your Fondant pipeline on different platforms. | ||
|
||
<table class="images" width="100%" style="border: 0px solid white; width: 100%;"> | ||
<tr style="border: 0px;"> | ||
<td width="25%" style="border: 0px; width: 28.33%"> | ||
<figure> | ||
<img src="https://github.com/ml6team/fondant/blob/main/docs/art/runners/docker_compose.png?raw=true" /> | ||
<figcaption class="caption"><strong>LocalRunner</strong></figcaption> | ||
</figure> | ||
</td> | ||
<td width="25%" style="border: 0px; width: 30.33%"> | ||
<figure> | ||
<img src="https://github.com/ml6team/fondant/blob/main/docs/art/runners/vertex_ai.png?raw=true" /> | ||
<figcaption class="caption"><strong>VertexRunner</strong></figcaption> | ||
</figure> | ||
</td> | ||
<td width="25%" style="border: 0px; width: 30.33%"> | ||
<figure> | ||
<img src="https://github.com/ml6team/fondant/blob/main/docs/art/runners/kubeflow_pipelines.png?raw=true" /> | ||
<figcaption class="caption"><strong>KubeflowRunner</strong></figcaption> | ||
</figure> | ||
<td width="25%" style="border: 0px; width: 33.33%"> | ||
<figure> | ||
<img src="https://github.com/ml6team/fondant/blob/main/docs/art/runners/sagemaker.png?raw=true" /> | ||
<figcaption class="caption"><strong>🚧SageMakerRunner🚧</strong></figcaption> | ||
</figure> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
<style> | ||
.caption { | ||
text-align: center; /* Adjust the alignment as needed */ | ||
} | ||
</style> | ||
|
||
-> [LocalRunner](runners/local.md): ideal for developing fondant pipelines and components faster. | ||
-> [VertexRunner](runners/vertex.md): used for running a fondant pipeline on Vertex AI. | ||
-> [KubeflowRunner](runners/kfp.md): used for running a fondant pipeline on a Kubeflow cluster. | ||
-> [SageMakerRunner](runners/kfp.md): used for running a fondant pipeline on a SageMaker pipelines ( | ||
🚧 Coming Soon 🚧). | ||
|
||
## Fondant Explorer | ||
|
||
Discover how to utilize the Fondant [data explorer](data_explorer.md) to navigate your pipeline | ||
outputs, including visualizing intermediary steps between components. | ||
|
||
## Advanced Concepts | ||
|
||
Learn about some of the more advanced concepts in Fondant. | ||
|
||
-> Learn more about the [architecture](architecture.md) of Fondant and how it works under the | ||
hood. | ||
-> Understand how Fondant passes data between components with the [manifest](manifest.md). | ||
-> Learn how Fondant uses [caching](caching.md) to speed up your pipeline development. | ||
-> Find out how Fondant uses [partitions](partitions.md) to parallelize and scale your pipeline and | ||
how you can use it to your advantage. | ||
|
||
## Contributing | ||
|
||
Learn how to contribute to the Fondant project through | ||
our [contribution guidelines](contributing.md). | ||
|
||
## FAQ | ||
|
||
Browse through the [frequently asked questions](faq.md) about Fondant. | ||
|
||
## Announcements | ||
|
||
Check out our latest [announcements] about Fondant. | ||
|
||
-> 25 million Creative Commons image dataset released. Read more about it [here](announcements/CC_25M_press_release.md). | ||
|
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 @@ | ||
# Coming Soon |
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
Oops, something went wrong.