Skip to content

Conversation

@akihironitta
Copy link
Contributor

@akihironitta akihironitta commented Apr 22, 2022

What does this PR do?

Part of #12373.

Does your PR introduce any breaking changes? If yes, please list them.

None

Before submitting

  • Was this discussed/approved via a GitHub issue? (not for typos and docs)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • [n/a] Did you make sure to update the documentation with your changes? (if necessary)
  • [n/a] Did you write any new necessary tests? (not for typos and docs)
  • Did you verify new and existing tests pass locally with your changes?
  • Did you list all the breaking changes introduced by this pull request?
  • [n/a] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review

Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?

Make sure you had fun coding 🙃

cc @carmocca @akihironitta @Borda @SeanNaren @awaelchli @rohitgr7

@akihironitta akihironitta marked this pull request as draft April 22, 2022 23:56
@akihironitta akihironitta added this to the 1.6.x milestone Apr 23, 2022
@akihironitta akihironitta changed the title [wip] fix for deepspeed>=0.6.0 Update deepspeed and fairscale versions Apr 23, 2022
python -c "fname = 'requirements/extra.txt' ; lines = [line for line in open(fname).readlines() if 'horovod' not in line] ; open(fname, 'w').writelines(lines)"
pip install fairscale>=0.4.5
pip install deepspeed>=0.6.0
pip install "fairscale>=0.4.5"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For people dealing with CI/CD:

The command here was not appropriate! It just redirects stdout from pip install fairscale into a file named =0.4.5 and leads to installing the wrong versions, so make sure to put "" when specifying versions :)

- pip install fairscale>=0.4.5
+ pip install "fairscale>=0.4.5"

Copy link
Collaborator

Choose a reason for hiding this comment

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

yep, I know, it just creates a file 0.4.5 :D

@akihironitta akihironitta requested a review from Borda April 23, 2022 17:21
@mergify mergify bot added the ready PRs ready to be merged label Apr 25, 2022
@akihironitta akihironitta enabled auto-merge (squash) April 25, 2022 16:15
@akihironitta
Copy link
Contributor Author

@carmocca @Borda Addressed @awaelchli's comment. Could you have another look?

@akihironitta akihironitta merged commit bb81802 into master Apr 25, 2022
@akihironitta akihironitta deleted the bugfix/deepspeed-0.6.0 branch April 25, 2022 23:40
otaj pushed a commit that referenced this pull request Apr 26, 2022
* Fix deepspeed installation

* Adapt to deepspeed>=0.5.9

* Fix fairscale installation

Co-authored-by: Akihiro Nitta <[email protected]>
lexierule pushed a commit that referenced this pull request Apr 27, 2022
* Fix deepspeed installation

* Adapt to deepspeed>=0.5.9

* Fix fairscale installation

Co-authored-by: Akihiro Nitta <[email protected]>
@rohitgr7 rohitgr7 mentioned this pull request Jul 1, 2022
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3rd party Related to a 3rd-party ci Continuous Integration ready PRs ready to be merged strategy: deepspeed strategy: fairscale fsdp (removed) Fully Sharded Data Parallel tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants