找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 45|回复: 0

启动器报错,PyTorch与CUDA版本冲突

[复制链接]

5

主题

6

回帖

483

零食

中等显卡12G

积分
494
发表于 2025-6-7 23:03:46 | 显示全部楼层 |阅读模式
To create a public link, set `share=True` in `launch()`.
Unloaded DynamicSwap_LlamaModel as complete.
Unloaded CLIPTextModel as complete.
Unloaded SiglipVisionModel as complete.
Unloaded AutoencoderKLHunyuanVideo as complete.
Unloaded DynamicSwap_HunyuanVideoTransformer3DModelPacked as complete.
Loaded CLIPTextModel to cuda:0 as complete.
Traceback (most recent call last):
  File "D:\ProgramFiles\OtherProgram\AI\FramePack_F1_250520\FramePack_250520\demo_gradio_f1.py", line 127, in worker
    llama_vec, clip_l_pooler = encode_prompt_conds(prompt, text_encoder, text_encoder_2, tokenizer, tokenizer_2)
  File "D:\ProgramFiles\OtherProgram\AI\FramePack_F1_250520\FramePack_250520\env\lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
    return func(*args, **kwargs)
  File "D:\ProgramFiles\OtherProgram\AI\FramePack_F1_250520\FramePack_250520\diffusers_helper\hunyuan.py", line 31, in encode_prompt_conds
    llama_attention_length = int(llama_attention_mask.sum())
RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

报错代码如上,是我的驱动pytorch不支持吗,显卡是5070驱动是最新的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|圈圈AI吧

GMT+8, 2025-6-17 06:00 , Processed in 0.303065 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表