Add gitignore for model checkpoints#238
Conversation
📝 WalkthroughWalkthroughUpdated ChangesML Artifact Exclusions
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.gitignore:
- Around line 60-62: Remove the duplicate ignore patterns by deleting the
repeated entries "*.pt", "*.pth", and "*.safetensors" (the ones shown in the
diff) so each pattern only appears once in the .gitignore; locate the earlier
occurrences of "*.pt", "*.pth", and "*.safetensors" and remove the later
duplicate block to keep the file clean.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
| *.pt | ||
| *.pth | ||
| *.safetensors |
There was a problem hiding this comment.
Remove duplicate ignore patterns.
These patterns are already defined on lines 49-51. The duplicate entries provide no additional functionality and should be removed to keep the .gitignore clean and maintainable.
🧹 Proposed fix
.claude/
catalog.json
-*.pt
-*.pth
-*.safetensors🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.gitignore around lines 60 - 62, Remove the duplicate ignore patterns by
deleting the repeated entries "*.pt", "*.pth", and "*.safetensors" (the ones
shown in the diff) so each pattern only appears once in the .gitignore; locate
the earlier occurrences of "*.pt", "*.pth", and "*.safetensors" and remove the
later duplicate block to keep the file clean.
What this PR does
Kind of change
Checklist
LESSON_TEMPLATE.mdstructure[Name](phases/...)), not bare textdocs/en.mdclaimsPhase / lesson
Notes for reviewer