Skip to content

Add TorchFT integration test - #907

Closed
fegin wants to merge 6 commits into
mainfrom
ft_integration_test
Closed

fegin wants to merge 6 commits into
mainfrom
ft_integration_test

Conversation

@fegin

@fegin fegin commented Feb 28, 2025

Copy link
Copy Markdown
Contributor

Add TorchFT integration test

Add TorchFT integration test
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 28, 2025
@H-Huang H-Huang mentioned this pull request Jul 15, 2025
H-Huang added a commit that referenced this pull request Jul 22, 2025
based off of @fegin previous PR:
#907

This sets up CI for torchft in torchtitan, it only runs when
`torchtitan/components/ft.py` is changed, but we can expand it as
necessary. This also makes it easier to run torchft tests / configs by
just calling:

`python tests/integration_tests_ft.py --test_id ...`

TODO:
- There is an issue with our CI where we cannot set
`CUDA_VISIBLE_DEVICES` to partition the devices per replica group (I get
error Cuda failure 217 'peer access is not supported between these two
devices'), as a result this PR only runs with 1 replica group. In follow
up PRs need to look into manually setting the cuda device when using
torchft?
idoh pushed a commit to idoh/torchtitan that referenced this pull request Jul 28, 2025
based off of @fegin previous PR:
pytorch#907

This sets up CI for torchft in torchtitan, it only runs when
`torchtitan/components/ft.py` is changed, but we can expand it as
necessary. This also makes it easier to run torchft tests / configs by
just calling:

`python tests/integration_tests_ft.py --test_id ...`

TODO:
- There is an issue with our CI where we cannot set
`CUDA_VISIBLE_DEVICES` to partition the devices per replica group (I get
error Cuda failure 217 'peer access is not supported between these two
devices'), as a result this PR only runs with 1 replica group. In follow
up PRs need to look into manually setting the cuda device when using
torchft?
bentherien pushed a commit to bentherien/torchtitan_ that referenced this pull request Aug 5, 2025
based off of @fegin previous PR:
pytorch#907

This sets up CI for torchft in torchtitan, it only runs when
`torchtitan/components/ft.py` is changed, but we can expand it as
necessary. This also makes it easier to run torchft tests / configs by
just calling:

`python tests/integration_tests_ft.py --test_id ...`

TODO:
- There is an issue with our CI where we cannot set
`CUDA_VISIBLE_DEVICES` to partition the devices per replica group (I get
error Cuda failure 217 'peer access is not supported between these two
devices'), as a result this PR only runs with 1 replica group. In follow
up PRs need to look into manually setting the cuda device when using
torchft?
joellidin pushed a commit to one-covenant/torchtitan that referenced this pull request Aug 8, 2025
based off of @fegin previous PR:
pytorch#907

This sets up CI for torchft in torchtitan, it only runs when
`torchtitan/components/ft.py` is changed, but we can expand it as
necessary. This also makes it easier to run torchft tests / configs by
just calling:

`python tests/integration_tests_ft.py --test_id ...`

TODO:
- There is an issue with our CI where we cannot set
`CUDA_VISIBLE_DEVICES` to partition the devices per replica group (I get
error Cuda failure 217 'peer access is not supported between these two
devices'), as a result this PR only runs with 1 replica group. In follow
up PRs need to look into manually setting the cuda device when using
torchft?
joellidin pushed a commit to one-covenant/torchtitan that referenced this pull request Aug 8, 2025
based off of @fegin previous PR:
pytorch#907

This sets up CI for torchft in torchtitan, it only runs when
`torchtitan/components/ft.py` is changed, but we can expand it as
necessary. This also makes it easier to run torchft tests / configs by
just calling:

`python tests/integration_tests_ft.py --test_id ...`

TODO:
- There is an issue with our CI where we cannot set
`CUDA_VISIBLE_DEVICES` to partition the devices per replica group (I get
error Cuda failure 217 'peer access is not supported between these two
devices'), as a result this PR only runs with 1 replica group. In follow
up PRs need to look into manually setting the cuda device when using
torchft?
@fegin fegin closed this Oct 27, 2025
xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 13, 2026
based off of @fegin previous PR:
pytorch#907

This sets up CI for torchft in torchtitan, it only runs when
`torchtitan/components/ft.py` is changed, but we can expand it as
necessary. This also makes it easier to run torchft tests / configs by
just calling:

`python tests/integration_tests_ft.py --test_id ...`

TODO:
- There is an issue with our CI where we cannot set
`CUDA_VISIBLE_DEVICES` to partition the devices per replica group (I get
error Cuda failure 217 'peer access is not supported between these two
devices'), as a result this PR only runs with 1 replica group. In follow
up PRs need to look into manually setting the cuda device when using
torchft?
xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 25, 2026
based off of @fegin previous PR:
pytorch#907

This sets up CI for torchft in torchtitan, it only runs when
`torchtitan/components/ft.py` is changed, but we can expand it as
necessary. This also makes it easier to run torchft tests / configs by
just calling:

`python tests/integration_tests_ft.py --test_id ...`

TODO:
- There is an issue with our CI where we cannot set
`CUDA_VISIBLE_DEVICES` to partition the devices per replica group (I get
error Cuda failure 217 'peer access is not supported between these two
devices'), as a result this PR only runs with 1 replica group. In follow
up PRs need to look into manually setting the cuda device when using
torchft?
@fegin
fegin deleted the ft_integration_test branch June 30, 2026 17:41
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