Giter VIP home page Giter VIP logo

colossalai-benchmark's People

Contributors

binmakeswell avatar feifeibear avatar frankleeeee avatar kurisusnowdeng avatar ver217 avatar wesley-jzy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

colossalai-benchmark's Issues

install problem: installing in NUS HPC, but the GCC is old, and can not install the latest colossalai

๐Ÿ› Describe the bug

I am installing the latest colossalai using the python setup.py install command, and the NUS HPC prompt some errors like:
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
#error "You're running a too old version of GCC. We need GCC 5 or later."
image

If I use pip install colossalai, another error happens!
image
Well, pip install need Internet, and if I am using GPU in NUS, no internet can be accessed, so I have to use python setup.py install, but the GCC version is too old...

Lucky for me (maybe unlucky for other students using the server), I saved the old version's colossalai....

Thank you!!!

Environment

No response

Where is model_zoo module?

๐Ÿ› Describe the bug

I try to train vision transformer following instructions in README.md. However, it throws an error in imagenet1k/train.py that there is no module named model_zoo. Corresponding code is from model_zoo.vit import vit_small_patch16_224. I tried to find this module in all repos in hpcaitech organization and required python wheels, but nothing was found.

My training script is DATA=../dataset/tfrecord torchrun --nproc_per_node=8 train.py --config=configs/vit_vanilla.py , which is executed in imagenet1k folder.

Environment

CUDA 11.3
Torch 1.12.1
Torchvision 0.13.1

README of Benchmark is not clear and misleading.

In 'Usage' part, the first command needs launchers, eg. OpenMPI, but this is not mentioned. It's easy to mislead newbies to waste time and effort if they are running on their local machine.

Some parameters in the second command seem not necessary, eg. I can run the example by the following command.
DATA=/data/cifar-10 torchrun --nproc_per_node=2 --master_port=29501 train.py --config=configs/vit_vanilla.py

In addition, it's hard for newbies to know what content they should provide for those parameters. eg. how to know the RANK, IP_ADDRESS and PORT. It would be better if you can provide some explanation and example.

Add DeepSpeed ZeRO Init Context

Describe the feature

Zero init context of DeepSpeed is not provided now. Let's add this feature so taht we can benchmark larger models, but need to take care of numel count.

Automate submodule commit update

The submodule in ColossalAI should be update its commit ID when there is any update in this repository. This may be done via github action and we should definitely automate this process to save some trouble.

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.