conda-forge / xgboost-feedstock

A conda-smithy repository for xgboost.
BSD 3-Clause "New" or "Revised" License
7 stars 34 forks source link

Windows CUDA 11.8 failing #173

Open jakirkham opened 2 months ago

jakirkham commented 2 months ago

The Windows CUDA 11.8 builds are currently failing. A snippet of the error is below

Internal error: assertion failed at: "overload.c", line 28946 in deduce_class_template_args

1 catastrophic error detected in the compilation of "D:/bld/xgboost-split_1721879098936/work/src/data/ellpack_page_source.cu".

Compilation aborted.

ellpack_page_source.cu

nvcc error   : 'cudafe++' died with status 0xC0000409 

Have also attached the full log

We tried a variety of things in an attempt to remedy this in PR ( https://github.com/conda-forge/xgboost-feedstock/pull/167 ). The full history is there

Unfortunately we were unable to resolve this build error. So decided to skip it and raise this issue to track

hcho3 commented 2 months ago

Confirming that I am able to reproduce the issue on my Windows 11 desktop, using the following setups:

Steps to reproduce:

  1. Check out the latest master branch of XGBoost.

  2. Run CMake:

    cmake -G"Visual Studio 17 2022" -A x64 -DUSE_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=86  ..

    or

    cmake -G"Visual Studio 17 2022" -A x64 -DUSE_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=86 ^
    -DCMAKE_PREFIX_PATH=$env:CONDA_PREFIX\Library ..

    (If using Conda)

  3. Build

    cmake --build . --config Release -- /m ^
    "/consoleloggerparameters:ShowCommandLine;Verbosity=minimal"
hcho3 commented 2 months ago

FYI: XGBoost's CI/CD pipeline uses CTK 12.4 to test Windows.