Skip to content

Commit

Permalink
Adding integration test for FSDP Memory Tracking and Estimation
Browse files Browse the repository at this point in the history
ghstack-source-id: cc224db8951ec7a133fd769845a4765cbedc6454
Pull Request resolved: #426
  • Loading branch information
sanketpurandare committed Jun 25, 2024
1 parent 236d2ff commit cb73810
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ci/docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ tensorboard
sentencepiece
tiktoken
blobfile
tabulate
8 changes: 8 additions & 0 deletions test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,14 @@ def build_test_list():
],
"Fused Optimizer Test",
),
OverrideDefinitions(
[
["--estimate.memory=True", "--estimate.mode=real"],
],
"FSDP2 Memory Tracking and Estimation",
"fsdp2_mem_tracker",
ngpu=4,
),
]
return integration_tests_flavors

Expand Down

0 comments on commit cb73810

Please sign in to comment.