Skip to main content

No project description provided

Project description

Diffusion Model Playground

GitHub Actions Workflow Status GitHub Release PyPI - Python Version GitHub Repo stars

This is a simplified framework to train and run diffusion models.

Getting Started

To get started, simply install the python package from PyPI:

pip install diffusion-model-framework

Then, you're ready to start setting up your own training process. For help getting started with that, have a look at some of the examples.

Installing the package

Thanks to poetry, installing this package is very simple and can be done in a single command. Simply run:

poetry install

That's it, the package is installed. Move to the next section to learn how to use this package.

Building from source

Installing Poetry

This tool uses poetry. If you already have poetry installed, please skip to the next section. Otherwise, let's first setup poetry.

To install poetry, simply run this command:

curl -sSL https://install.python-poetry.org | python3 -

You can find out more about poetry installation here.

That's it, poetry is set up.

Installing and building locally

Installing the package via poetry is very simple. Simply run:

poetry install

You can now start using the package to train your diffusion model. For example, try running:

poetry run python3 examples/train_model.py

Building a wheel is also possible via:

poetry build

Building the documentation

First you will need to install the dependency group used for documentation.

poetry install --with documentation

Now you can build the documentation using Sphinx by running:

poetry run sphinx-build -M html docs/source/ docs/build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diffusion_model_framework-1.0.0rc1.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file diffusion_model_framework-1.0.0rc1.tar.gz.

File metadata

File hashes

Hashes for diffusion_model_framework-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 eecdd376421749c67bbe45324a637ea596668f1ffb4b22bde3e75d978a0c85fa
MD5 df9c3ba8dbe89418eba4c745f8ccdd6f
BLAKE2b-256 140d2efc842acd97ae7d5c0ec0d9c204cd31623f1dc368a4669253f5012fac86

See more details on using hashes here.

Provenance

The following attestation bundles were made for diffusion_model_framework-1.0.0rc1.tar.gz:

Publisher: release.yaml on sachahu1/Diffusion-Model-Framework

Attestations:

File details

Details for the file diffusion_model_framework-1.0.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for diffusion_model_framework-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e5ea03b689243ce5b14a420cf0adb035a71901b08957899d0efa61ed1877786
MD5 d67616985feec1399785b8f301e7d475
BLAKE2b-256 a1d40cc2acdc40e9b288b064162e7b4b6d69b51fe89cce4acb7ef90c5c7019a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for diffusion_model_framework-1.0.0rc1-py3-none-any.whl:

Publisher: release.yaml on sachahu1/Diffusion-Model-Framework

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page