[DOC]: 7 dead external links in samples/*/README.md fail pre-commit run --all-files (lychee 404s)

未关闭
#3,075 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@lijinf2 已经在做这个了。

开始于 2026年10月12日。

评估

这个 Issue 还没有评估数据。

描述

documentation

Description

pre-commit run --all-files on main fails the lychee link-checker hook with 7 dead external links (confirmed via curl, all return 404) across 6 sample README.md files. These are permanent 404s, not the transient flakiness tracked in #2652.

Steps to Reproduce

git clone [email protected]:NVIDIA/cuda-python.git && cd cuda-python
pre-commit run --all-files

Lychee Output

Issues found in 7 inputs. Find details below.

[samples/cuda_bindings/3_CUDA_Features/globalToShmemAsyncCopy/README.md]:
   [404] https://nvidia.github.io/libcudacxx/extended_api/asynchronous_operations/memcpy_async.html (at 116:3) | Rejected status code: 404 Not Found
   [404] https://nvidia.github.io/libcudacxx/extended_api/synchronization_primitives/pipeline.html (at 117:3) | Rejected status code: 404 Not Found

[samples/cuda_core/binarySearch/README.md]:
   [404] https://nvidia.github.io/cccl/python.html (at 32:3) | Rejected status code: 404 Not Found

[samples/cuda_core/cudaComputeLambdas/README.md]:
   [404] https://nvidia.github.io/cccl/python.html (at 33:3) | Rejected status code: 404 Not Found

[samples/cuda_core/launchConfigTuning/README.md]:
   [404] https://docs.nvidia.com/cuda/cuda-occupancy-calculator/ (at 186:3) | Rejected status code: 404 Not Found

[samples/cuda_core/pageRank/README.md]:
   [404] https://rapids.ai/start.html (at 184:3) | Rejected status code: 404 Not Found

[samples/cuda_core/simplePrint/README.md]:
   [404] https://github.com/NVIDIA/cuda-samples/tree/master/Samples/0_Introduction/simplePrintf (at 263:3) | Rejected status code: 404 Not Found

[samples/cuda_core/tmaTensorMap/README.md]:
   [404] https://nvidia.github.io/cccl/libcudacxx/extended_api/synchronization_primitives/barrier.html (at 138:3) | Rejected status code: 404 Not Found

🔍 927 Total (in 1s 74ms) 🔗 559 Unique ✅ 912 OK 🚫 8 Errors 👻 6 Excluded ⛔ 1 Unsupported

Notes

  • Not a duplicate of #2429 (different link, cuda.coop) or #2652 (transient-failure infra, not these permanent 404s).
  • lychee.toml has no exclude entries for any of these URLs.
主要语言
Cython
星标
3.4k
派生
353
平均合并
2 天 3 小时
30 天内合并 PR
163

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NVIDIA/cuda-python 的其他 Issue

查看 NVIDIA/cuda-python 的全部 Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。