Skip to content

[iris] Fix dev_tpu.py to use provider_bundle API#4395

Merged
yonromai merged 1 commit intomarin-community:mainfrom
yonromai:fix/dev-tpu-irisconfig-drift
Apr 3, 2026
Merged

[iris] Fix dev_tpu.py to use provider_bundle API#4395
yonromai merged 1 commit intomarin-community:mainfrom
yonromai:fix/dev-tpu-irisconfig-drift

Conversation

@yonromai
Copy link
Copy Markdown
Contributor

@yonromai yonromai commented Apr 3, 2026

Summary

Fixes #4394

Test plan

  • uv run python scripts/iris/dev_tpu.py --help — CLI loads without import errors
  • uv run pytest lib/iris/tests/test_dev_tpu.py — 4/4 pass
  • 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

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@yonromai yonromai requested review from ravwojdyla and rjpower April 3, 2026 18:26
@yonromai yonromai enabled auto-merge (squash) April 3, 2026 18:37
@yonromai yonromai disabled auto-merge April 3, 2026 18:37
@yonromai yonromai merged commit 5b90d1e into marin-community:main Apr 3, 2026
37 checks passed
Helw150 pushed a commit that referenced this pull request Apr 8, 2026
## 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

scripts/iris/dev_tpu.py still calls removed IrisConfig.platform()

1 participant