[BUG] cuDSS 1.0 rejects libcudss_mtlayer_cuopt.so (status = 3): missing cudssThreadingGetProperty
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- c
- 领域
- backend, performance
调研方向
从 cpp/src/barrier/cudss_mtlayer_cuopt.cpp 开始,将它初始化的 threading 接口与 issue 中描述的 cuDSS 1.0 接口进行比较。使用提供的 cuopt_cli 命令重现 fallback,并检查库加载结果。当 threading 层使用 cuDSS 1.0 加载,而不是回退到单线程模式时,即为完成。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
With the 26.12 wheels (cuDSS 1.0, bumped in #2236), every barrier solve falls back to single-threaded cuDSS.
Steps/Code to reproduce bug
uv venv v
UV_PRERELEASE=allow UV_EXTRA_INDEX_URL=https://pypi.anaconda.org/rapidsai-wheels-nightly/simple \
uv pip install --python v libcuopt-mathopt-cu13==26.12.0a115.post261124050508
cat > lp.mps <<'EOF'
NAME LP
ROWS
N OBJ
G C1
COLUMNS
X OBJ 1 C1 1
Y OBJ 2 C1 1
RHS
RHS C1 1
ENDATA
EOF
v/bin/cuopt_cli lp.mps --method 3 --presolve 0
Output:
cuDSS Version : 1.0.0
cuDSS Threading layer : could not load 'libcudss_mtlayer_cuopt.so' (status = 3); falling back to single-threaded cuDSS. ...
Cause: cuDSS 1.0 added a third member cudssThreadingGetProperty to cudssThreadingInterface_t, but cpp/src/barrier/cudss_mtlayer_cuopt.cpp only sets two. Adding it fixes the error (tested by loading the patched layer via CUDSS_THREADING_LIB):
int cudssThreadingGetProperty(libraryPropertyType type, int* value)
{
if (value == nullptr) return -1;
switch (type) {
case MAJOR_VERSION: *value = CUDSS_VERSION_MAJOR; return 0;
case MINOR_VERSION: *value = CUDSS_VERSION_MINOR; return 0;
case PATCH_LEVEL: *value = CUDSS_VERSION_PATCH; return 0;
default: return -1;
}
}
cudssThreadingInterface_t cudssThreadingInterface = {
cudssGetMaxThreads, cudssParallelFor, cudssThreadingGetProperty};
Expected behavior
The threading layer loads, as it does with cuOpt 26.10.1 (cuDSS 0.7).
Environment details
cuOpt f1a2fd42 (nightly wheel above), x86_64 Linux, NVIDIA RTX A1000, driver with CUDA 13.5. The file is unchanged on main 0d0915a8.
- 主要语言
- Cuda
- 星标
- 1.1k
- 派生
- 266
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 54
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/cuopt 的其他 Issue
-
[BUG] Python: Problem.addConstraint accepts the same Constraint twice可能已有人在做 @pcbeingused333 于 16 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 42/100
维护者通常 1 天内回复
-
[BUG] Fully presolved MILP returns FeasibleFound with an infinite bound since 26.10.0可能已有人在做 @j3soon 于 7 天前认领。 未关闭bug
难度 4/5 3-5 天 新手友好度 15/100
维护者通常 1 天内回复
相似的 Issue
-
enhancement good first issue shields parity
难度 2/5 1-3 小时 新手友好度 88/100
seuthootDev/terminal-shields#125 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复
-
bug:unconfirmed
难度 2/5 1-3 小时 新手友好度 76/100
Heroic-Games-Launcher/HeroicGamesLauncher#6187 ·
维护者通常 1 天内回复
-
task
难度 2/5 1-3 小时 新手友好度 78/100
freelawproject/litigant-portal#1285 ·
维护者通常 2 天内回复