Commit 3a7ecb1
[agents docs] add float64 gotcha (#13472)
* [docs] add float64 + runtime weight-dtype gotchas to models.md
Document two dtype pitfalls surfaced by Ernie-Image follow-up #13464:
unconditional torch.float64 in RoPE/precompute (breaks MPS/NPU) and
reading a child module's weight dtype at runtime (breaks gguf/quant).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* update claude config to allow .ai folder
* [ci] fetch default branch before .ai/ checkout in claude_review
When triggered by pull_request_review_comment, actions/checkout lands
on the PR head and fetch-depth=1 means origin/main isn't tracked, so
the follow-up `git checkout origin/main -- .ai/` fails with exit 128.
Fetch the default branch explicitly first.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* combine #10 into #8
* Apply suggestions from code review
Co-authored-by: YiYi Xu <yixu310@gmail.com>
---------
Co-authored-by: yiyi@huggingface.co <yiyi@ip-26-0-160-103.ec2.internal>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b3889ea commit 3a7ecb1
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
0 commit comments