ColossalAI icon indicating copy to clipboard operation
ColossalAI copied to clipboard

build docker failed

Open densechen opened this issue 2 years ago • 4 comments

#7 1268.3 [2/2] /usr/local/cuda/bin/nvcc -I/tmp/pip-req-build-uwisoelo/colossalai/kernel/cuda_native/csrc/kernels/include -I/usr/local/cuda/include -I/opt/conda/lib/python3.9/site-packages/torch/include -I/opt/conda/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.9/site-packages/torch/include/TH -I/opt/conda/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/opt/conda/include/python3.9 -c -c /tmp/pip-req-build-uwisoelo/colossalai/kernel/cuda_native/csrc/moe_cuda_kernel.cu -o /tmp/pip-req-build-uwisoelo/build/temp.linux-x86_64-3.9/tmp/pip-req-build-uwisoelo/colossalai/kernel/cuda_native/csrc/moe_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 --use_fast_math -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=moe -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_86,code=sm_86 -std=c++14 #7 1268.3 FAILED: /tmp/pip-req-build-uwisoelo/build/temp.linux-x86_64-3.9/tmp/pip-req-build-uwisoelo/colossalai/kernel/cuda_native/csrc/moe_cuda_kernel.o

densechen avatar Apr 10 '23 05:04 densechen

Hi, may I know your CUDA version and your command to build the docker env?

JThh avatar Apr 13 '23 04:04 JThh

I use Docker V4.18.0 on Mac to build the given Dockerfile with docker build command.

densechen avatar Apr 13 '23 08:04 densechen

Hi @densechen https://github.com/hpcaitech/ColossalAI#installation We do not currently support and test MacOS. Sorry about that.

binmakeswell avatar Apr 17 '23 07:04 binmakeswell

@binmakeswell I just use Docker with MacOS, not build on MacOS system. Does it matter?

densechen avatar Apr 17 '23 11:04 densechen

I just use Docker with MacOS, not build on MacOS system. Does it matter? If you are using Docker on macOS to run your training environment but not building the environment specifically for macOS, then it doesn't matter. Docker provides a containerization platform that allows you to create and run containers with consistent environments across different operating systems.

flybird11111 avatar Jun 25 '23 09:06 flybird11111