diffusion-model-framework 1.0.2rc1__tar.gz → 1.1.0rc1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- diffusion_model_framework-1.1.0rc1/.github/workflows/build-and-release-docs.yaml +54 -0
- diffusion_model_framework-1.1.0rc1/.github/workflows/release.yaml +74 -0
- diffusion_model_framework-1.1.0rc1/.github/workflows/run-tests.yaml +76 -0
- diffusion_model_framework-1.1.0rc1/.gitignore +167 -0
- diffusion_model_framework-1.1.0rc1/CHANGELOG.md +306 -0
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/PKG-INFO +25 -35
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/README.md +14 -16
- diffusion_model_framework-1.1.0rc1/assets/sampling-small.gif +4 -0
- diffusion_model_framework-1.1.0rc1/diffusion_models/__init__.py +1 -0
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/diffusion_models/models/SimpleUnet.py +1 -1
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/diffusion_models/models/base_diffusion_model.py +3 -1
- diffusion_model_framework-1.1.0rc1/diffusion_models/models/conditioned_simple_unet.py +104 -0
- diffusion_model_framework-1.1.0rc1/diffusion_models/utils/adopt.py +501 -0
- diffusion_model_framework-1.1.0rc1/diffusion_models/utils/batch_processor.py +68 -0
- diffusion_model_framework-1.1.0rc1/docs/Makefile +20 -0
- diffusion_model_framework-1.1.0rc1/docs/make.bat +35 -0
- diffusion_model_framework-1.1.0rc1/docs/source/_templates/versions.html +26 -0
- diffusion_model_framework-1.1.0rc1/docs/source/conf.py +193 -0
- diffusion_model_framework-1.1.0rc1/docs/source/custom/post-modules/.gitkeep +0 -0
- diffusion_model_framework-1.1.0rc1/docs/source/custom/pre-modules/introduction.md +56 -0
- diffusion_model_framework-1.1.0rc1/docs/source/examples.rst +8 -0
- diffusion_model_framework-1.1.0rc1/docs/source/index.rst +32 -0
- diffusion_model_framework-1.1.0rc1/examples/__init__.py +0 -0
- diffusion_model_framework-1.1.0rc1/examples/coco_playground.py +49 -0
- diffusion_model_framework-1.1.0rc1/examples/infer.py +53 -0
- diffusion_model_framework-1.1.0rc1/examples/train_model.py +118 -0
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/pyproject.toml +43 -63
- diffusion_model_framework-1.1.0rc1/tests/__init__.py +0 -0
- diffusion_model_framework-1.1.0rc1/tests/conftest.py +3 -0
- diffusion_model_framework-1.1.0rc1/tests/gaussian_diffusion/__init__.py +0 -0
- diffusion_model_framework-1.1.0rc1/tests/gaussian_diffusion/test_beta_schedulers.py +165 -0
- diffusion_model_framework-1.1.0rc1/tests/test_base.py +4 -0
- diffusion_model_framework-1.1.0rc1/tests/utils/__init__.py +0 -0
- diffusion_model_framework-1.1.0rc1/tests/utils/test_schemas.py +57 -0
- diffusion_model_framework-1.1.0rc1/tests/utils/test_tensorboard.py +59 -0
- diffusion_model_framework-1.1.0rc1/uv.lock +3237 -0
- diffusion_model_framework-1.0.2rc1/diffusion_models/__init__.py +0 -1
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/diffusion_models/diffusion_inference.py +0 -0
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/diffusion_models/diffusion_trainer.py +0 -0
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/diffusion_models/gaussian_diffusion/__init__.py +0 -0
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/diffusion_models/gaussian_diffusion/base_diffuser.py +0 -0
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/diffusion_models/gaussian_diffusion/beta_schedulers.py +0 -0
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/diffusion_models/gaussian_diffusion/ddimm_diffuser.py +0 -0
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/diffusion_models/gaussian_diffusion/gaussian_diffuser.py +0 -0
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/diffusion_models/models/__init__.py +0 -0
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/diffusion_models/utils/__init__.py +0 -0
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/diffusion_models/utils/schemas.py +0 -0
- {diffusion_model_framework-1.0.2rc1 → diffusion_model_framework-1.1.0rc1}/diffusion_models/utils/tensorboard.py +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
name: Build And Release Docs
|
|
2
|
+
|
|
3
|
+
on: workflow_dispatch
|
|
4
|
+
|
|
5
|
+
env:
|
|
6
|
+
AWS_REGION: eu-west-2
|
|
7
|
+
AWS_OIDC_ROLE_ARN: arn:aws:iam::980416368045:role/GitHubAction-AssumeRoleWithAction
|
|
8
|
+
DOCS_UPLOAD_URI: s3://sachahu.com/docs/diffusion-model-framework
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
|
|
12
|
+
build-release-docs:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
permissions:
|
|
15
|
+
id-token: write # This is required for requesting the JWT
|
|
16
|
+
contents: read # This is required for actions/checkout
|
|
17
|
+
steps:
|
|
18
|
+
- name: Check out repository
|
|
19
|
+
uses: actions/checkout@v4
|
|
20
|
+
with:
|
|
21
|
+
fetch-depth: 0
|
|
22
|
+
- name: Set up python
|
|
23
|
+
id: setup-python
|
|
24
|
+
uses: actions/setup-python@v5
|
|
25
|
+
with:
|
|
26
|
+
python-version: "^3.10.0"
|
|
27
|
+
- name: Install uv
|
|
28
|
+
uses: astral-sh/setup-uv@v5
|
|
29
|
+
with:
|
|
30
|
+
enable-cache: true
|
|
31
|
+
#----------------------------------------------
|
|
32
|
+
# install dependencies if cache does not exist
|
|
33
|
+
#----------------------------------------------
|
|
34
|
+
- name: Install dependencies
|
|
35
|
+
run: uv sync --locked --only-group documentation
|
|
36
|
+
|
|
37
|
+
- name: configure aws credentials
|
|
38
|
+
uses: aws-actions/configure-aws-credentials@v1.7.0
|
|
39
|
+
with:
|
|
40
|
+
role-to-assume: ${{ env.AWS_OIDC_ROLE_ARN }}
|
|
41
|
+
role-session-name: GitHub_to_AWS_via_FederatedOIDC
|
|
42
|
+
aws-region: ${{ env.AWS_REGION }}
|
|
43
|
+
- name: Build and Deploy docs
|
|
44
|
+
run: |
|
|
45
|
+
uv run sphinx-build -M html docs/source/ docs/build
|
|
46
|
+
|
|
47
|
+
aws s3 sync docs/build/html ${{ env.DOCS_UPLOAD_URI }}/pages/v$(grep -m1 '^version' pyproject.toml | cut -d'"' -f2) --delete
|
|
48
|
+
|
|
49
|
+
if [[ "${GITHUB_REF##*/}" == "main" ]]; then
|
|
50
|
+
aws s3 sync docs/build/html ${{ env.DOCS_UPLOAD_URI }}/latest --delete
|
|
51
|
+
fi
|
|
52
|
+
|
|
53
|
+
rm -rf docs/build
|
|
54
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
- dev
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
release:
|
|
11
|
+
name: Release pushed tag
|
|
12
|
+
runs-on: ubuntu-22.04
|
|
13
|
+
permissions:
|
|
14
|
+
id-token: write
|
|
15
|
+
contents: write
|
|
16
|
+
steps:
|
|
17
|
+
- name: Check out repository
|
|
18
|
+
uses: actions/checkout@v4
|
|
19
|
+
with:
|
|
20
|
+
fetch-depth: 0
|
|
21
|
+
- name: Set up python
|
|
22
|
+
id: setup-python
|
|
23
|
+
uses: actions/setup-python@v5
|
|
24
|
+
with:
|
|
25
|
+
python-version: "^3.10.0"
|
|
26
|
+
- name: Install uv
|
|
27
|
+
uses: astral-sh/setup-uv@v5
|
|
28
|
+
with:
|
|
29
|
+
enable-cache: true
|
|
30
|
+
|
|
31
|
+
- name: Python Semantic Release
|
|
32
|
+
uses: python-semantic-release/python-semantic-release@master
|
|
33
|
+
with:
|
|
34
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
35
|
+
|
|
36
|
+
- name: Package build
|
|
37
|
+
run: |
|
|
38
|
+
uv build
|
|
39
|
+
- name: Upload a Build Artifact
|
|
40
|
+
uses: actions/upload-artifact@v4.3.5
|
|
41
|
+
with:
|
|
42
|
+
name: dist
|
|
43
|
+
path: ./dist
|
|
44
|
+
|
|
45
|
+
deploy:
|
|
46
|
+
runs-on: ubuntu-latest
|
|
47
|
+
needs:
|
|
48
|
+
- release
|
|
49
|
+
permissions:
|
|
50
|
+
id-token: write
|
|
51
|
+
environment:
|
|
52
|
+
name: pypi
|
|
53
|
+
url: https://pypi.org/p/diffusion-model-framework
|
|
54
|
+
steps:
|
|
55
|
+
- name: Download a Build Artifact
|
|
56
|
+
uses: actions/download-artifact@v4.1.8
|
|
57
|
+
with:
|
|
58
|
+
name: dist
|
|
59
|
+
path: ./dist
|
|
60
|
+
- name: Publish package distributions to PyPI
|
|
61
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
62
|
+
|
|
63
|
+
trigger-docs:
|
|
64
|
+
runs-on: ubuntu-latest
|
|
65
|
+
needs:
|
|
66
|
+
- release
|
|
67
|
+
permissions:
|
|
68
|
+
actions: write
|
|
69
|
+
steps:
|
|
70
|
+
- name: Invoke Documentation Workflow
|
|
71
|
+
uses: benc-uk/workflow-dispatch@v1.2.4
|
|
72
|
+
with:
|
|
73
|
+
workflow: Build And Release Docs
|
|
74
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
name: Run Tests
|
|
2
|
+
run-name: ${{ github.actor }} is running tests.
|
|
3
|
+
on: [push]
|
|
4
|
+
jobs:
|
|
5
|
+
|
|
6
|
+
run-tests:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
strategy:
|
|
9
|
+
matrix:
|
|
10
|
+
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
|
11
|
+
python-version: [ "3.10", "3.11", "3.12" ]
|
|
12
|
+
steps:
|
|
13
|
+
#----------------------------------------------
|
|
14
|
+
# check-out repo and set-up python
|
|
15
|
+
#----------------------------------------------
|
|
16
|
+
- name: Check out repository
|
|
17
|
+
uses: actions/checkout@v4
|
|
18
|
+
- name: Set up python ${{ matrix.python-version }}
|
|
19
|
+
id: setup-python
|
|
20
|
+
uses: actions/setup-python@v5
|
|
21
|
+
with:
|
|
22
|
+
python-version: ${{ matrix.python-version }}
|
|
23
|
+
- name: Install uv
|
|
24
|
+
uses: astral-sh/setup-uv@v5
|
|
25
|
+
with:
|
|
26
|
+
enable-cache: true
|
|
27
|
+
- name: Install dependencies
|
|
28
|
+
run: uv sync --locked --group test
|
|
29
|
+
#----------------------------------------------
|
|
30
|
+
# add matrix specifics and run test suite
|
|
31
|
+
#----------------------------------------------
|
|
32
|
+
- name: Run tests
|
|
33
|
+
run: |
|
|
34
|
+
uv run coverage run -m pytest ; uv run coverage report
|
|
35
|
+
|
|
36
|
+
build:
|
|
37
|
+
runs-on: ubuntu-latest
|
|
38
|
+
steps:
|
|
39
|
+
- uses: actions/checkout@v4
|
|
40
|
+
- name: Set up python
|
|
41
|
+
id: setup-python
|
|
42
|
+
uses: actions/setup-python@v5
|
|
43
|
+
with:
|
|
44
|
+
python-version: '^3.10.0'
|
|
45
|
+
- name: Install uv
|
|
46
|
+
uses: astral-sh/setup-uv@v5
|
|
47
|
+
with:
|
|
48
|
+
enable-cache: true
|
|
49
|
+
- run: uv build
|
|
50
|
+
- name: Upload a Build Artifact
|
|
51
|
+
uses: actions/upload-artifact@v4.3.5
|
|
52
|
+
with:
|
|
53
|
+
name: dist
|
|
54
|
+
path: ./dist
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
test-install:
|
|
58
|
+
needs: build
|
|
59
|
+
runs-on: ubuntu-latest
|
|
60
|
+
strategy:
|
|
61
|
+
matrix:
|
|
62
|
+
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
|
63
|
+
python-version: [ "3.10", "3.11", "3.12" ]
|
|
64
|
+
|
|
65
|
+
steps:
|
|
66
|
+
- name: Download a Build Artifact
|
|
67
|
+
uses: actions/download-artifact@v4.1.8
|
|
68
|
+
with:
|
|
69
|
+
name: dist
|
|
70
|
+
path: ./dist
|
|
71
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
72
|
+
uses: actions/setup-python@v5
|
|
73
|
+
with:
|
|
74
|
+
python-version: ${{ matrix.python-version }}
|
|
75
|
+
- name: Install package
|
|
76
|
+
run: python -m pip install ./dist/*.whl
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
### Python template
|
|
2
|
+
# Byte-compiled / optimized / DLL files
|
|
3
|
+
__pycache__/
|
|
4
|
+
*.py[cod]
|
|
5
|
+
*$py.class
|
|
6
|
+
|
|
7
|
+
# C extensions
|
|
8
|
+
*.so
|
|
9
|
+
|
|
10
|
+
# Distribution / packaging
|
|
11
|
+
.Python
|
|
12
|
+
build/
|
|
13
|
+
develop-eggs/
|
|
14
|
+
dist/
|
|
15
|
+
downloads/
|
|
16
|
+
eggs/
|
|
17
|
+
.eggs/
|
|
18
|
+
lib/
|
|
19
|
+
lib64/
|
|
20
|
+
parts/
|
|
21
|
+
sdist/
|
|
22
|
+
var/
|
|
23
|
+
wheels/
|
|
24
|
+
share/python-wheels/
|
|
25
|
+
*.egg-info/
|
|
26
|
+
.installed.cfg
|
|
27
|
+
*.egg
|
|
28
|
+
MANIFEST
|
|
29
|
+
|
|
30
|
+
# PyInstaller
|
|
31
|
+
# Usually these files are written by a python script from a template
|
|
32
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
33
|
+
*.manifest
|
|
34
|
+
*.spec
|
|
35
|
+
|
|
36
|
+
# Installer logs
|
|
37
|
+
pip-log.txt
|
|
38
|
+
pip-delete-this-directory.txt
|
|
39
|
+
|
|
40
|
+
# Unit test / coverage reports
|
|
41
|
+
htmlcov/
|
|
42
|
+
.tox/
|
|
43
|
+
.nox/
|
|
44
|
+
.coverage
|
|
45
|
+
.coverage.*
|
|
46
|
+
.cache
|
|
47
|
+
nosetests.xml
|
|
48
|
+
coverage.xml
|
|
49
|
+
*.cover
|
|
50
|
+
*.py,cover
|
|
51
|
+
.hypothesis/
|
|
52
|
+
.pytest_cache/
|
|
53
|
+
cover/
|
|
54
|
+
|
|
55
|
+
# Translations
|
|
56
|
+
*.mo
|
|
57
|
+
*.pot
|
|
58
|
+
|
|
59
|
+
# Django stuff:
|
|
60
|
+
*.log
|
|
61
|
+
local_settings.py
|
|
62
|
+
db.sqlite3
|
|
63
|
+
db.sqlite3-journal
|
|
64
|
+
|
|
65
|
+
# Flask stuff:
|
|
66
|
+
instance/
|
|
67
|
+
.webassets-cache
|
|
68
|
+
|
|
69
|
+
# Scrapy stuff:
|
|
70
|
+
.scrapy
|
|
71
|
+
|
|
72
|
+
# Sphinx documentation
|
|
73
|
+
docs/_build/
|
|
74
|
+
|
|
75
|
+
# PyBuilder
|
|
76
|
+
.pybuilder/
|
|
77
|
+
target/
|
|
78
|
+
|
|
79
|
+
# Jupyter Notebook
|
|
80
|
+
.ipynb_checkpoints
|
|
81
|
+
|
|
82
|
+
# IPython
|
|
83
|
+
profile_default/
|
|
84
|
+
ipython_config.py
|
|
85
|
+
|
|
86
|
+
# pyenv
|
|
87
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
88
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
89
|
+
# .python-version
|
|
90
|
+
|
|
91
|
+
# pipenv
|
|
92
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
93
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
94
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
95
|
+
# install all needed dependencies.
|
|
96
|
+
#Pipfile.lock
|
|
97
|
+
|
|
98
|
+
# poetry
|
|
99
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
100
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
101
|
+
# commonly ignored for libraries.
|
|
102
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
103
|
+
#poetry.lock
|
|
104
|
+
|
|
105
|
+
# pdm
|
|
106
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
107
|
+
#pdm.lock
|
|
108
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
109
|
+
# in version control.
|
|
110
|
+
# https://pdm.fming.dev/#use-with-ide
|
|
111
|
+
.pdm.toml
|
|
112
|
+
|
|
113
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
114
|
+
__pypackages__/
|
|
115
|
+
|
|
116
|
+
# Celery stuff
|
|
117
|
+
celerybeat-schedule
|
|
118
|
+
celerybeat.pid
|
|
119
|
+
|
|
120
|
+
# SageMath parsed files
|
|
121
|
+
*.sage.py
|
|
122
|
+
|
|
123
|
+
# Environments
|
|
124
|
+
.env
|
|
125
|
+
.venv
|
|
126
|
+
env/
|
|
127
|
+
venv/
|
|
128
|
+
ENV/
|
|
129
|
+
env.bak/
|
|
130
|
+
venv.bak/
|
|
131
|
+
|
|
132
|
+
# Spyder project settings
|
|
133
|
+
.spyderproject
|
|
134
|
+
.spyproject
|
|
135
|
+
|
|
136
|
+
# Rope project settings
|
|
137
|
+
.ropeproject
|
|
138
|
+
|
|
139
|
+
# mkdocs documentation
|
|
140
|
+
/site
|
|
141
|
+
|
|
142
|
+
# mypy
|
|
143
|
+
.mypy_cache/
|
|
144
|
+
.dmypy.json
|
|
145
|
+
dmypy.json
|
|
146
|
+
|
|
147
|
+
# Pyre type checker
|
|
148
|
+
.pyre/
|
|
149
|
+
|
|
150
|
+
# pytype static type analyzer
|
|
151
|
+
.pytype/
|
|
152
|
+
|
|
153
|
+
# Cython debug symbols
|
|
154
|
+
cython_debug/
|
|
155
|
+
|
|
156
|
+
# PyCharm
|
|
157
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
158
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
159
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
160
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
161
|
+
.idea/
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
test_results/
|
|
165
|
+
data/
|
|
166
|
+
checkpoints/
|
|
167
|
+
runs/
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## v1.0.2-rc.1 (2024-11-11)
|
|
5
|
+
|
|
6
|
+
### Performance Improvements
|
|
7
|
+
|
|
8
|
+
- Remove unused matplotlib dependency
|
|
9
|
+
([`119df2a`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/119df2a30e8c1f8af001eb556a046c14dd812916))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## v1.0.1 (2024-11-11)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## v1.0.1-rc.1 (2024-11-11)
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
- Make release
|
|
20
|
+
([`d3e493b`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/d3e493bf34c59e81b3abcd23772fa4ed7004c493))
|
|
21
|
+
|
|
22
|
+
### Chores
|
|
23
|
+
|
|
24
|
+
- Remove optional jupyter dependency
|
|
25
|
+
([`843f94b`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/843f94b3825216a68f560677c0014ddfcd70871c))
|
|
26
|
+
|
|
27
|
+
- Fix documentation
|
|
28
|
+
([`dd53920`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/dd539204501556bb7a23bb8a4c6165f36b718c9e))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## v1.0.0 (2024-11-05)
|
|
32
|
+
|
|
33
|
+
### Testing
|
|
34
|
+
|
|
35
|
+
- Add testing for checkpoints
|
|
36
|
+
([`d9b29dd`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/d9b29dd13f8476cc1b85979270839bf452f3d5ef))
|
|
37
|
+
|
|
38
|
+
- Add some initial tests
|
|
39
|
+
([`5bd3d09`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/5bd3d09219098341fd242af2277450bbfd02f0a7))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
## v1.0.0-rc.2 (2024-11-05)
|
|
43
|
+
|
|
44
|
+
### Documentation
|
|
45
|
+
|
|
46
|
+
- Fix inference example
|
|
47
|
+
([`a0f59e9`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/a0f59e949d4f97369b90d46d2d3b44b4ac410e3d))
|
|
48
|
+
|
|
49
|
+
### Features
|
|
50
|
+
|
|
51
|
+
- Improve inference framework to support DDIM
|
|
52
|
+
([`06c4ac1`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/06c4ac1513528c36c639d6f936ba61c060034a19))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
## v1.0.0-rc.1 (2024-11-04)
|
|
56
|
+
|
|
57
|
+
### Bug Fixes
|
|
58
|
+
|
|
59
|
+
- Minor type fixes
|
|
60
|
+
([`4e211cb`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/4e211cb77eec4f113f16747665f078f9e760448c))
|
|
61
|
+
|
|
62
|
+
### Chores
|
|
63
|
+
|
|
64
|
+
- Support python 3.12.*
|
|
65
|
+
([`3099ab5`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/3099ab5e865437da4d4936f2b19ed6b72e8b936f))
|
|
66
|
+
|
|
67
|
+
- Support python3.12
|
|
68
|
+
([`d9ddb02`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/d9ddb024bcedb7df326fea7765b68ed57db69545))
|
|
69
|
+
|
|
70
|
+
- Bumping numpy
|
|
71
|
+
([`4e21dde`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/4e21ddee348a2bbcc1d58e9c8fce680dff504a10))
|
|
72
|
+
|
|
73
|
+
BREAKING CHANGE: Numpy bumped > 2.0
|
|
74
|
+
|
|
75
|
+
### Continuous Integration
|
|
76
|
+
|
|
77
|
+
- Remove python3.9 and add 3.12
|
|
78
|
+
([`24422be`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/24422be40ff2f885f9dbcc8b67afa339c33d5fba))
|
|
79
|
+
|
|
80
|
+
BREAKING CHANGE: no longer supports python 3.9
|
|
81
|
+
|
|
82
|
+
### Features
|
|
83
|
+
|
|
84
|
+
- Adding DDIM denoising
|
|
85
|
+
([`2b5595b`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/2b5595b9716de1d4cd412e1229ea49bfaf8b32b0))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
## v0.1.2-rc.3 (2024-08-08)
|
|
89
|
+
|
|
90
|
+
### Bug Fixes
|
|
91
|
+
|
|
92
|
+
- Map_location is needed for cpu
|
|
93
|
+
([`c918d3b`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/c918d3b37de7d09f1627ff8f4c395edf055d4e7e))
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
## v0.1.2-rc.2 (2024-08-08)
|
|
97
|
+
|
|
98
|
+
### Bug Fixes
|
|
99
|
+
|
|
100
|
+
- Torch load weights only as security issue
|
|
101
|
+
([`6fb7d39`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/6fb7d394440f51e1acb1c90893b75cf2c74d3e1f))
|
|
102
|
+
|
|
103
|
+
- Allow loading BetaScheduler without initialization
|
|
104
|
+
([`193bd96`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/193bd969d56129a708ef1d312fbd5430c5df2a30))
|
|
105
|
+
|
|
106
|
+
- Remove unnecessary dependency
|
|
107
|
+
([`76b8ab1`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/76b8ab11b9498eee69556326a860a3cfd130d037))
|
|
108
|
+
|
|
109
|
+
- Release latest on main only
|
|
110
|
+
([`13568f2`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/13568f2dbdd33e4aa145f137d3143c79a904e51a))
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
## v0.1.2-rc.1 (2024-08-08)
|
|
114
|
+
|
|
115
|
+
### Bug Fixes
|
|
116
|
+
|
|
117
|
+
- Give dispatch permissions to trigger CI
|
|
118
|
+
([`5f3333a`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/5f3333a598603ad9ff8abdeea31d77d1d3bf5154))
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
## v0.1.1 (2024-08-08)
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
## v0.1.1-rc.4 (2024-08-08)
|
|
125
|
+
|
|
126
|
+
### Bug Fixes
|
|
127
|
+
|
|
128
|
+
- Mistake in workflow name
|
|
129
|
+
([`f80c59b`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/f80c59b11aaa461349650f5bf54972134911c673))
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
## v0.1.1-rc.3 (2024-08-08)
|
|
133
|
+
|
|
134
|
+
### Bug Fixes
|
|
135
|
+
|
|
136
|
+
- Commit forgotten __init__,py
|
|
137
|
+
([`c670b4a`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/c670b4a9cf922585776d3eb35ef8c21fd419c4a5))
|
|
138
|
+
|
|
139
|
+
### Continuous Integration
|
|
140
|
+
|
|
141
|
+
- Use workflow_dispatch to trigger docs
|
|
142
|
+
([`83c77e6`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/83c77e6f81b85f6964c7b2fdb0a0547f51ff4f73))
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
## v0.1.1-rc.2 (2024-08-07)
|
|
146
|
+
|
|
147
|
+
### Bug Fixes
|
|
148
|
+
|
|
149
|
+
- Pipeline build and release docs at the tag node
|
|
150
|
+
([`e56d111`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/e56d111d65f9fe1a47f70488a779125d42589030))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
## v0.1.1-rc.1 (2024-08-07)
|
|
154
|
+
|
|
155
|
+
### Bug Fixes
|
|
156
|
+
|
|
157
|
+
- Remove workflow_run as it doesn't work as expected
|
|
158
|
+
([`b55b29c`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/b55b29ce846342876dcfc7257d01370ef098f80d))
|
|
159
|
+
|
|
160
|
+
on push to main or dev
|
|
161
|
+
|
|
162
|
+
- Wait for release tag to build docs
|
|
163
|
+
([`033400f`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/033400fb735d19b27e140b185055a087d9449daa))
|
|
164
|
+
|
|
165
|
+
### Documentation
|
|
166
|
+
|
|
167
|
+
- Improved readme
|
|
168
|
+
([`ad8a5ff`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/ad8a5ffa9ffb5a5c7b1fc051190e04f663b9bf5e))
|
|
169
|
+
|
|
170
|
+
- Document diffusion trainer
|
|
171
|
+
([`5fd5eb7`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/5fd5eb7117f62bb41360ee89f7e0456f0d37f4b9))
|
|
172
|
+
|
|
173
|
+
- Short type hints and version fix
|
|
174
|
+
([`5da9b6e`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/5da9b6e5f5bf59c847a6b186b9dbb87483c797da))
|
|
175
|
+
|
|
176
|
+
- Write introduction
|
|
177
|
+
([`22c9b8d`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/22c9b8d89e3412e8f49ca3947406d640f0f002bf))
|
|
178
|
+
|
|
179
|
+
- Document rest of the library
|
|
180
|
+
([`d00dfb9`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/d00dfb942dce19a7abe986a40350ddf2a2142f7a))
|
|
181
|
+
|
|
182
|
+
- Document GaussianDiffuser
|
|
183
|
+
([`d7c5dc1`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/d7c5dc1529c3365659572d3715361b0163c10a2d))
|
|
184
|
+
|
|
185
|
+
- Document BetaSchedulers
|
|
186
|
+
([`3c162e6`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/3c162e6fde1db170e5577f546081da2676bc608f))
|
|
187
|
+
|
|
188
|
+
- Document BaseDiffuser
|
|
189
|
+
([`edfa807`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/edfa807b47fa84e67337ae202605cd60bf97b55a))
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
## v0.1.0 (2024-08-06)
|
|
193
|
+
|
|
194
|
+
### Features
|
|
195
|
+
|
|
196
|
+
- Add some status badges
|
|
197
|
+
([`e87f3ec`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/e87f3ec4be6a1abe1ddd70b4423cf7c42cfcdbf6))
|
|
198
|
+
|
|
199
|
+
fix url
|
|
200
|
+
|
|
201
|
+
- Automatic build and release of docs
|
|
202
|
+
([`09338a5`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/09338a52e2fc8412d9459e7dacbc29d442b59aaa))
|
|
203
|
+
|
|
204
|
+
not sure where the syntax error is
|
|
205
|
+
|
|
206
|
+
try pushing docs
|
|
207
|
+
|
|
208
|
+
remove multiversion
|
|
209
|
+
|
|
210
|
+
- Add release process
|
|
211
|
+
([`1278e12`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/1278e12942361d33274d55f6e4b6bd5d3f5ead15))
|
|
212
|
+
|
|
213
|
+
download workflow artifact
|
|
214
|
+
|
|
215
|
+
update to cache@v4
|
|
216
|
+
|
|
217
|
+
unpack into dist folder
|
|
218
|
+
|
|
219
|
+
add publishing permissions
|
|
220
|
+
|
|
221
|
+
try on legacy
|
|
222
|
+
|
|
223
|
+
test with pypa
|
|
224
|
+
|
|
225
|
+
working pipeline
|
|
226
|
+
|
|
227
|
+
feat: Publish release
|
|
228
|
+
|
|
229
|
+
Test releases
|
|
230
|
+
|
|
231
|
+
test syntax
|
|
232
|
+
|
|
233
|
+
echo
|
|
234
|
+
|
|
235
|
+
additional permissions
|
|
236
|
+
|
|
237
|
+
protect releases on dev
|
|
238
|
+
|
|
239
|
+
test full version
|
|
240
|
+
|
|
241
|
+
fix to master
|
|
242
|
+
|
|
243
|
+
try a new version
|
|
244
|
+
|
|
245
|
+
only allow releases on main
|
|
246
|
+
|
|
247
|
+
back to alpha version
|
|
248
|
+
|
|
249
|
+
fix typo
|
|
250
|
+
|
|
251
|
+
deactivate other pipelines for dynamic versioning testing
|
|
252
|
+
|
|
253
|
+
fix workflows
|
|
254
|
+
|
|
255
|
+
add dynamic versioning to pyproject toml
|
|
256
|
+
|
|
257
|
+
unshallow fetch
|
|
258
|
+
|
|
259
|
+
try semantic release
|
|
260
|
+
|
|
261
|
+
try matching more branches
|
|
262
|
+
|
|
263
|
+
feat: adjust semantic-release config
|
|
264
|
+
|
|
265
|
+
feat: bump __init__
|
|
266
|
+
|
|
267
|
+
trigger pypi publishing on tags
|
|
268
|
+
|
|
269
|
+
try fixing regex
|
|
270
|
+
|
|
271
|
+
try another syntax
|
|
272
|
+
|
|
273
|
+
github regex is weird
|
|
274
|
+
|
|
275
|
+
publish to pypi
|
|
276
|
+
|
|
277
|
+
fix: testpypi publishing
|
|
278
|
+
|
|
279
|
+
move to pypi
|
|
280
|
+
|
|
281
|
+
adjust pyproject.toml
|
|
282
|
+
|
|
283
|
+
- Test pipeline
|
|
284
|
+
([`f53241f`](https://github.com/sachahu1/Diffusion-Model-Framework/commit/f53241f318f63cbb55398edc1bf9b0e6f2913bd0))
|
|
285
|
+
|
|
286
|
+
rename package and add missing test dependencies
|
|
287
|
+
|
|
288
|
+
add initial test folder
|
|
289
|
+
|
|
290
|
+
try simplifying pipeline
|
|
291
|
+
|
|
292
|
+
fix poetry install --with syntax
|
|
293
|
+
|
|
294
|
+
fix pyproject toml and relock
|
|
295
|
+
|
|
296
|
+
poetry show with test
|
|
297
|
+
|
|
298
|
+
did i forget poetry run?
|
|
299
|
+
|
|
300
|
+
try fixing syntax
|
|
301
|
+
|
|
302
|
+
additional package caching
|
|
303
|
+
|
|
304
|
+
forgot to install test dependencies
|
|
305
|
+
|
|
306
|
+
combine install tests with unit tests
|