病毒分析
点击放大


<!-- Impro of back to top link: See: -->
<a name="readme-top"></a>
<!--
*** Thanks for checking out the Best-README-Template. If you have a suggestion
*** that would make this better, please fork the repo and create a pull request
*** or simply open an issue with the tag "enhancement".
*** Don't forget to give the project a star!
*** Thanks again! Now go create something AMAZING! :D
-->
<!--
*** I'm using markdown "reference style" links for readability.
*** Reference links are enclosed in brackets [ ] instead of parentheses ( ).
*** See the bottom of this document for the declaration of the reference
*** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use.
***
-->
<br />
<di="center">
![]()
![]()
To continue to develop i will be happy to get some support.
<!--
![]()
![]()
![]()
-->
<h1 align="center">Safe & Stable - Ckpt2Safetensors Con Tool-GUI</h1>
<h3 align="center"> Convert your Stable Diffusion checkpoints quickly and easily.</h3>
<p align="center">
This tool con process still requires the .ckpt data to be loaded first, which means that it may potentially load pickles. It is recommended to use this tool only with safe models or convert the models online to avoid any potential security issues.
<br />
<br />
<a href=" Bug</a>
·
<a href=" Feature</a>
</p>
</div>
<!-- TABLE OF CONTENTS -->
<details>
<summary>Table of Contents</summary>
<ol>
<li>
<a href="#about-the-project">About The Project</a>
</li>
<li><a href="#license">License</a></li>
<li><a href="#roadmap">Roadmap</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#my-other-projects">My Other Projects</a></li>
<li><a href="#acknowledgments">Acknowledgments</a></li>
</ol>
</details>
<!-- Update -->
This includes the following new features and impro:
* Support for con back to ckpt. now you can convert safetensors to ckpt and vice versa.
* A file explorer for easier con.
* The option to add a suffix to the output file, allowing users to keep the original file.
* A hash check for files, displaying the first 8 characters of the hash.
Please note that con a ckpt file to a safetensors file will change the hash of the file due the structure change of the file.
However, when con back and forth between ckpt and safetensors, the hash will remain consistent.
For example, an original ckpt file with the hash "ccf3615f" will be con to a safetensors file with the hash "0248da5c", and back to a ckpt file with the hash "68ed20ac". Both hashes will remain consistent between the two file formats.
Please consider donating to the project if you find it useful,so that I can maintain and improve this tool and other projects.
I hope you find these new features and impro useful. As always, i welcome your feedback and suggestions.
Thank you for using my project.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- ABOUT THE PROJECT -->
Safe & Stable is a tool for con stable diffusion .ckpt files to the new and secure .safetensors format for storing tensors as pure data.
This format provides impro compared to the pickle format, as it prevents the inclusion of arbitrary and potentially malicious Python code.
It also has the potential to improve the performance of model loading on CPU and GPU.
Con to .safetensors is recommended for stable diffusion users who want to improve the security and performance of their model storage and loading processes. It is especially useful for when distributing new models and merges.
<img src="media/preview/1_0.1.0.png">
The tool's graphical user interface (GUI) makes it easy for users to select the input files, view the progress of the con saving process.
<img src="media/preview/6_0.1.0.png">
<img src="media/preview/4_0.1.0.png">
Note that the con process still requires the .ckpt data to be loaded first, which means potentially loading pickles. It is recommended to scan for pickles before con a model or convert online if no .safetensors is provided. Once models start being distributed only in .safetensors format, this will no longer be necessary.
It is important to always check if the model works correctly before deleting the original .ckpt file.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- Downloads -->
Archi (Windows) 7z
Archi (Windows) Zip
Releases
* git clone this repo
* cd into the repo
* python3.8 -m venv venv
* ./venv/bin/activate
* pip install -r requirements.txt
* python run_app_gui.py
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- LICENSE -->
Distributed under the MIT License. See LICENSE.txt for more information.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- ROADMAP -->
The roadmap for the Safe & Stable con tool will be determined by the level of support.
and interest it receives.
If the tool proves to be useful, i ha to continue improving its features and functionality, and to add support for new model formats and .
Thank you for any support.
See the open issues for a full list of proposed features (and known issues).
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- CONTACT -->
-
Project Link:
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- MY OTHER PROJECTS -->
Project Link:
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- ACKNOWLEDGMENTS -->
*
*
*
*
* stable-diffusion-webui
* huggingface
<!-- * GitHub Emoji Cheat Sheet
* Malven's Flexbox Cheatsheet
* Malven's Grid Cheatsheet
* Img Shields
* GitHub Pages
* Font Awesome
* React Icons-->
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- MARKDOWN LINKS & IMAGES -->
<!-- -->
[contributors-shield]:
[contributors-url]:
[forks-shield]:
[forks-url]:
[stars-shield]:
[stars-url]:
[issues-shield]:
[issues-url]:
[license-shield]:
[license-url]:
[linkedin-shield]:
[linkedin-url]:
[product-screenshot]: images/screenshot.png
[Next.js]:
[Next-url]:
[React.js]:
[React-url]:
[Vue.js]:
[]:
[Angular.io]:
[Angular-url]:
[Svelte.de://img.shields.io/badge/S?style=for-the-badge&logo=svelte&logoColor=FF3E00
[S]:
[Laravel.com]:
[Lara]:
[Bootstrap.com]:
[Bootstrap-url]:
[JQuery.com]:
[JQuery-url]:
开发语言:Python
Star 数:456
该项目属于病毒分析方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕Convert your Stable Diffusion checkpoints quickly and easily.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI - Convert your Stable Diffusion checkpoints quickly |
| 所属分类 | 病毒分析 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 23:19:31 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 131 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |