(device)
| 120 | |
| 121 | @pytest.fixture(scope="session") |
| 122 | def pipe(device): |
| 123 | repo_id = "black-forest-labs/FLUX.1-dev" |
| 124 | pipe = FluxPipeline.from_pretrained(repo_id, torch_dtype=torch.bfloat16).to(device) |
| 125 | pipe.set_progress_bar_config(disable=True) |
| 126 | return pipe |
| 127 | |
| 128 | |
| 129 | @pytest.mark.parametrize("backend_name,expected_slice", FORWARD_CASES, ids=[c[0] for c in FORWARD_CASES]) |
no test coverage detected
searching dependent graphs…