No project description provided
Project description
Diffusion Model Playground
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file diffusion_model_framework-1.0.2.tar.gz
.
File metadata
- Download URL: diffusion_model_framework-1.0.2.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77c02b247adb4e3d0a174c9f71c972e61ef22efb0135ebc3289cf30fd4bc2d07 |
|
MD5 | fa68cba66940c0a31beaa7307300ba95 |
|
BLAKE2b-256 | a53524df5053d9cfe3eb21fa2555efe893cf06fc00cca8faed3ede1edb13425f |
Provenance
The following attestation bundles were made for diffusion_model_framework-1.0.2.tar.gz
:
Publisher:
release.yaml
on sachahu1/Diffusion-Model-Framework
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
diffusion_model_framework-1.0.2.tar.gz
- Subject digest:
77c02b247adb4e3d0a174c9f71c972e61ef22efb0135ebc3289cf30fd4bc2d07
- Sigstore transparency entry: 148195644
- Sigstore integration time:
- Predicate type:
File details
Details for the file diffusion_model_framework-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: diffusion_model_framework-1.0.2-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3692e2d43b83aa2d087917f6dbf4c8c3e386adc07ac1cb81766b1d065dae352f |
|
MD5 | d561b04d8d37921842148ebca30c72d6 |
|
BLAKE2b-256 | 2b5180e561459f275df93ad99e82881844e500c307e5f3b5e659bd958c158336 |
Provenance
The following attestation bundles were made for diffusion_model_framework-1.0.2-py3-none-any.whl
:
Publisher:
release.yaml
on sachahu1/Diffusion-Model-Framework
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
diffusion_model_framework-1.0.2-py3-none-any.whl
- Subject digest:
3692e2d43b83aa2d087917f6dbf4c8c3e386adc07ac1cb81766b1d065dae352f
- Sigstore transparency entry: 148195649
- Sigstore integration time:
- Predicate type: