做什么
通过 pip, conda 或 Docker 为 Python, C 或服务器安装 CuOpt; 验证安装. 关于从源头建造cuOpt,参见cuopt-developer.
技能库 智客分类:运维与云 cuopt-install
通过 pip, conda 或 Docker 为 Python, C 或服务器安装 CuOpt; 验证安装. 关于从源头建造cuOpt,参见cuopt-developer.
官方网址:skills.sh
先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。
通过 pip, conda 或 Docker 为 Python, C 或服务器安装 CuOpt; 验证安装. 关于从源头建造cuOpt,参见cuopt-developer.
官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。
按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:cuOpt Install (user)、System requirements、Required questions、Python API、pip、conda。
文件分析:除 SKILL.md 外,正文引用了 references/verification_examples.md,属于带资源的技能包,这些文件按需再读。
Install cuOpt for Python, C, or server via pip, conda, or Docker; verify the install. For building cuOpt from source, see cuopt-developer.
cuOpt Install (user)System requirementsRequired questionsPython APIpipcondaVerifyC APIpipcondaVerifyServer (REST)
· 许可:Apache-2.0
来源分类:skills.sh agent-skill
namecuopt-installdescriptionreferences/verification_examples.md以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。
具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗
先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。
该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。
复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。
把 Agent Skill「cuopt-install」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-9f75687563a10893-Cuopt-Install.html 请存为 .cursor/skills/cuopt-install/SKILL.md 或 .claude/skills/cuopt-install/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。 该技能还带 scripts/、references/、assets/ 等文件,请从 https://github.com/nvidia/skills 取完整目录,不要只建一个 SKILL.md。
需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。
npx skills add 'https://github.com/nvidia/skills' --list
npx skills add 'https://github.com/nvidia/skills' --skill 'cuopt-install'
CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。
Install cuOpt to use it from Python, C, or as a REST server. For building cuOpt from source to contribute or modify it, see cuopt-developer.
cuopt-cu12 / libcuopt-cu12 with CUDA 12).cuopt-cuXX (Python) depends on libcuopt-cuXX (C), so installing the Python package also installs the C library and headers. Installing libcuopt-cuXX on its own does not install the Python API.Ask these if not already clear:
nvcc --version or nvidia-smi.Choose one — do not run both. The second install would override the first and can cause CUDA / package mismatch.
pip install --extra-index-url=https://pypi.nvidia.com cuopt-cu13
pip install --extra-index-url=https://pypi.nvidia.com 'cuopt-cu12==26.2.*'
conda install -c rapidsai -c conda-forge -c nvidia cuopt
import cuopt
print(cuopt.__version__)
from cuopt import routing
dm = routing.DataModel(n_locations=3, n_fleet=1, n_orders=2)
The C API ships in libcuopt-cuXX, which is also pulled in as a dependency of cuopt-cuXX — so if you already installed the Python package, the C library and headers are already present. Install libcuopt standalone only when you want the C API without Python. Choose one of pip or conda — do not run both.
pip install --extra-index-url=https://pypi.nvidia.com libcuopt-cu13
pip install --extra-index-url=https://pypi.nvidia.com 'libcuopt-cu12==26.2.*'
conda install -c rapidsai -c conda-forge -c nvidia libcuopt
See references/verification_examples.md
for the canonical C-API header/library find commands (conda and pip/venv variants).
pip install --extra-index-url=https://pypi.nvidia.com cuopt-server-cu12 cuopt-sh-client
conda install -c rapidsai -c conda-forge -c nvidia cuopt-server cuopt-sh-client
docker pull nvidia/cuopt:latest-cuda12.9-py3.13
docker run --gpus all -it --rm -p 8000:8000 nvidia/cuopt:latest-cuda12.9-py3.13
python -m cuopt_server.cuopt_service --ip 0.0.0.0 --port 8000 &
sleep 5
curl -s http://localhost:8000/cuopt/health | jq .
No module named 'cuopt' → check pip list | grep cuopt, which python, reinstall with the correct extra-index-url.nvidia-smi and nvcc --version; ensure the package CUDA suffix (cu12 vs cu13) matches the installed CUDA.cuopt-cuXX pulls in libcuopt-cuXX as a transitive dependency, so the C library (libcuopt.so) and headers (cuopt_c.h) are already available after installing the Python package. The reverse is not true: libcuopt-cuXX alone does not install the Python bindings.cuopt-developer — build cuOpt from source and contribute to the codebase.运维与云
用于容器管理,图像操作,调试的基本道克命令和工作流程.
运维与云
从开放的代理技能生态系统中发现并安装技能. 使用时:(1)用户问"我如何做X",X可能拥有现有技能,(2)用户说"为X找到技能"或"是否为X有技能",(3)用户问"你能否做X",X是专门能力,(4)用户想扩展代理能力,(5)用户想搜索工具,模板,或工作流程,(6)用户提到他们希望…
运维与云
Azure上使用AppLens,AzureMonitor,资源健康,安全分型的调试Azure生产问题. 当:调试生产问题,故障解答应用服务,应用服务高CPU,应用服务部署失败,故障解答容器应用,故障解答功能,故障解答AKS,VM RDP,Linux SSH,VM黑屏幕,无法连接到…
运维与云
准备 azd 用于部署的Azure项目:为Azure开发者CLI(azd)工作流程生成azure.yaml,基础设施(Bicep/Terraform)和多克文件. 仅当用户明确想要使用 azd 作为部署工具时使用, 或项目已经有一个 azure 。 雅姆尔文件。 不使用: 非az…