Publish Canter v0002
Browse files- README.md +1 -1
- RELEASES.md +6 -0
- canter/configuration_canter.py +1 -1
- canter/webui_app.py +3 -0
- dist/canter-0.4.0-py3-none-any.whl +0 -0
- model-00001-of-00001.safetensors +1 -1
- release.json +27 -6
README.md
CHANGED
|
@@ -22,7 +22,7 @@ base_model:
|
|
| 22 |
> The model is still training. Checkpoints and behavior may change during
|
| 23 |
> the preview period, and generation quality is still quite variable.
|
| 24 |
|
| 25 |
-
**Current checkpoint:** [`
|
| 26 |
|
| 27 |
[Example gallery](GALLERY.md) · [Getting started](#getting-started) ·
|
| 28 |
[API and inference parameters](API.md) ·
|
|
|
|
| 22 |
> The model is still training. Checkpoints and behavior may change during
|
| 23 |
> the preview period, and generation quality is still quite variable.
|
| 24 |
|
| 25 |
+
**Current checkpoint:** [`v0002`](RELEASES.md#v0002)
|
| 26 |
|
| 27 |
[Example gallery](GALLERY.md) · [Getting started](#getting-started) ·
|
| 28 |
[API and inference parameters](API.md) ·
|
RELEASES.md
CHANGED
|
@@ -22,6 +22,7 @@ decoded images remain full resolution.
|
|
| 22 |
|
| 23 |
| Release | Date | Weight storage | Status |
|
| 24 |
| --- | --- | --- | --- |
|
|
|
|
| 25 |
| [`v0001`](https://huggingface.co/data-archetype/canter/tree/v0001) | July 2026 | bfloat16 with float32 precision islands | Preview |
|
| 26 |
|
| 27 |
## Updating code
|
|
@@ -59,6 +60,11 @@ For exact reproduction, pin both the Canter package version and checkpoint
|
|
| 59 |
tag. Passing `revision="main"` explicitly selects the moving repository head
|
| 60 |
and is not an immutable checkpoint reference.
|
| 61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
## v0001
|
| 63 |
|
| 64 |
Initial preview release.
|
|
|
|
| 22 |
|
| 23 |
| Release | Date | Weight storage | Status |
|
| 24 |
| --- | --- | --- | --- |
|
| 25 |
+
| [`v0002`](https://huggingface.co/data-archetype/canter/tree/v0002) | July 2026 | bfloat16 with float32 precision islands | Preview |
|
| 26 |
| [`v0001`](https://huggingface.co/data-archetype/canter/tree/v0001) | July 2026 | bfloat16 with float32 precision islands | Preview |
|
| 27 |
|
| 28 |
## Updating code
|
|
|
|
| 60 |
tag. Passing `revision="main"` explicitly selects the moving repository head
|
| 61 |
and is not an immutable checkpoint reference.
|
| 62 |
|
| 63 |
+
## v0002
|
| 64 |
+
|
| 65 |
+
Preview candidate exported from a 50/50 EMA blend of training steps 1,010,000
|
| 66 |
+
and 1,090,000.
|
| 67 |
+
|
| 68 |
## v0001
|
| 69 |
|
| 70 |
Initial preview release.
|
canter/configuration_canter.py
CHANGED
|
@@ -6,7 +6,7 @@ from dataclasses import dataclass
|
|
| 6 |
|
| 7 |
CANTER_LICENSE = "MG-BY-SA-2.0"
|
| 8 |
CANTER_LICENSE_URL = "https://ids.nus.edu.sg/docs/modelgo/v2/MG-BY-SA/LICENSE"
|
| 9 |
-
CANTER_DEFAULT_RELEASE = "
|
| 10 |
|
| 11 |
|
| 12 |
@dataclass(frozen=True)
|
|
|
|
| 6 |
|
| 7 |
CANTER_LICENSE = "MG-BY-SA-2.0"
|
| 8 |
CANTER_LICENSE_URL = "https://ids.nus.edu.sg/docs/modelgo/v2/MG-BY-SA/LICENSE"
|
| 9 |
+
CANTER_DEFAULT_RELEASE = "v0002"
|
| 10 |
|
| 11 |
|
| 12 |
@dataclass(frozen=True)
|
canter/webui_app.py
CHANGED
|
@@ -79,6 +79,7 @@ class SizePreset(Enum):
|
|
| 79 |
|
| 80 |
DEFAULT_PORTRAIT = "default_portrait"
|
| 81 |
WIDE = "wide"
|
|
|
|
| 82 |
TALL_PORTRAIT = "tall_portrait"
|
| 83 |
|
| 84 |
|
|
@@ -95,11 +96,13 @@ _SIZE_PRESETS = {value.value: value for value in SizePreset}
|
|
| 95 |
_SIZE_PRESET_CHOICES = (
|
| 96 |
("832 × 1216 · gain −0.03", SizePreset.DEFAULT_PORTRAIT.value),
|
| 97 |
("1536 × 832 · gain −0.02", SizePreset.WIDE.value),
|
|
|
|
| 98 |
("1024 × 1536 · gain −0.02", SizePreset.TALL_PORTRAIT.value),
|
| 99 |
)
|
| 100 |
_SIZE_PRESET_VALUES = {
|
| 101 |
SizePreset.DEFAULT_PORTRAIT: _SizePresetValues(832, 1216, -0.03),
|
| 102 |
SizePreset.WIDE: _SizePresetValues(1536, 832, -0.02),
|
|
|
|
| 103 |
SizePreset.TALL_PORTRAIT: _SizePresetValues(1024, 1536, -0.02),
|
| 104 |
}
|
| 105 |
|
|
|
|
| 79 |
|
| 80 |
DEFAULT_PORTRAIT = "default_portrait"
|
| 81 |
WIDE = "wide"
|
| 82 |
+
LARGE_WIDE = "large_wide"
|
| 83 |
TALL_PORTRAIT = "tall_portrait"
|
| 84 |
|
| 85 |
|
|
|
|
| 96 |
_SIZE_PRESET_CHOICES = (
|
| 97 |
("832 × 1216 · gain −0.03", SizePreset.DEFAULT_PORTRAIT.value),
|
| 98 |
("1536 × 832 · gain −0.02", SizePreset.WIDE.value),
|
| 99 |
+
("1920 × 1024 · gain −0.02", SizePreset.LARGE_WIDE.value),
|
| 100 |
("1024 × 1536 · gain −0.02", SizePreset.TALL_PORTRAIT.value),
|
| 101 |
)
|
| 102 |
_SIZE_PRESET_VALUES = {
|
| 103 |
SizePreset.DEFAULT_PORTRAIT: _SizePresetValues(832, 1216, -0.03),
|
| 104 |
SizePreset.WIDE: _SizePresetValues(1536, 832, -0.02),
|
| 105 |
+
SizePreset.LARGE_WIDE: _SizePresetValues(1920, 1024, -0.02),
|
| 106 |
SizePreset.TALL_PORTRAIT: _SizePresetValues(1024, 1536, -0.02),
|
| 107 |
}
|
| 108 |
|
dist/canter-0.4.0-py3-none-any.whl
CHANGED
|
Binary files a/dist/canter-0.4.0-py3-none-any.whl and b/dist/canter-0.4.0-py3-none-any.whl differ
|
|
|
model-00001-of-00001.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4133051336
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b419bd3b93b3ba001c3d6f81ff95868bc18bf17f299bd5751c9db9920e0e028
|
| 3 |
size 4133051336
|
release.json
CHANGED
|
@@ -1,7 +1,28 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"dtype": "bfloat16",
|
| 3 |
-
"exporter_sha256": "
|
| 4 |
-
"exporter_source_commit": "
|
|
|
|
|
|
|
| 5 |
"latent_rgb_preview_source_checkpoint_sha256": "f42fd1af65010acba63582288d1802e054ab1cde4c3226dc02494c882cdea78e",
|
| 6 |
"latent_rgb_preview_source_config_sha256": "8aff4041a12fe2165442867299f82e14853c2f71d9c94b6705e67521d6c042fb",
|
| 7 |
"latent_rgb_preview_source_run_hash": "553803c53a59848a",
|
|
@@ -10,11 +31,11 @@
|
|
| 10 |
"license": "MG-BY-SA-2.0",
|
| 11 |
"parameter_count": 2061680772,
|
| 12 |
"parity_result_ids": [
|
| 13 |
-
"local-
|
| 14 |
],
|
| 15 |
-
"release": "
|
| 16 |
-
"source_checkpoint_sha256": "
|
| 17 |
-
"source_config_sha256": "
|
| 18 |
"source_experiment": "flow_xattn_2b_1024_b6_outer3_xattn_v2",
|
| 19 |
"source_run_hash": "1ae88744940b8212",
|
| 20 |
"source_run_id": 97,
|
|
|
|
| 1 |
{
|
| 2 |
+
"checkpoint_merge": {
|
| 3 |
+
"inputs": [
|
| 4 |
+
{
|
| 5 |
+
"checkpoint": "checkpoint_step_1010000.pt",
|
| 6 |
+
"sha256": "47418014f7a640a6ffb196764219c5481ac44acb01616f930fdfe2ec6355cdca",
|
| 7 |
+
"source_weights": "ema",
|
| 8 |
+
"step": 1010000,
|
| 9 |
+
"weight": 0.5
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"checkpoint": "checkpoint_step_1090000.pt",
|
| 13 |
+
"sha256": "e6488b08a831903ca64cc9b8a7dfdef869e0948f69564fbb2d072ab7d25b8cef",
|
| 14 |
+
"source_weights": "ema",
|
| 15 |
+
"step": 1090000,
|
| 16 |
+
"weight": 0.5
|
| 17 |
+
}
|
| 18 |
+
],
|
| 19 |
+
"source_weights": "ema"
|
| 20 |
+
},
|
| 21 |
"dtype": "bfloat16",
|
| 22 |
+
"exporter_sha256": "19f038788be08d985503a51bfeead0142757b462f277f92324633d352f53cfea",
|
| 23 |
+
"exporter_source_commit": "072493720cbc554d49c3d2e834f24b0de90d0dff",
|
| 24 |
+
"exporter_source_dirty": false,
|
| 25 |
+
"exporter_source_status": [],
|
| 26 |
"latent_rgb_preview_source_checkpoint_sha256": "f42fd1af65010acba63582288d1802e054ab1cde4c3226dc02494c882cdea78e",
|
| 27 |
"latent_rgb_preview_source_config_sha256": "8aff4041a12fe2165442867299f82e14853c2f71d9c94b6705e67521d6c042fb",
|
| 28 |
"latent_rgb_preview_source_run_hash": "553803c53a59848a",
|
|
|
|
| 31 |
"license": "MG-BY-SA-2.0",
|
| 32 |
"parameter_count": 2061680772,
|
| 33 |
"parity_result_ids": [
|
| 34 |
+
"local-v0002-ema-blend-1010000-1090000-20260731"
|
| 35 |
],
|
| 36 |
+
"release": "v0002",
|
| 37 |
+
"source_checkpoint_sha256": "7dc4da9b7b4422d041f298bfa979f4e445ecf8610aba67264c75e6107fef8221",
|
| 38 |
+
"source_config_sha256": "49d9bdc322507f43ff92ab2a80fc2deb67fe459fcda02ad2acb7914c4db9cafa",
|
| 39 |
"source_experiment": "flow_xattn_2b_1024_b6_outer3_xattn_v2",
|
| 40 |
"source_run_hash": "1ae88744940b8212",
|
| 41 |
"source_run_id": 97,
|