Comments (1)
Hi Devin, you can start multi-GPU training via the following command
python -m torch.distributed.launch --nproc_per_node <num_of_gpus> main.py --world_size <num_of_gpus> --config <path to your config file>
We will add this into our documentation in the future as well.
from colossalai.
Related Issues (20)
- [BUG]: install from source error and pip install error too
- [BUG]: RuntimeError: Failed to replace block_sparse_moe of type MixtralSparseMoeBlock with EPMixtralSparseMoeBlock with the exception: CUDA out of memory
- [BUG]: KeyError: <ParallelMode.GLOBAL: 'global'> HOT 2
- [BUG]: Failed to load HuggingFace pretrained checkpoint with LazyInitContext HOT 6
- Colossal-LLaMA-2 : The difference between train.sh and train_sft.sh
- [BUG]: colossalai.get_default_parser() HOT 2
- [BUG]: AssertionError: Cannot compare difference for two sharding specs with different length.
- [FEATURE]: WHL for Windows installs?
- torchrun runs normally vs colossalai run error report HOT 2
- Sou eu denovo HOT 1
- [BUG]: with Phi2 + torch_fsdp, got RecursionError: maximum recursion depth exceeded
- [shardformer] enable padding vocabulary size.
- [BUG]: Size mismatch is ignored when loading checkpoint
- [FEATURE]: support dit in Shardformer
- [FEATURE]: Upgrade the transformers version from 4.33.0 to 4.36.0 for Shardformer. HOT 1
- [BUG]: Coati Lora incompatible with Gemini & HybridParallel(pp=1), but runs well with HybridParallel(tp>=2) HOT 1
- [shardformer, pipeline]: add `gradient_checkpointing_ratio` and heterogenous shard policy
- [BUG]: Layout converter mistakenly uses the cache
- [Zero] optimize offload mode and add sub dp_group
- Grok-1: ValueError: 'localhost.localdomain' does not appear to be an IPv4 or IPv6 address HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colossalai.