Skip to content

Fix ResourceType.architecture() - #70

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

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

Conversation

@hartikainen

@hartikainen hartikainen commented Jul 20, 2026

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.
  • Adds regression coverage for inference and validation.

@hartikainen hartikainen mentioned this pull request Jul 20, 2026
@hartikainen hartikainen changed the title Fix ResourceType.architecture() and GLP Fix ResourceType.architecture() Aug 28, 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