|
发表于 2024-12-9 14:46:47
|
显示全部楼层

谢谢,顺便问一下。那种网址打开来就可以试用的,为什么提示错误哪?我记得之前可以的,难不成那种网站的也得自己去每次升级它才能继续用的么???
以下是打开它huggingface.co/spaces/qqxiexie/OmniGen?logs=container这个试用网址后的提示,到底咋弄哦,明明前两天打开测试了一张是能用的。谢谢啦
===== Application Startup at 2024-12-09 06:24:46 =====
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.
0it [00:00, ?it/s]
0it [00:00, ?it/s]
Loading safetensors
Traceback (most recent call last):
File "/home/user/app/app.py", line 9, in <module>
pipe = OmniGenPipeline.from_pretrained(
File "/home/user/app/OmniGen/pipeline.py", line 93, in from_pretrained
return cls(vae, model, processor)
File "/home/user/app/OmniGen/pipeline.py", line 61, in __init__
elif is_torch_npu_available():
NameError: name 'is_torch_npu_available' is not defined. Did you mean: 'is_torch_xla_available'?
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.
0it [00:00, ?it/s]
0it [00:00, ?it/s] |
|