Comments (2)
Hi @aaronnat23 the error 'deepspeed' is not recognized as an internal or external command
indicates that the deepspeed launcher script is not on your system path. When you install in a conda environment, there should be a bin/deepspeed
installed as well. Can you please share the steps you used to setup your conda environment and install deepspeed?
from deepspeed.
HI @mrwyattii thanks for the reply,
setup for conda environment
conda create -n moe_llava python=3.10
conda activate moe_llava
pip install --upgrade pip
conda install pytorch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 pytorch-cuda=12.1 -c pytorch -c nvidia
python.exe -m pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.1-py3-none-win_amd64.whl
setup for deepspeed
#5152 from windows installation
git clone repo
Launch cmd console with Administrator privilege for creating required symlink folders
set DS_BUILD_OPS=0
set DS_BUILD_SPARSE_ATTN=0
set DS_BUILD_EVOFORMER_ATTN=0
Run python setup.py bdist_wheel to build wheel in dist folder
pip install deepspeed-0.13.3+b20c4674-py3-none-any.whl from dist folder
i notice that in my conda env C:\Users\E\anaconda3\envs\moe_llava\bin, there is no deepspeed.
However in C:\Users\E\anaconda3\envs\moe_llava\Lib\site-packages and in "pip freeze" i noticed that it is already installed
how can i add it to system path or what else do i need to do
from deepspeed.
Related Issues (20)
- [REQUEST] detect opbuilder list at launch time HOT 7
- [BUG] FP32 gradient accumulation result in crash. HOT 4
- [BUG]Training speed of deepspeed>0.12.5 becomed slower than before! HOT 34
- The sequence length is not divisible by Sequence Parallel World Size
- [REQUEST] parameter sharding, gradient sharding, and optimizer state sharding with various sharding factors like Zero++
- RuntimeError: You can't move a model that has some modules offloaded to cpu or disk. HOT 2
- [BUG] `deepspeed.zero.Init` leaks
- AFAIK if I run the `install.sh` script with `curl` before installing dos2unix, it will fail, so dos2unix should be installed before the `curl`. HOT 2
- [BUG] Differences between training result using zero-2 and zero-3
- [BUG]Cannot install deepspeed when cuda is installed by a non-root user
- Compilation Errors with DeepSpeed on Multi-GPU Training Setup HOT 1
- [BUG] 13.3 version pre-build Compilation error `fused_adam_frontend.o: No such file or directory` and `multi_tensor_adam.o: No such file or directory` HOT 3
- [BUG] ValueError: `.to` is not supported for `4-bit` or `8-bit` models. Please use the model as it is, since the model has already been set to the correct devices and casted to the correct `dtype`.
- [BUG] Memory leak during autograd backwards
- [BUG] access the gradient while tranining
- [BUG] Errors when running with Microsoft Phi models HOT 2
- [BUG] reduce scatter cannot be overlap when using zero HOT 2
- xpus not detected[BUG] HOT 5
- [BUG] Deepspeed Crashes when using MoE, Stage 2 Offload with DeepSpeedCPUAdam HOT 3
- [BUG] Deepspeed repeatedly requests to lock files and gets stuck 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 deepspeed.