Skip to content

Fix ResourceType.architecture() and GLP#70

Open
hartikainen wants to merge 1 commit into
google-deepmind:mainfrom
hartikainen:fix-ResourceType.architecture
Open

Fix ResourceType.architecture() and GLP#70
hartikainen wants to merge 1 commit into
google-deepmind:mainfrom
hartikainen:fix-ResourceType.architecture

Conversation

@hartikainen

Copy link
Copy Markdown

JobRequirements calls ResourceType.architecture(), but the public ResourceType enum does not currently implement it, causing accelerator requirements to fail with an AttributeError.

This PR:

  • Adds default host architecture handling for accelerators.
  • Maps GB{200,300} to Architecture.ARM and fixed-host. accelerators to Architecture.HASWELL
  • Leaves LOCAL_GPU architecture unspecified unless provided explicitly.
  • Removes the stale-looking ResourceType.GLP validation path.
  • Adds regression coverage for inference and validation.

@hartikainen hartikainen mentioned this pull request Jul 20, 2026
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.

1 participant