You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0186b4e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: skills/python-project-porting/references/gotchas-index.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Gotchas index — router for the themed gotcha files
2
2
3
-
The porting gotchas (385 of them) live in [`references/gotchas/`](gotchas/), split by theme so only the relevant slice loads. Every gotcha keeps a **permanent number** cited elsewhere as "gotcha N" (and in workflow comments as "CLAUDE.md gotcha N"). Numbers are stable IDs — **not sequential**, and four are **reused** with different content (two each of 33, 55, 56, 57), disambiguated by theme below.
3
+
The porting gotchas (387 of them) live in [`references/gotchas/`](gotchas/), split by theme so only the relevant slice loads. Every gotcha keeps a **permanent number** cited elsewhere as "gotcha N" (and in workflow comments as "CLAUDE.md gotcha N"). Numbers are stable IDs — **not sequential**, and four are **reused** with different content (two each of 33, 55, 56, 57), disambiguated by theme below.
4
4
5
5
## How to find the gotcha you need
6
6
@@ -158,6 +158,12 @@ The porting gotchas (385 of them) live in [`references/gotchas/`](gotchas/), spl
158
158
is a dead stub — count the sources that branch globs, diff the built `.so` against the
159
159
published CUDA one, and call an op instead of trusting a "did the extension load" flag
160
160
(the xformers case).
161
+
-**426** — A `-cpu` sibling can be an *x86_64-only label* rather than a portable CPU variant:
162
+
where the base package's wheel is already CPU-only on every non-x86 arch, the sibling closes
163
+
no riscv64 gap, is never cheaper than the base, and inherits the base's park — scan the
164
+
sibling's whole release history for platform tags, compare the base's per-arch wheel sizes,
165
+
and re-verify any sibling-family blocker at the revision your target actually pins
0 commit comments