aboutcode-org / aboutcode-org/scancode-toolkit
Improve license naming: stable-diffusion-2022-08-22 should include "CreativeML Open RAIL-M 2022-08-22"
- 主要語言
- Python
- 星號
- 2.6k
- 分支
- 791
- 平均合併
- 1 天 12 小時
- 30 天內合併 PR
- 5
描述
**License Name**
CreativeML OpenRAIL-M License
**License Homepage URL**
https://huggingface.co/spaces/CompVis/stable-diffusion-license
**License Text URL**
https://github.com/CompVis/stable-diffusion/blob/main/LICENSE
**Alternative License Text URL**
https://huggingface.co/spaces/CompVis/stable-diffusion-license/raw/main/license.txt
**License Notes**
This is the CreativeML OpenRAIL-M license used by Stable Diffusion and thousands of derivative AI image generation models. It's one of the most widely-adopted AI model licenses.
**Key Features:**
- Part of the OpenRAIL (Open & Responsible AI License) family
- Permissive for most uses with ethical restrictions
- Prohibits harmful applications (misinformation, harassment, etc.)
- Copyleft-style: derivatives must maintain the same restrictions
- Dated August 22, 2022
**Significance:**
- Used by Stable Diffusion v1 (one of the most viral AI tools of 2024-2025)
- **30,000+ models on Hugging Face** use this license (as of November 2025)
- More than **100,000+ developers** affected
- Used by derivative projects: Dreamlike, SDXL variants, and countless fine-tuned models
- Critical for AI compliance and license scanning
**Impact:**
According to Hugging Face statistics, this is one of the top 5 most-used AI model licenses, with usage comparable to MIT and Apache 2.0 licenses in the AI space.
**Related Licenses Already in ScanCode:**
- `stable-diffusion-2022-08-22` - This is a different/later version
- `bigscience-openrail-m` - Similar RAIL license for language models
- `bigcode-open-rail-m-v1` - RAIL license for code models
- `openrail++` - Updated version of OpenRAIL
**Why This Matters:**
ScanCode currently has `stable-diffusion-2022-08-22` but NOT the original `creativeml-openrail-m` identifier. Many projects specifically reference "CreativeML OpenRAIL-M" in their license files, and having this distinct entry would improve detection accuracy.
**Projects Using This License:**
- Stable Diffusion v1.4, v1.5
- DreamBooth models
- ControlNet
- Thousands of Hugging Face models
- Civitai models
- Countless commercial and research projects
**Additional Context:**
- License is managed by the RAIL Initiative
- Co-authors: Robin Rombach, Patrick Esser, and contributors
- Part of a broader trend in "responsible AI" licensing
- Blog post: https://huggingface.co/blog/open_rail
貢獻指南
評估
這個 Issue 還沒有評估資料。