Skip to content

Multi-task generator uses _id.#289

Open
shuds13 wants to merge 4 commits intomainfrom
multitask_uses_id
Open

Multi-task generator uses _id.#289
shuds13 wants to merge 4 commits intomainfrom
multitask_uses_id

Conversation

@shuds13
Copy link
Member

@shuds13 shuds13 commented Dec 11, 2025

ax_trial_id and arm_name are not shared externally.

Note: this generator sometimes fails to produce points when a suggest can be for more points than are in the buffer. To work reliably with libEnsemble, this should be able to generate more points to fill out the request. Created issue #295.

  • Check in tests
  • Check in examples
  • Check in libEnsemble (using multitask gen). Including with a previous History read in.
  • Lets add 'returns_id: bool = True' to other generators also in this branch. Check all that issue _id.
  • Agree on _id policy for unknown points (do they get _id internally - increment _id or do new points start at 0).

When previous points are given as a history, these are added to the Ax experiment internally, and then procedes as if a new run (sobol phase).

Note, that when a history is read into gen, these points are allocated _ids internally.

So suggested points after that will provide _ids that do not start at zero.

ax_trial_id and arm_name are not shared externally.
arms.append(
Arm(parameters=params, name=param_to_name[arm.signature])
)
self._next_id += 1
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want this, for unknown points.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be used as a quick way to tell if covered sample, and dont need more sobol points.

Currently I just start a restart with sobol points.

@shuds13 shuds13 requested a review from jlnav February 12, 2026 17:57
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