Skip to content

web_demo: error message input must be a CUDA tensor #539

Open
@clilyn1234

Description

System Info / 系統信息

当我输入一段文本和图片只会,就会报这个错误

Who can help? / 谁可以帮助到您?

No response

Information / 问题信息

  • The official example scripts / 官方的示例脚本
    My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程

运行webdemo.py只后,输入文本+图片,就会有这个错误

Expected behavior / 期待表现

help

Activity

MachineDora

MachineDora commented on Dec 6, 2024

@MachineDora

把webdemo.py118行,就是try-catch注释掉,可以看到具体的报错。
目前我遇到有几种:

  1. 系统没有字体;
  2. gradio版本不对;
  3. fastapi版本不对;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      web_demo: error message input must be a CUDA tensor · Issue #539 · THUDM/CogVLM