Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile: add deepspeed-kernels dependency for deepspeed>=0.12.0 #827

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

fpreiss
Copy link
Contributor

@fpreiss fpreiss commented Nov 5, 2023

Description

Dockerfile-base: add deepspeed-kernels dependency for deepspeed

Motivation and Context

Deepspeed update to 0.12.x breaks building of docker image. With the following log output:

 > [deepspeed-builder 2/2] RUN git clone https://github.com/microsoft/DeepSpeed.git &&     cd DeepSpeed &&     MAX_CONCURRENCY=8 DS_BUILD_SPARSE_ATTN=0 DS_BUILD_OPS=1 DS_BUILD_EVOFORMER_ATTN=0 python3 setup.py bdist_wheel:
32.02  [WARNING]  cpu_lion attempted to use `py-cpuinfo` but failed (exception type: <class 'UnboundLocalError'>, local variable 'get_cpu_info' referenced before assignment), falling back to `lscpu` to get this information.
32.02  [WARNING]  cpu_lion attempted to use `py-cpuinfo` but failed (exception type: <class 'UnboundLocalError'>, local variable 'get_cpu_info' referenced before assignment), falling back to `lscpu` to get this information.
32.02  [WARNING]  Please specify the CUTLASS repo directory as environment variable $CUTLASS_PATH
32.02  [WARNING]  Filtered compute capabilities ['7.0', '7.5']
32.02     ext_modules.append(builder.builder())
32.02   File "/workspace/DeepSpeed/op_builder/builder.py", line 633, in builder
32.02     extra_link_args=self.strip_empty_entries(self.extra_ldflags()))
32.02   File "/workspace/DeepSpeed/op_builder/inference_cutlass_builder.py", line 71, in extra_ldflags
32.02     import dskernels
32.02 ModuleNotFoundError: No module named 'dskernels'

See also previous pull request #821

@winglian winglian merged commit 8056ecd into axolotl-ai-cloud:main Nov 5, 2023
@fpreiss fpreiss deleted the fpreiss-dev branch November 6, 2023 03:19
mkeoliya pushed a commit to mkeoliya/axolotl that referenced this pull request Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants