Skip to content

Commit cd32514

Browse files
committed
chore: update .gitignore to exclude model weights and temp files
Add patterns for: - Model weights (*.pt, *.pth, *.onnx, *.safetensors) - Training runs directories (runs/, **/runs/) - Temporary files (sym_shape_infer_temp*, etc.) - Corrupt filenames (BytesIO objects) - UUID-like temp files
1 parent 050a3ec commit cd32514

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,24 @@ CLAUDE.md
148148

149149
# nbdev auto-generated
150150
pyproject.toml
151+
152+
# Model weights
153+
*.pt
154+
*.pth
155+
*.onnx
156+
*.safetensors
157+
158+
# Training runs (YOLO, etc.)
159+
runs/
160+
**/runs/
161+
162+
# Temporary files
163+
*.tmp
164+
sym_shape_infer_temp*
165+
166+
# Corrupt/invalid filenames (BytesIO objects, etc.)
167+
*BytesIO*
168+
*_io.*
169+
170+
# UUID-like temp files
171+
[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]-*

0 commit comments

Comments
 (0)