【AI绘画】fal/AuraFlow-v0.2出现 delete the irrelevant ones 错误
创始人
2024-11-14 10:06:18
0

由于AuraFlow模型比较大,我就下在本地/hf_hub,结果运行Huggingface上README.md的代码

from diffusers import AuraFlowPipeline import torch  pipeline = AuraFlowPipeline.from_pretrained(     "/hf_hub/fal/AuraFlow-v0.2",     torch_dtype=torch.float16,     variant="fp16", ).to("cuda")  image = pipeline(     prompt="close-up portrait of a majestic iguana with vibrant blue-green scales, piercing amber eyes, and orange spiky crest. Intricate textures and details visible on scaly skin. Wrapped in dark hood, giving regal appearance. Dramatic lighting against black background. Hyper-realistic, high-resolution image showcasing the reptile's expressive features and coloration.",     height=1024,     width=1024,     num_inference_steps=50,      generator=torch.Generator().manual_seed(666),     guidance_scale=3.5, ).images[0]  image 

ValueError: /hf_hub/fal/AuraFlow-v0.2/transformer/ containing more than one .index.json file, delete the irrelevant ones.

网上并没有资料,我只好做了些尝试,发现是transformer文件夹下index.json重合了。我就用link做了测试

解决方法

删除其中一个index.json。可参考我的目录

fal/ ├── AuraFlow-v0.2 │   ├── aura_flow_0.2.safetensors -> /hf_hub/fal/AuraFlow-v0.2/aura_flow_0.2.safetensors │   ├── model_index.json -> /hf_hub/fal/AuraFlow-v0.2/model_index.json │   ├── scheduler -> /hf_hub/fal/AuraFlow-v0.2/scheduler │   ├── text_encoder -> /hf_hub/fal/AuraFlow-v0.2/text_encoder/ │   ├── tokenizer -> /hf_hub/fal/AuraFlow-v0.2/tokenizer/ │   ├── transformer │   │   ├── config.json -> /hf_hub/fal/AuraFlow-v0.2/transformer/config.json │   │   ├── diffusion_pytorch_model-00001-of-00003.safetensors -> /hf_hub/fal/AuraFlow-v0.2/transformer/diffusion_pytorch_model-00001-of-00003.safetensors │   │   ├── diffusion_pytorch_model-00002-of-00003.safetensors -> /hf_hub/fal/AuraFlow-v0.2/transformer/diffusion_pytorch_model-00002-of-00003.safetensors │   │   ├── diffusion_pytorch_model-00003-of-00003.safetensors -> /hf_hub/fal/AuraFlow-v0.2/transformer/diffusion_pytorch_model-00003-of-00003.safetensors │   │   └── diffusion_pytorch_model.safetensors.index.json -> /hf_hub/fal/AuraFlow-v0.2/transformer/diffusion_pytorch_model.safetensors.index.json │   └── vae -> /hf_hub/fal/AuraFlow-v0.2/vae/ └── AuraFlow-v0.2-fp16     ├── aura_flow_0.2.safetensors -> /hf_hub/fal/AuraFlow-v0.2/aura_flow_0.2.safetensors     ├── model_index.json -> /hf_hub/fal/AuraFlow-v0.2/model_index.json     ├── scheduler -> /hf_hub/fal/AuraFlow-v0.2/scheduler     ├── text_encoder -> /hf_hub/fal/AuraFlow-v0.2/text_encoder/     ├── tokenizer -> /hf_hub/fal/AuraFlow-v0.2/tokenizer/     ├── transformer     │   ├── config.json -> /hf_hub/fal/AuraFlow-v0.2/transformer/config.json     │   ├── diffusion_pytorch_model-00001-of-00002.fp16.safetensors -> /hf_hub/fal/AuraFlow-v0.2/transformer/diffusion_pytorch_model-00001-of-00002.fp16.safetensors     │   ├── diffusion_pytorch_model-00002-of-00002.fp16.safetensors -> /hf_hub/fal/AuraFlow-v0.2/transformer/diffusion_pytorch_model-00002-of-00002.fp16.safetensors     │   └── diffusion_pytorch_model.safetensors.fp16.index.json -> /hf_hub/fal/AuraFlow-v0.2/transformer/diffusion_pytorch_model.safetensors.fp16.index.json     └── vae -> /hf_hub/fal/AuraFlow-v0.2/vae/ 

fp16

Fri Aug  2 19:48:23 2024        +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 555.58.02              Driver Version: 555.58.02      CUDA Version: 12.5     | |-----------------------------------------+------------------------+----------------------+ | GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC | | Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. | |                                         |                        |               MIG M. | |=========================================+========================+======================| |   0  NVIDIA GeForce RTX 4090        Off |   00000000:01:00.0 Off |                  Off | | 34%   58C    P0            407W /  515W |   18542MiB /  24564MiB |    100%      Default | |                                         |                        |                  N/A | +-----------------------------------------+------------------------+----------------------+                                                                                           +-----------------------------------------------------------------------------------------+ | Processes:                                                                              | |  GPU   GI   CI        PID   Type   Process name                              GPU Memory | |        ID   ID                                                               Usage      | |=========================================================================================| |    0   N/A  N/A      1124      G   /usr/lib/Xorg                                 167MiB | |    0   N/A  N/A      1189      G   /usr/bin/sddm-greeter-qt6                     146MiB | |    0   N/A  N/A      3878      C   ...conda3/envs/ai-train/bin/python3.10      18196MiB | +-----------------------------------------------------------------------------------------+ 

