Drifting Models Reproduction (PyTorch)
Community reproduction of Generative Modeling via Drifting in PyTorch.
Project status and claim boundaries
- This repository is not an official release from the paper authors.
- We are actively hardening paper-faithful semantics and evidence artifacts.
- We do not currently claim full paper-level metric reproduction.
- Pixel pipeline remains experimental and should not be treated as parity-closed.
See:
docs/faithfulness_status.mddocs/reproduction_report.mddocs/experiment_log.mddocs/eval_contract.md
Paper artifact footprint
- The repository tracks the markdown scan and figure assets under
Drift_Models/. - Large convenience artifacts are intentionally untracked and gitignored:
Drift_Models.pdfDrift_Models/Drift_Models.json
- Keep those files locally if needed for planner/critique workflows, but do not commit them.
Quickstart (60 seconds)
Option A: uv (recommended)
uv sync --extra dev --extra eval --extra sdvae
uv run python scripts/runtime_preflight.py --device auto --check-torchvision --strict
uv run python scripts/train_toy.py --config configs/toy/quick.yaml --output-dir outputs/toy_quick --device cpu
Option B: pip
python -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -e ".[dev,eval,sdvae]"
python scripts/runtime_preflight.py --device auto --check-torchvision --strict
python scripts/train_toy.py --config configs/toy/quick.yaml --output-dir outputs/toy_quick --device cpu
Installation guides
- Linux + NVIDIA CUDA:
docs/install_linux_cuda.md - CPU-only:
docs/install_cpu_only.md - macOS (Apple Silicon / MPS):
docs/install_macos.md - Windows + WSL2:
docs/install_windows_wsl2.md
Common workflows
- Toy trajectory training:
docs/getting_started.md - Latent smoke training:
docs/getting_started.md - Sampling/eval smoke:
docs/getting_started.md - Full command catalog:
docs/commands.md
Compatibility tiers
Compatibility and support policy is documented in:
docs/compatibility_matrix.md
Runtime health
- Runtime preflight is enforced in CI on Linux/macOS/Windows and nightly on Linux.
- Preflight JSON reports are uploaded as workflow artifacts for each run.
- CI also generates an aggregated runtime summary + failure triage and posts it as a sticky PR comment.
- Runtime diagnostics guide:
docs/runtime_health.md - Local preflight entrypoint:
scripts/runtime_preflight.py
Reproducibility and evidence
- Run metadata contracts:
docs/provenance_contract.md - Claim/evidence mapping:
docs/claim_to_evidence_matrix.md - Release parity gate:
docs/release_gate_checklist.md - Public release gate:
docs/RELEASE_CHECKLIST.md - Branch protection policy:
docs/branch_protection.md - PyPI/TestPyPI publish setup:
docs/pypi_trusted_publishing.md
Contributing and governance
- Contribution guide:
CONTRIBUTING.md - Code of conduct:
CODE_OF_CONDUCT.md - Security policy:
SECURITY.md - Changelog:
CHANGELOG.md
Citation
If you use this repository, cite the original paper and this implementation repo.
Paper: Generative Modeling via Drifting (arXiv:2602.04770).
Metadata
Release files for drift-models 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| drift_models-0.1.1.tar.gz | 4.6 MB | With provenance | Details for drift_models-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| drift_models-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for drift_models-0.1.1-py3-none-any.whl |
Total release size: 4.6 MB
Release files / drift_models-0.1.1.tar.gz
| Download URL | drift_models-0.1.1.tar.gz |
|---|---|
| Size | 4.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a7891de55553a14176116fcfe723d443af4e0d1558f0378f4939537c378b5eb
|
|
BLAKE2b-256 checksum How to use checksums |
68d915114f0f1cfc665b59bb963d077bbbd8c92a36379dedc3f518587693373c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 2, 2026.
Transparency logRelease files / drift_models-0.1.1-py3-none-any.whl
| Download URL | drift_models-0.1.1-py3-none-any.whl |
|---|---|
| Size | 61.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3cb7358657aee268bd5afbd0b3747bacadec6815d90d95aa1685e2d7e848bfa
|
|
BLAKE2b-256 checksum How to use checksums |
6aa4bbf7b61fc90e6fdd7dad5037523d5765611ed81946b909fc988639c2e297
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 2, 2026.
Transparency logSecurity for drift-models 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for drift_models-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.