-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitignore
More file actions
159 lines (140 loc) · 2.63 KB
/
.gitignore
File metadata and controls
159 lines (140 loc) · 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# --- Standard Python ---
__pycache__/
*.py[cod]
*$py.class
*.so
# --- Distribution / Packaging ---
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# --- Installers / Logs ---
pip-log.txt
pip-delete-this-directory.txt
logs/**/*.json
logs/**/*.jsonl
*.jsonl # Optuna logs if created outside logs/
# --- Test / Coverage ---
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
# --- Translations ---
*.mo
*.pot
# --- Documentation ---
docs/_build/
/site # mkdocs
# --- IDE / Editor ---
.ipynb_checkpoints
profile_default/
ipython_config.py
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
.spyderproject
.spyproject
.ropeproject
.vscode/
*.swp
*.swo
.idea/
# --- Type Checkers ---
.mypy_cache/
.dmypy.json
dmypy.json
.pyre/
# --- Large Model/Data Files ---
**/*.safetensors
!tests/fixtures/*.safetensors # Example: Allow small test models if needed
**/*.ckpt
**/*.pth
# Ignore downloaded scorer models explicitly by name/path
models/Laion.pth
models/Chad.pth
models/WD_Aes.pth
models/ImageReward.pt
models/CLIP-ViT-L-14.pt
models/BLIP_Large.safetensors
models/HPS_v2.1.pt
models/Pick-A-Pic.safetensors
models/ShadowV2.safetensors
models/Cafe.safetensors
models/CLASS.safetensors
models/REAL.pt
models.ANIME.safetensors
models/CityAesthetics-Anime-v1.8.safetensors
# Add any other large downloaded files here...
/mscoco/
/mscoco.parquet
# --- OS Specific ---
**/.DS_Store
# --- Generated Images & Plots ---
logs/**/*.png
logs/**/*.jpg
# output_images/ # If you have another output dir
# --- Configs ---
# Ignore user-generated configs, keep templates
!sd_optim/model_config/*.yaml
!conf/config.tmpl.yaml
!conf/payloads/*.tmpl.yaml # Match any cargo_*.tmpl.yaml
!conf/payloads/cargo/payload.tmpl.yaml
!conf/optimization_guide/guide.tmpl.yaml
# --- Other Project Files ---
# Ignore contents of the logs folder, but not the folder itself
logs/*
!/logs/
# Ignore the optuna_db folder
optuna_db/
# Other root folders
.github/
optimization-analysis/
# Ignore non-template yaml files in conf
conf/**/*.yaml
!conf/**/*.tmpl.yaml
*.txt
# !wildcards/**/*.txt # Only if wildcards are stored in a tracked dir
*.ipynb # Jupyter notebooks
# Makefile # Keep if used
# --- Local Test/Demo Scripts ---
scorer_demo.py
TEST.py
# --- Explicitly Tracked ---
# Ensure core files and specified directories aren't accidentally ignored
!/conf/
!/models/
!/scripts/
!/wildcards/
!requirements.txt
!sd_optim.py # Or main.py
!install.py
!README.md
!LICENSE
# Add other essential scripts or files if necessary