Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: launcher additional arguments #2807

Merged
merged 3 commits into from
May 13, 2024
Merged

fix: launcher additional arguments #2807

merged 3 commits into from
May 13, 2024

Conversation

raph-luc
Copy link
Member

@raph-luc raph-luc commented May 11, 2024

additional_arguments was being evaluated in two different places: _build_fluent_launch_args_string and _generate_launch_string, and wasn't being passed properly to the container launcher

additional_arguments is also repeated inside self.argvals and self.additional_arguments in the launchers, not sure why, not changed in this PR

The suggestion in this PR is to evaluate additional_arguments only in _build_fluent_launch_args_string, so that it is also applicable to container launchers and not only launchers that call _generate_launch_string (slurm and standalone launchers currently)

@raph-luc raph-luc linked an issue May 11, 2024 that may be closed by this pull request
@raph-luc raph-luc marked this pull request as ready for review May 11, 2024 16:22
@seanpearsonuk
Copy link
Collaborator

@raph-luc many thanks. Please could you go over this in the next meeting. In particular, please cover issues such as additional_arguments is also repeated inside self.argvals and self.additional_arguments in the launchers, not sure why, not changed in this PR.

Thanks.

@raph-luc raph-luc merged commit dcb2f69 into main May 13, 2024
26 checks passed
@raph-luc raph-luc deleted the fix/additional_arguments branch May 13, 2024 18:52
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.

additional_arguments is not supported for container launch
5 participants