无fp16

Fri Aug  2 19:50:18 2024        +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 555.58.02              Driver Version: 555.58.02      CUDA Version: 12.5     | |-----------------------------------------+------------------------+----------------------+ | GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC | | Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. | |                                         |                        |               MIG M. | |=========================================+========================+======================| |   0  NVIDIA GeForce RTX 4090        Off |   00000000:01:00.0 Off |                  Off | | 36%   44C    P0             71W /  515W |   20834MiB /  24564MiB |      0%      Default | |                                         |                        |                  N/A | +-----------------------------------------+------------------------+----------------------+                                                                                           +-----------------------------------------------------------------------------------------+ | Processes:                                                                              | |  GPU   GI   CI        PID   Type   Process name                              GPU Memory | |        ID   ID                                                               Usage      | |=========================================================================================| |    0   N/A  N/A      1124      G   /usr/lib/Xorg                                 167MiB | |    0   N/A  N/A      1189      G   /usr/bin/sddm-greeter-qt6                     146MiB | |    0   N/A  N/A      4031      C   ...conda3/envs/ai-train/bin/python3.10      20488MiB | +-----------------------------------------------------------------------------------------+ 

相关内容

热门资讯

玩家攻略,金花房卡专卖店九酷众... 微信游戏中心:九酷众娱房卡在哪里买打开微信,添加客服微信【88355042】,进入游戏中心或相关小程...
正规平台有哪些,金花房卡批发价... 正规平台有哪些,金花房卡批发价火神大厅/房卡链接怎么获取Sa9Ix苹果iPhone 17手机即将进入...
ia攻略/金花房卡如何购买嫦娥... 嫦娥大厅是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:【3329006910】或QQ:332900...
推荐一款!牛牛充值房卡海草众厅... 海草众厅房卡更多详情添加微:33549083、 2、在商城页面中选择房卡选项。 3、根...
一分钟了解!金花房卡出售红桃众... 一分钟了解!金花房卡出售红桃众娱/微信链接房卡充值链接红桃众娱是一款非常受欢迎的游戏,咨询房/卡添加...
我来教你/金花房卡制作链接熊猫... 我来教你/金花房卡制作链接熊猫大厅/微信链接房卡批发价Sa9Ix苹果iPhone 17手机即将进入量...
科技实测!金花房卡出售新八戒/... 新八戒房卡更多详情添加微:33549083、 2、在商城页面中选择房卡选项。 3、根据...
ia攻略/斗牛房卡充值乐乐大厅... 微信游戏中心:乐乐大厅房卡在哪里买打开微信,添加客服微信【88355042】,进入游戏中心或相关小程...
ia攻略/金花房卡批发嫦娥大厅... 嫦娥大厅是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:【3329006910】或QQ:332900...
头条推荐!金花房卡出售乐乐大厅... 头条推荐!金花房卡出售乐乐大厅//全网房卡低价售Sa9Ix苹果iPhone 17手机即将进入量产阶段...
重大通报,金花房卡制作链接黄帝... 您好!微信黄帝大厅大厅链接获取房卡可以通过以下几种方式购买: 1.微信渠道:(黄帝大厅)大厅介绍:...
头条推荐!金花房卡是正规的兄弟... 兄弟大厅/新道游房卡更多详情添加微:33549083、 2、在商城页面中选择房卡选项。 ...
科技实测!怎么买斗牛房卡龙马大... 龙马大厅是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:【3329006910】或QQ:332900...
科技实测!游戏推荐斗牛房卡出售... 您好!微信悠悠众娱大厅链接获取房卡可以通过以下几种方式购买: 1.微信渠道:(悠悠众娱)大厅介绍:...
玩家攻略,怎么买斗牛房卡至尊大... 今 日消息,至尊大厅房卡添加微信33549083 苹果今日发布了 iOS 16.1 正式版更新,简单...
玩家攻略,游戏推荐牛牛房卡出售... 金牛座厅/新西部房卡更多详情添加微:33549083、 2、在商城页面中选择房卡选项。 ...
IA解析/怎么买斗牛房卡海蓝大... IA解析/怎么买斗牛房卡海蓝大厅/开群怎么买房卡海蓝大厅是一款非常受欢迎的游戏,咨询房/卡添加微信:...
我来教你/金花房卡批发价龙王大... 我来教你/金花房卡批发价龙王大厅/房卡怎么搞Sa9Ix苹果iPhone 17手机即将进入量产阶段。有...
我来教你/牛牛房卡制作链接卡农... 今 日消息,卡农大厅房卡添加微信33549083 苹果今日发布了 iOS 16.1 正式版更新,简单...
IA解析/金花房卡专卖店芝麻大... 微信游戏中心:芝麻大厅房卡在哪里买打开微信,添加客服微信【88355042】,进入游戏中心或相关小程...