Hugging Face Diffusers 官方版本记录·· 16 小时前AI 评分42
Diffusers v0.42.1 修复 from_pretrained 组件解析,防止 trust_remote_code 绕过
v0.42.1 — fix component resolution in `from_pretrained` to prevent `trust_remote_code` bypass
先看结论
这是安全补丁版本,修复 from_pretrained 组件库名解析,防止 trust_remote_code 绕过,0.42.0 用户应升级。
报道讲了什么
- Diffusers 发布 v0.42.1 安全版本,修复组件声明库名在 from_pretrained 加载时的解析方式。
可以做什么
- 修复覆盖 DiffusionPipeline、AutoModel 和 ModularPipeline 三条加载路径的库名解析。
怎么使用
- 0.42.0 用户可通过 pip 安装 0.42.1 完成升级。
结果与限制
- 该版本为安全补丁,详细说明需查阅 GHSA-4prv-5hj7-c2xr。
使用入口与依据
来源:Hugging Face Diffusers 官方版本记录 · github.com
事件后续
查看事件全部正在读取事件进展…