Ambiguous API for DB Object Placement Swallows first_device
Parameter
#534
Labels
API break
Issues that include incompatible API changes
area: api
Issues related to API changes
area: ML
Issues related to SmartSim ML classes and utilities
bug: minor
A minor bug
short task
Issues that can be completed and reviewed quickly
type: refactor
Issues focused on refactoring existing code
Description
When a user specifies a
first_device
parameter, we do not use it to format the enumerated devices IFF thenum_devices_per_node != 1
. This can lead to some unexpected formatting of enumerated devices.How to reproduce
Consider the Following Script
This is the current output:
Expected behavior
This is what I would expect for output
But of course this can be open to discussion/debate. At the very least, I think we should error if a user specifies
device="GPU:123"
andfirst_device=456
.System
Any/All
The text was updated successfully, but these errors were encountered: