[Doc] Ascend: refine T.tile.sin/cos docstrings, add test cases and API documentation - #1677
Open
fredrekelthen wants to merge 8 commits into
Open
[Doc] Ascend: refine T.tile.sin/cos docstrings, add test cases and API documentation#1677fredrekelthen wants to merge 8 commits into
fredrekelthen wants to merge 8 commits into
Conversation
added 7 commits
August 18, 2026 11:42
… and API documentation
…ew feedback 🤖 Shared with tile-ai#1615: 2.2 src1 described as "tensor or scalar" (BufferLoad is a scalar form, not a user-facing tvm concept); remove the 2.3.3 src1-form table whose implementation column only covered the AscendC backend and whose tvm internal type names (BufferRegion/PrimExpr/ BufferLoad) duplicate 2.1 signatures.
…liggest api_test/api_doc
…add test cases and API documentation
…gmoid/silu API tests
…I documentation 🤖 - Refine sin/cos docstrings in ascend_tile.py (dtype/inplace/PTO/tmp/special values) - Add unsupported_targets support to the unary test framework (pto skip) - Add test_tile_sin.py / test_tile_cos.py registered against the unary framework - Add docs/language/tile_sin.md / tile_cos.md API documentation - Record framework findings in request/说明和审查/框架.md (tile-ai#17-tile-ai#21) - Add update notes for the sin/cos batch
|
👋 Hi! Thank you for contributing to the TileLang project. Please remember to run We appreciate you taking this step! Our team will review your contribution, and we look forward to your awesome work! 🚀 |
…rkers 🤖 Sync with PR tile-ai#1615 (commit e994015): drop the custom l0/l1/l2/ compile_time marker definitions; gate/functional/compile-time cases run by default in PR CI, boundary cases become low_priority. Fix scalar_golden (torch.maximum needs a Tensor) and test_inf_input (min(+inf,1)=1) in base/binary_op.py.
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.
改动内容
tilelang/language/ascend_tile.py:精炼 sin/cos docstring(dtype 支持、原地运算、PTO 不支持、tmp workspace 字节数、IEEE 特殊值、大小断言)testing/python/base/unary_op.py:新增unsupported_targetsspec 字段与skip_if_unsupported_target(默认空列表,既有套件行为不变)testing/python/language/test_tile_sin.py/test_tile_cos.py:基于共享一元框架注册(Compile / E2E / Boundary);PTO 参数跳过(编译期拒绝)、skip_inf_special覆盖 IEEE 语义 sin/cos(inf)=nandocs/language/tile_sin.md/tile_cos.md:经真机验证的 API 文档(无 A5 平台行;dtype 矩阵、精度、特殊值均实测确认)request/说明和审查/:更新框架.md(debug error #17-chore: remove incompatible code temporarily #21)并新增 sin/cos 批次更新说明测试
真机 Ascend910B3(dav-2201),ascendc 后端全量验证:
-m "not (low_priority or ci_skip)"):6 例(每 API 3 例)依赖 #1657(relu/silu 批次)及 #1613/#1636(一元框架基础),经分支链继承。