Skip to content

Fix the scheduled CI failures in the MyPy checks. - #314

Merged
y0z merged 1 commit into
optuna:mainfrom
c-bata:fix-action-34175419884
Sep 9, 2026
Merged

y0z merged 1 commit into
optuna:mainfrom
c-bata:fix-action-34175419884

Conversation

@c-bata

@c-bata c-bata commented Sep 9, 2026

Copy link
Copy Markdown
Member

Motivation

Fix the scheduled CI failures in the MyPy checks.
https://github.com/optuna/optuna-integration/actions/runs/34175419884/job/101903744320

Description of the changes

Cast the return value of torch.distributed.new_group() to ProcessGroup, since all ranks participate in the created group.

@c-bata

c-bata commented Sep 9, 2026

Copy link
Copy Markdown
Member Author

@y0z Could you review this PR?

@c-bata c-bata changed the title fix: narrow distributed process group type Fix the scheduled CI failures in the MyPy checks. Sep 9, 2026
@y0z
y0z merged commit f1ba038 into optuna:main Sep 9, 2026
23 checks passed
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.

2 participants