Skip to content

Canno precompile CUDAExt with fixed CUDA runtime version #206

@Moelf

Description

@Moelf
]add XGBoost, CUDA

using CUDA
CUDA.set_runtime_version!(v"11.8"; local_toolkit=true)

then try to recompile XGBoost gives:

ERROR: LoadError: InitError: UndefVarError: `libxgboost` not defined
Stacktrace:
  [1] XGBRegisterLogCallback
    @ ~/.julia/packages/XGBoost/nqMqQ/src/Lib.jl:56 [inlined]
  [2] __init__()
    @ XGBoost ~/.julia/packages/XGBoost/nqMqQ/src/XGBoost.jl:40
  [3] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1134
  [4] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1122
  [5] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base ./loading.jl:1067
  [6] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions