Commit 41d4a97
ci: replace accelerate with diffusers bnb tests
Replace the accelerate job (which had 26/27 tests silently skipping) with
diffusers, a much higher-value integration target for bnb.
Diffusers has two layers of bnb test coverage:
- tests/quantization/bnb/ — standalone 4-bit/8-bit quantization tests
- tests/models/transformers/ — 9 model classes (Flux, HunyuanVideo, Wan,
etc.) that inherit BitsAndBytesTesterMixin, testing quantization on
real diffusion model architectures
All are selected via `pytest -m bitsandbytes tests/` which matches the
@is_bitsandbytes decorator that applies pytest.mark.bitsandbytes.
Runner: L40S (bandb-aws-g6e-4xlarge-plus) matching diffusers' own CI
runner (aws-g6e-xlarge-plus). L40S provides 48GB VRAM needed for larger
diffusion models like Flux and HunyuanVideo.
Also sets CUBLAS_WORKSPACE_CONFIG=:16:8 for determinism, matching the
diffusers CI convention.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7495806 commit 41d4a97
1 file changed
Lines changed: 20 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
| 157 | + | |
| 158 | + | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
| 190 | + | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
201 | 203 | | |
202 | | - | |
| 204 | + | |
203 | 205 | | |
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
208 | | - | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| |||
331 | 333 | | |
332 | 334 | | |
333 | 335 | | |
334 | | - | |
| 336 | + | |
335 | 337 | | |
336 | 338 | | |
337 | 339 | | |
| |||
0 commit comments