Download Latest Version 0.12.1 source code.zip (7.3 MB)
Email in envelope

Get an email when there's a new version of Fondant

Home / 0.12.0
Name Modified Size InfoDownloads / Week
Parent folder
0.12.0 source code.tar.gz 2024-04-17 7.1 MB
0.12.0 source code.zip 2024-04-17 7.3 MB
README.md 2024-04-17 3.0 kB
Totals: 3 Items   14.4 MB 0

⚡️ Introducing the dataset-first interface

We have removed the pipeline interface and redesigned the dataset class. Datasets can still be built using load components as before. Now, you have to use the Dataset class instead of the Pipeline.

:::python
from fondant.dataset import Dataset

dataset = Dataset.create(
    "load_from_parquet",
    arguments={
        ...
    },
)

dataset = dataset.apply(...)

Additionally, we now support initializing datasets from previous workflow runs, which allows you to share your Fondant datasets. Datasets can be initialized using manifests. To share a dataset, you can easily share manifest files.

:::python
from fondant.dataset import Dataset

dataset = Dataset.read("gs://.../manifest.json")
dataset = dataset.apply(...)

🛠️ Working directory

Since the pipeline doesn’t exist anymore, we added a new cli command to define a working directory. In the working directory all the workflow related artifacts will be stored.

:::bash
fondant run local dataset --working-directory ./data

⚠️ Attention: Fondant pipelines created with previous Fondant versions are no longer compatible with >=0.12.0. To migrate your existing pipelines, initialize your dataset using Dataset.create(...) instead of Pipeline.read(...) and use the former base_path as the working directory when you materialize your dataset.

What's Changed

New Contributors

Full Changelog: https://github.com/ml6team/fondant/compare/0.11.2...0.12.0

Source: README.md, updated 2024-04-17