Conversation
安装了miniconda来进行虚拟环境包管理 在执行`pip install -e. "import torch" 失败并抛出 `ModuleNotFoundError 所以在 `pyproject.toml` 的 `[build-system].requires` 列表中明确添加 `"torch"`。 这会强制 pip 在构建开始前,先将 torch 安装到其临时环境中,从而确保构建过程顺利完成。
- 新增 CUDA 内核,分别用于行与列方向的距离变换 - 支持在 GPU 上处理二维张量 - 已通过基础单元测试验证正确性 - 注意:当前实现仅适用于二维情况,尚未推广到 N 维张量
moliflower
previously approved these changes
Feb 2, 2026
Collaborator
moliflower
left a comment
There was a problem hiding this comment.
Conflicts resolved. Updated code with EDT refactor and CDT implementation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.