Giter Site home page Giter Site logo

[BUG]: AttributeError: type object 'ColoParameter' has no attribute 'from_torch_tensor' when run hybrid_parallel example about colossalai HOT 3 OPEN

ztorchan avatar ztorchan commented on June 11, 2024
[BUG]: AttributeError: type object 'ColoParameter' has no attribute 'from_torch_tensor' when run hybrid_parallel example

from colossalai.

Comments (3)

char-1ee avatar char-1ee commented on June 11, 2024

The legacy directory is deprecated now. Some code that uses dependencies from legacy is out-of-date. You can try to refer to the new implementations.

from colossalai.

awer-A avatar awer-A commented on June 11, 2024

@char-1ee When I use the latest version of Colossalai, I get an error "ModuleNotFoundError: No module named 'colossalai.context.moe_context'". I don't know which version of Colossalai I should use. Do you have any good suggestions?

from colossalai.

char-1ee avatar char-1ee commented on June 11, 2024

@awer-A You can try install colossalai from source. I suggest if you want to set up a distributed training environment with ColossalAI on your server, you can follow the instructions in ColossalAI's docker file https://github.com/hpcaitech/ColossalAI/blob/main/docker/Dockerfile, step by step.

from colossalai.

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.