Skip to content

feat: make --num-slices and --num-cubes optional for reservations#1093

Draft
jamOne- wants to merge 20 commits intoAI-Hypercomputer:mainfrom
jamOne-:optional-num-slices
Draft

feat: make --num-slices and --num-cubes optional for reservations#1093
jamOne- wants to merge 20 commits intoAI-Hypercomputer:mainfrom
jamOne-:optional-num-slices

Conversation

@jamOne-
Copy link
Collaborator

@jamOne- jamOne- commented Mar 3, 2026

Description

Issue

Testing

@jamOne- jamOne- force-pushed the optional-num-slices branch 2 times, most recently from 9fa6df1 to 953ee62 Compare March 3, 2026 18:41
@jamOne- jamOne- force-pushed the optional-num-slices branch 2 times, most recently from 28bacc9 to 4a3a679 Compare March 5, 2026 08:19
@jamOne- jamOne- force-pushed the optional-num-slices branch from 4a3a679 to a967251 Compare March 5, 2026 08:29
- Apply implementer refactoring for _determine_available_capacity and _set_cluster_topology_defaults.
- Ensure _determine_available_capacity does not modify args.num_nodes directly and returns early if not using a reservation.
- Centralize slice and node defaulting in _set_cluster_topology_defaults.
- Update unit tests in cluster_test.py to match new method signatures and test logic.
- Fix missing unittest.mock imports.
- Mock _determine_available_capacity where required to accurately test _set_cluster_topology_defaults.
@jamOne- jamOne- force-pushed the optional-num-slices branch from 9c91896 to c8da4b4 Compare March 9, 2026 07:58
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