开发者社区 > 云原生 > Serverless > 正文

函数计算,为啥一直报错? RuntimeError: Expected all tensors t

函数计算,为啥一直报错?

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select)

地域:cn-hangzhou、服务:fc-stable-diffusion-plus、函数:sd、用户id:1806495608491721

展开
收起
云上静思 2023-10-03 11:16:23 71 0
1 条回答
写回答
取消 提交回答
  • 模型切不过去一般是不兼容或者上传文件损坏

    此答案来自钉钉群“阿里函数计算官网客户”

    2023-10-04 17:54:47
    赞同 展开评论 打赏

快速交付实现商业价值。

相关产品

  • 函数计算
  • 相关电子书

    更多
    Serverless开发平台: 让研发效能再提升 立即下载
    Serverless 引领云上研发新范式 立即下载
    All in Serverless 阿里云核心产品全面升级 立即下载