Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Trial jobs need to get a unique ID value #56

Closed
chicm-ms opened this issue Sep 13, 2018 · 2 comments
Closed

Trial jobs need to get a unique ID value #56

chicm-ms opened this issue Sep 13, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request nnidev

Comments

@chicm-ms
Copy link
Contributor

For example, it is a common practice to do k fold data split to improve model performance. In order to do k fold split, each of my trial jobs need to train on a unique split, to do this, my trial jobs need to get a unique ID value.
In short, trial jobs need to get an Id if they need to corporate on something.
There are two possible solutions to implement this:

  1. Use search space, need to add new type, such as sequence, can be implemented in either builtin or customized Tuner.
  2. Add an API, such as nni.get_trial_id()
@chicm-ms chicm-ms added the enhancement New feature or request label Sep 13, 2018
@yds05 yds05 self-assigned this Sep 17, 2018
@yds05
Copy link
Contributor

yds05 commented Sep 17, 2018

We need to provide a new API in SDK, like nni.get_sequence_num(), enable NNI trial identify it's unique auto-incremented sequence ID(start from 0. e.g)

@chicm-ms
Copy link
Contributor Author

Done,
#203

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request nnidev
Projects
None yet
Development

No branches or pull requests

3 participants