diffusion: add AGPL-3.0 SPDX header to Krea2 / LoRA / ControlNet files
Five studio diffusion source files added by earlier sub-PRs (Krea 2 Turbo, Images LoRA, ControlNet) were missing the AGPL-3.0 SPDX header the rest of studio/backend carries. Add it so the whole backend is consistently licensed.
This commit is contained in:
parent
90a79843a3
commit
1628c79145
5 changed files with 15 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
# Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
|
||||
|
||||
"""Krea 2 pipeline loader: assembles ``Krea2Pipeline`` from per-component loads.
|
||||
|
||||
Why not ``Krea2Pipeline.from_pretrained``: the ``krea/Krea-2-Turbo`` repo was exported
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
# Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
|
||||
|
||||
"""Shared LoRA support for the Studio diffusion backends.
|
||||
|
||||
Both engines apply LoRA differently -- the native stable-diffusion.cpp CLI selects
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
# Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
|
||||
|
||||
"""Tests for diffusion ControlNet support: discovery/resolve/preprocess/gate helpers, the
|
||||
request-model validation, the family wiring, and the diffusers ControlNet pipe manager."""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
# Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
|
||||
|
||||
"""Unit tests for the Krea 2 per-component pipeline loader (CPU-only, no network)."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
# Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
|
||||
|
||||
"""Tests for diffusion LoRA support: the shared helpers, request-model validation, the
|
||||
native prompt-tag/dir wiring, and the diffusers set_adapters manager."""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue