mini-beatrix-3/code: the training code pinned to the commits that train the run (alephllm 0.10.5 @e8b7440, amoe-lora 0.2.10 @f3db5d4) + the pod's mission files, 2026-09-27
b8b19f6 verified Download mini-beatrix-3/code/amoe-lora/src/amoe/diffusion/__init__.py from AbstractPhil/alephllm-mini-beatrix-training: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/AbstractPhil/alephllm-mini-beatrix-training/resolve/main/mini-beatrix-3/code/amoe-lora/src/amoe/diffusion/__init__.py
- Command line
-
hf download hf://AbstractPhil/alephllm-mini-beatrix-training/mini-beatrix-3/code/amoe-lora/src/amoe/diffusion/__init__.py
-
curl -L -o __init__.py https://huggingface.co/AbstractPhil/alephllm-mini-beatrix-training/resolve/main/mini-beatrix-3/code/amoe-lora/src/amoe/diffusion/__init__.py
1.33 kB
| """amoe.diffusion — the aleph adapter verbs on diffusion trunks (0.2). | |
| Same five-verb grammar as the text line, three certified deviations | |
| (see .laws): the dtype law, structural banding instead of comparative | |
| routing (align() is a grounded negative), and the declared multi-GPU | |
| split (native train = single-GPU/DDP; production multi-GPU = the | |
| diffusion-pipe fork). | |
| Quickstart: | |
| import amoe.diffusion as ad | |
| h = ad.attach(pipe.unet, "mb3_s0.safetensors") | |
| img = ad.sample(pipe, h, "a lighthouse at dusk", seed=7) | |
| with h.lesion_band(2): ... | |
| base = h.detach() # bit-exact or raises | |
| """ | |
| from ..io.checkpoint import (DiffusionAnchorCheckpoint, | |
| load_diffusion_anchor) | |
| from .core.cond import AlephCondAdapter | |
| from .core.multiband import (BandBlockWrap, MultibandDelta, band_of, | |
| band_weights) | |
| from .core.relay import BlockWithRelay, RelayPatch2D | |
| from .runtime.attach import DiffusionAttachHandle, attach, detach | |
| from .runtime.sampler import StepGatedSampler, sample | |
| from .train.aligner import align | |
| from .train.config import DiffusionTrainConfig, RelaySpec | |
| from .train.config import DiffusionTrainConfig as TrainConfig | |
| from .train.trainer import ConditioningLawWarning, train | |
| from . import laws | |
| from .train import data | |