DeepSpeed icon indicating copy to clipboard operation
DeepSpeed copied to clipboard

[BUG]"deepspeed: command not found". Use a replicated Python environment

Open H9990HH969 opened this issue 1 year ago • 2 comments

My development environment could not be connected to the Internet, so I equipped the deepspeed environment on my computer and copied the python environment under the env directory directly to the development environment . But the command deepspeed is not work.

1683885492896

H9990HH969 avatar May 12 '23 09:05 H9990HH969

Hi @H9990HH969 - You best bet in this case is probably to build the .whl from source and copy it to the machine without internet access and then install it there.

Alternatively, if your issue is that the command deepspeed cannot be found, you may need to check your path to ensure that it can find it, but you may have better luck building the whl locally and then copy it to your other machine and install that with pip.

loadams avatar May 12 '23 15:05 loadams

@H9990HH969 another option is you can download the whl directly from pypi and transfer it over to your dev machine from here: https://pypi.org/project/deepspeed/#files.

jeffra avatar May 12 '23 16:05 jeffra

@loadams @jeffra Thank you both. In the end, I found a way to use the deepspeed directly in the bin directory. Like: 1684114691189

H9990HH969 avatar May 15 '23 01:05 H9990HH969