Comments (2)
Hello, thank you for your interest in DeepSpeed!
That error message is due to the default process group of torch.distributed
being initialized twice. To fix this for now, you can add dist_init_required=False
to the second call of deepspeed.initialize()
.
Removing this inconvenience is on our roadmap and hope to get to it soon. We are also very happy to accept PRs :-).
from deepspeed.
@ShadenSmith Is there a way to initialize multiple models at once, and get multiple objects to do "forward" with?
from deepspeed.
Related Issues (20)
- [BUG] deepspeed amp seems to convert all input to specific dtype
- Data Loading for DeepSpeed Ulysses and Data Parallelism
- different setting for same (num_gpus * batch_size * grad_accum_steps) output different loss and gradient norm HOT 1
- [BUG] Stage 3 in WSL2 throws RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! HOT 3
- [BUG] DeepSpeed is loads the whole model to every GPUs instead of partitioning HOT 1
- [BUG] RepeatingLoader may be invalid in the pipe stages neither the fist nor last
- [REQUEST] Supporting custom generation loop (outlines, LMQL, guidance) in DeepSpeedHybridEngine
- [BUG] M1 Mac has an issue with `hostname -I` not being a valid command HOT 2
- [BUG] CUDA OOM error when Hugging Face `ignore_mismatched_sizes` is enabled
- [BUG] Zero3 causes AttributeError: 'NoneType' object has no attribute 'numel' in continual training HOT 3
- [BUG] cannot import name '_get_socket_with_port' from 'torch.distributed.elastic.agent.server.api' HOT 3
- # [REQUEST] Upstream modifications of PaRO
- Reset Optimizer HOT 1
- nv-ds-chat CI test failure
- [HELP] ZeRO3 partition parameters after fully load to each GPU! HOT 7
- [BUG] ZeRO optimizer with MoE Expert Parallelism HOT 1
- [BUG] Pipeline Dataloader Samler: `shuffle=False`
- [REQUEST] Moving a trainable model with an optimiser between GPU and CPU
- [BUG] RuntimeError: Error building extension 'fused_adam' Loading extension module fused_adam
- [BUG] 1: error: must run as root and 2: raise RuntimeError("Ninja is required to load C++ extensions")
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 deepspeed.