avlp12 / Lance-3B-MLX-Traced

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: May 29 2026
text-to-image

Introduction of Lance-3B-MLX-Traced

Model Details of Lance-3B-MLX-Traced

Lance-3B-MLX-Traced (image weights)

ByteDance Lance 3B image weights converted to Apple MLX , byte-clean against the original PyTorch.

The weight is not the point — the verification is

This model.safetensors is bit-identical (SHA256 5ede2f0a376096d51004dad85705938abbfe3cedb64e212631527e76b9547817 ) with RockTalk/Lance-3B-MLX . Both follow the same deterministic, bf16-preserving conversion path from bytedance-research/Lance — so the weights should match, and they do.

The differentiator of this release is not the weight. It is the verification trace : every stage of the port was cross-validated against the original PyTorch via byte-diff before the next stage started, and the full harness + lesson log is public:

👉 github.com/avlp12/lance_alis_mlx

This is complementary to the other MLX ports (RockTalk, xocialize, mlx-community) — same weights, but the verification process is shown.

Verification (image track)
Stage Component Gate
1 PT → MLX weight conversion bit-exact (SHA256 match)
5 Wan 2.2 VAE image path (T=1) ~40 dB PSNR round-trip vs PT
6 Flow matching + CFG (T2I) end-to-end cos ≥ 0.999 vs PT 30-step
7 ViT + X→T + TI2I cos ≥ 0.999 + real-photo perceptual

Every gate uses original PyTorch direct import (not a clean re-implementation) under a shim, same PRNG (NumPy) on both sides, byte-diff at every layer. 23 lessons distilled across stages 1–9; see the repo's LEARNING_LOG/ .

(Video weights — STAGE 8 VAE + STAGE 9 t2v, all verified — are a separate release. This repo is the image track.)

Usage

Inference is pure MLX — no PyTorch needed at runtime. (PyTorch is only imported by the verification harnesses in tools/ .)

git clone https://github.com/avlp12/lance_alis_mlx
cd lance_alis_mlx
python3.12 -m venv .venv && source .venv/bin/activate
pip install mlx mlx-vlm transformers safetensors einops pillow huggingface_hub numpy

# this weight
hf download avlp12/Lance-3B-MLX-Traced --local-dir checkpoints/Lance-3B-MLX
hf download RockTalk/Wan2.2-VAE-MLX    --local-dir checkpoints/Wan2.2-VAE-MLX

# generate
PYTHONPATH=. .venv/bin/python tools/stage6_t2i_smoke.py    # text-to-image
PYTHONPATH=. .venv/bin/python tools/stage7_x2t_smoke.py    # image-to-text
PYTHONPATH=. .venv/bin/python tools/stage7_ti2i_smoke.py   # image edit

Apple Silicon required (developed on M3 Ultra). Python 3.12.

License & citation

Apache 2.0 — same as upstream ByteDance Lance and Alibaba Wan 2.2 VAE.

@misc{fu2026lanceunifiedmultimodalmodeling,
      title         = {Lance: Unified Multimodal Modeling by Multi-Task Synergy},
      author        = {Fengyi Fu and Mengqi Huang and Shaojin Wu and Yunsheng Jiang and Yufei Huo and Hao Li and Yinghang Song and Fei Ding and Jianzhu Guo and Qian He and Zheren Fu and Zhendong Mao and Yongdong Zhang},
      year          = {2026},
      eprint        = {2605.18678},
      archivePrefix = {arXiv},
      primaryClass  = {cs.CV},
      url           = {https://arxiv.org/abs/2605.18678},
}
Acknowledgments
  • ByteDance Lance team — original PyTorch model and research
  • RockTalk — MLX checkpoint conversion used as the parity reference
  • Alibaba Wan 2.2 team — 3D Causal VAE architecture

Runs of avlp12 Lance-3B-MLX-Traced on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About Lance-3B-MLX-Traced huggingface.co Model

More Lance-3B-MLX-Traced license Visit here:

https://choosealicense.com/licenses/apache-2.0

Lance-3B-MLX-Traced huggingface.co

Lance-3B-MLX-Traced huggingface.co is an AI model on huggingface.co that provides Lance-3B-MLX-Traced's model effect (), which can be used instantly with this avlp12 Lance-3B-MLX-Traced model. huggingface.co supports a free trial of the Lance-3B-MLX-Traced model, and also provides paid use of the Lance-3B-MLX-Traced. Support call Lance-3B-MLX-Traced model through api, including Node.js, Python, http.

Lance-3B-MLX-Traced huggingface.co Url

https://huggingface.co/avlp12/Lance-3B-MLX-Traced

avlp12 Lance-3B-MLX-Traced online free

Lance-3B-MLX-Traced huggingface.co is an online trial and call api platform, which integrates Lance-3B-MLX-Traced's modeling effects, including api services, and provides a free online trial of Lance-3B-MLX-Traced, you can try Lance-3B-MLX-Traced online for free by clicking the link below.

avlp12 Lance-3B-MLX-Traced online free url in huggingface.co:

https://huggingface.co/avlp12/Lance-3B-MLX-Traced

Lance-3B-MLX-Traced install

Lance-3B-MLX-Traced is an open source model from GitHub that offers a free installation service, and any user can find Lance-3B-MLX-Traced on GitHub to install. At the same time, huggingface.co provides the effect of Lance-3B-MLX-Traced install, users can directly use Lance-3B-MLX-Traced installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Lance-3B-MLX-Traced install url in huggingface.co:

https://huggingface.co/avlp12/Lance-3B-MLX-Traced

Url of Lance-3B-MLX-Traced

Lance-3B-MLX-Traced huggingface.co Url

Provider of Lance-3B-MLX-Traced huggingface.co

avlp12
ORGANIZATIONS

Other API from avlp12