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

Ninja build seems to fail for cpu_adam #13

Open
mysoreanoop opened this issue Aug 7, 2024 · 0 comments
Open

Ninja build seems to fail for cpu_adam #13

mysoreanoop opened this issue Aug 7, 2024 · 0 comments

Comments

@mysoreanoop
Copy link

When I try to run the mle_scoring.py script (with scoring_data_sample.json) , I see the following error:

Emitting ninja build file /mnt/u2_1/mysanoop/.cache/torch_extensions/py38_cu121/cpu_adam/build.ninja...
Building extension module cpu_adam...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/3] c++ -MMD -MF cpu_adam.o.d -DTORCH_EXTENSION_NAME=cpu_adam -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -I/mnt/u2_1/mysanoop/.local/lib/python3.8/site-packages/deepspeed/ops/csrc/includes -isystem /mnt/u2_1/mysanoop/.local/lib/python3.8/site-packages/torch/include -isystem /mnt/u2_1/mysanoop/.local/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -isystem /mnt/u2_1/mysanoop/.local/lib/python3.8/site-packages/torch/include/TH -isystem /mnt/u2_1/mysanoop/.local/lib/python3.8/site-packages/torch/include/THC -isystem /usr/include/python3.8 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -O3 -std=c++17 -g -Wno-reorder -L/usr/local/cuda/lib64 -lcudart -lcublas -g -march=native -fopenmp -D__AVX512__ -D__ENABLE_CUDA__ -c /mnt/u2_1/mysanoop/.local/lib/python3.8/site-packages/deepspeed/ops/csrc/adam/cpu_adam.cpp -o cpu_adam.o
FAILED: cpu_adam.o

I see similar failures with cpu_adam_impl.o as well.

Has anyone encountered this error? Any advice?

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

No branches or pull requests

1 participant