Commit 5b90d1e
[iris] Fix dev_tpu.py to use provider_bundle API (#4395)
## Summary
- `scripts/iris/dev_tpu.py` still called `IrisConfig.platform()`, which
was removed in #3900
- Replace with `provider_bundle().controller` to match the current
`IrisConfig` API
Fixes #4394
## Test plan
- [x] `uv run python scripts/iris/dev_tpu.py --help` — CLI loads without
import errors
- [x] `uv run pytest lib/iris/tests/test_dev_tpu.py` — 4/4 pass
- [x] `uv run python scripts/iris/dev_tpu.py --config
lib/iris/examples/marin.yaml --tpu-name test-dev-tpu allocate --tpu-type
v6e-8` — tunnel established, job submitted to live cluster
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Romain Yon <1596570+yonromai@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d3b7c64 commit 5b90d1e
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
173 | 174 | | |
174 | 175 | | |
175 | | - | |
176 | | - | |
| 176 | + | |
| 177 | + | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| |||
0 commit comments