# MOSS Image Edit runtime provenance This integration is image-to-image only. It always applies the chinoll edit adapter to MOSS-Image-SFT; optional user adapters add independent residuals. Vendored inference source: - Repository: https://huggingface.co/spaces/akhaliq/moss-image-edit-workflow - Revision: `ec9713b208ac0f7a69b836f27d9f1f5d50718824` - `moss_runtime/*.py`: GPLv3 port of https://github.com/Chenkin-x/ComfyUI-Moss-Image-Edit - `pipeline_moss_image.py`: BSD 3-Clause copy from https://huggingface.co/spaces/OpenMOSS-Team/MOSS-Image - Full licenses: `MOSS_RUNTIME_LICENSE.txt` and `MOSS_PIPELINE_LICENSE.txt`. Pinned weights: - `OpenMOSS-Team/MOSS-Image-SFT` at `f972bd4b4b9e3852133cc5da954d87bc32cd8fb9` (Apache-2.0 model weights). - `chinoll/Moss-Image-Edit` at `3be9c40037e1b89b17aa85ff6f8ee805872aa558`. `moss_backend.py` and `moss_lora.py` integrate these sources into the shared Space. The upstream inference files are vendored unmodified. Downloads run before GPU allocation; GPU execution loads the text encoder, releases it, then loads the VAE and transformer. All MOSS model tensors are discarded afterward. The parent process retains no MOSS model tensors. Optional LoRAs support MOSS raw A/B, PEFT/ai-toolkit A/B.weight, and Kohya down/up layouts. All keys and dimensions are validated before allocation. Alpha/rank scaling is preserved, and fused QKV updates are sliced without rank truncation. No optional speed adapter is automatically enabled. DoRA, rank-stabilized adapters, and unknown model formats are rejected explicitly.