HG - Hardware-specific sharding test and instructions with torchrun#1479
Merged
HG - Hardware-specific sharding test and instructions with torchrun#1479
Conversation
…del) and changed allowed patterns to allow for the json index file
…projs are sharded in fs2)
…d references; new hg doc added
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <alex.erben@tum.de>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Co-authored-by: Alexander Erben <aerben@meta.com>
Restore column alignment in sharder files, structured.py, and revert style-only change in basic.py and parquet test.
cirquit
approved these changes
Mar 19, 2026
Contributor
cirquit
left a comment
There was a problem hiding this comment.
LGTM! Nice work on addressing all of these.
cirquit
added a commit
that referenced
this pull request
Mar 25, 2026
**Summary** - Fix test and lint regressions introduced in v0.8 development - Add backward compatibility shims for breaking API changes - Update CHANGELOG and README for v0.8 release **Regressions** - Fix `test_get_shard_dims_work` device mismatch when running with `--device cuda` - Replace deprecated `datetime.utcnow()` with `datetime.now(timezone.utc)` - Bump `black` to `~=26.3` (CVE fix) and reformat lines that the new parser rejects - Fix `Flash3SDPA` to support `flash-attn-3` v3.0.0 API (#1495) - Pin `pandas~=2.2` for Python 3.12 compatibility **Backward compatibility shims** - Add re-export shims for `fairseq2.recipe.validator` and `fairseq2.recipe.task` (#1417) - Add deprecated `resolve_optional()` on `DependencyResolver` (#1462) - Add deprecated `ModelCheckpointError` alias for `CorruptModelCheckpointError` (#1475) **Release prep** - Update CHANGELOG with missing entries, PR references, and new features (#1479, #1496) - Add v0.7 and v0.8 rows to README version matrix
YunchaoYang
pushed a commit
that referenced
this pull request
Mar 31, 2026
**Summary** - Fix test and lint regressions introduced in v0.8 development - Add backward compatibility shims for breaking API changes - Update CHANGELOG and README for v0.8 release **Regressions** - Fix `test_get_shard_dims_work` device mismatch when running with `--device cuda` - Replace deprecated `datetime.utcnow()` with `datetime.now(timezone.utc)` - Bump `black` to `~=26.3` (CVE fix) and reformat lines that the new parser rejects - Fix `Flash3SDPA` to support `flash-attn-3` v3.0.0 API (#1495) - Pin `pandas~=2.2` for Python 3.12 compatibility **Backward compatibility shims** - Add re-export shims for `fairseq2.recipe.validator` and `fairseq2.recipe.task` (#1417) - Add deprecated `resolve_optional()` on `DependencyResolver` (#1462) - Add deprecated `ModelCheckpointError` alias for `CorruptModelCheckpointError` (#1475) **Release prep** - Update CHANGELOG with missing entries, PR references, and new features (#1479, #1496) - Add v0.7 and v0.8 rows to README version matrix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do? Please describe:
When more than 1 GPU present, model sharding can be tested with
torchrun --nproc-per-node 8 test_hg_factory.pyDoes your PR introduce any breaking changes? If yes, please list them:
None aware of
Check list: