Skip to content

Remove HostMesh v0 APIs#406

Merged
allenwang28 merged 4 commits intometa-pytorch:mainfrom
allenwang28:only_hostmesh_v1
Oct 14, 2025
Merged

Remove HostMesh v0 APIs#406
allenwang28 merged 4 commits intometa-pytorch:mainfrom
allenwang28:only_hostmesh_v1

Conversation

@allenwang28
Copy link
Copy Markdown
Contributor

Tested this locally and on SLURM. The monarch hostmesh piece will be automatically set in the install script for now so users don't have to do this.

@allenwang28 allenwang28 requested a review from vidhyav October 14, 2025 18:41
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 14, 2025
Comment thread scripts/install.sh Outdated
Comment on lines +312 to +314
# Temporary measure until this environment variable is removed
export MONARCH_HOST_MESH_V1_REMOVE_ME_BEFORE_RELEASE=1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is it possible to stage this in two PRs?

First, move to v1 as default and then remove all the v0 code as another PR? Can help us easily revert if needed in the future.

Copy link
Copy Markdown
Contributor

@vidhyav vidhyav left a comment

Choose a reason for hiding this comment

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

Small nit.

Comment thread src/forge/env.py
)

MONARCH_HOSTMESH_V1 = EnvVar(
name="MONARCH_HOST_MESH_V1_REMOVE_ME_BEFORE_RELEASE",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(y)

@allenwang28 allenwang28 merged commit 9782f57 into meta-pytorch:main Oct 14, 2025
9 checks passed
@allenwang28 allenwang28 deleted the only_hostmesh_v1 branch October 14, 2025 19:49
HosseinKaviani-H pushed a commit to HosseinKaviani-H/forge that referenced this pull request Oct 21, 2025
photomz pushed a commit to photomz/forge that referenced this pull request Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants