Repository navigation
[Docs] Follow TileOPs' release renames, and drop register_kernel_type from the backend guides - #81
Merged
Conversation
… from the backend guides tile-ai/TileOPs#2741 moves the internal packages under a leading underscore (tileops._ops, _kernels, _perf, _utils), makes the submodules of tileops.manifest, tileops.trace and tileops.backend private, renames 26 op classes and many op inputs, and removes register_kernel_type from the backend protocol. Against it the API pages name ops the build cannot collect, the renderer imports modules that no longer exist, and the guides describe an extension path a backend no longer has. The API pages name the renamed ops, and the trace page documents tileops.trace._api._Trace. Links and paths point at src/tileops/_ops, _kernels and _perf, imports use tileops.<family>, and the spec and code excerpts follow the renamed classes, call specs and inputs. The backend guides describe the target as the only way a backend joins: the comparison with register_kernel_type, its section and its node in the extension figure are gone, in English and Chinese. The op guides name _entries_built and _held_delegates, and the new-op page points code outside TileOPs at tileops.authoring. workload_shape.py takes entry_plan and instantiate from tileops.manifest; picking a row's branch still needs the private _workload helpers, since tileops.manifest exports no equivalent. gen_bench_pages.py imports find_profile from tileops._perf and reads the family from both tileops.ops and tileops._ops module paths, since older snapshots carry the old one. tile-ai/TileOPs#2731, already on main, deleted docs/design/architecture.md and added docs/code-style.md. The Architecture page leaves the nav and redirects to the Design index, design pages' ../<doc> links resolve to GitHub, and the PR-title types link points at scripts/ci/types.sh.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
7 of 9 tasks
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.
Problems
manifest,traceandbackendsubmodules private and removedregister_kernel_type. Against current main the API pages name ops the build cannot collect, the renderer imports modules that no longer exist, and the backend guides describe an extension path that is gone.docs/design/architecture.md, so the build already aborted and the daily refresh has failed since 2026-10-24.Changes
tileops.trace._api._Trace.src/tileops/_ops,_kernelsand_perf; imports usetileops.<family>; spec and code excerpts follow the renamed classes and inputs.register_kernel_typeand its figure node are gone. The figure SVGs were edited by hand; re-runfigures/user-guide/render.shfor PlantUML's own layout.tileops.authoring.workload_shape.pyusestileops.manifest.entry_planandinstantiate;gen_bench_pages.pyimports fromtileops._perfand reads bothtileops.opsandtileops._opsmodule paths, since older nightly snapshots carry the old one.../<doc>links resolve to GitHub.ruff,pytest(10 passed),check_api_pages.py(206 ops, none missing), andmkdocs buildwith no warnings of ours.