Giter VIP home page Giter VIP logo

Comments (5)

lcl6679292 avatar lcl6679292 commented on July 29, 2024

您好,您应该是在CPU环境下启动的agent,目前CPU不支持半精度,所以报错,建议您在GPU环境下使用,可以通过modelscope魔搭社区的notebook,提供了免费的GPU资源额度,欢迎使用。

魔搭社区notebook链接:https://modelscope.cn/my/mynotebook/preset
具体教程见链接:https://mp.weixin.qq.com/s/L3GiV2QHeybhVZSg_g_JRw

from modelscope-agent.

amwork2020 avatar amwork2020 commented on July 29, 2024

我的机器是gpu机器

from modelscope-agent.

lcl6679292 avatar lcl6679292 commented on July 29, 2024

您可以看下中枢模型启动后,agent.run之前,看下是否GPU有显存占用,方便的话可以截个图看看

from modelscope-agent.

wenmengzhou avatar wenmengzhou commented on July 29, 2024

print(torch.cuda.is_available() ) check下torch是否使用了gpu

from modelscope-agent.

amwork2020 avatar amwork2020 commented on July 29, 2024

print(torch.cuda.is_available() ) check下torch是否使用了gpu

重新家里一个环境好用了,不知咋回事

from modelscope-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.