.SAFETENSORS 文件扩展名

Stable Diffusion Model

开发者 Hugging Face
受欢迎程度
4.2  |  6 
 

什么是 SAFETENSORS 文件?

A SAFETENSORS file is a machine learning model created for use with Stable Diffusion, a text-to-image generator. It contains algorithms that Stable Diffusion uses to produce images. SAFETENSORS files are similar to .CKPT files, but considered safer to use because they cannot contain malicious code.

更多信息

Stable Diffusion is an AI-based image generation app developed by Stability AI. It allows users to input text and generate (or edit) a resulting image.

To create images, Stable Diffusion uses a machine learning model that interprets the text a user has entered and translates it into an image. Users can create their own models for use with Stable Diffusion or download existing models from the internet. Many of these models are saved in the SAFETENSORS format, developed by the Hugging Face community (comprised of AI app enthusiasts and developers).

Primarily, Hugging Face developed the SAFETENSORS format to fix vulnerabilities in the CKPT model format. CKPT files can contain malicious Python code that a user might accidentally execute while using those models; SAFETENSOR files cannot. Additionally, Stable Diffusion can load and switch between SAFETENSOR models more quickly than it can CKPT models.

Where to get SAFETENSORS files

You can download many SAFETENSORS files from the Models section of Hugging Face's website.

如何打开 SAFETENSORS 文件

To use a SAFETENSOR file with Stable Diffusion, you must place it in the directory from which your version of Stable Diffusion loads models. However, different variants of Stable Diffusion (such as AUTOMATIC1111 Stable Diffusion Web UI and NMKD Stable Diffusion GUI) load models from different directories. If you don't know where to place your SAFETENSOR file, refer to your version of Stable Diffusion's documentation.

Then, load your SAFETENSOR file as you would any Stable Diffusion model, from within the app itself.

使用File Viewer Plus打开 400 多种文件格式。免费下载

可打开 SAFETENSORS 文件的程序

Windows
Various Stable Diffusion variants
Mac
Various Stable Diffusion variants
Linux
Various Stable Diffusion variants
分类: 数据
更新时间: 2023-06-02

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 Stable Diffusion Model 文件格式和 Mac, Windows, and Linux 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们