Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add auto_device_count and device name support #13423

Merged
merged 94 commits into from
Jul 22, 2022

Conversation

jerome-habana
Copy link
Contributor

Signed-off-by: Jerome janand@habana.ai

What does this PR do?

Fixes #<issue_number>

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

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?
  • Did you make sure to update the documentation with your changes? (if necessary)
  • 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?
  • 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 🙃

jerome-habana and others added 3 commits June 28, 2022 06:03
Signed-off-by: Jerome <janand@habana.ai>
Signed-off-by: Jerome <janand@habana.ai>
@jerome-habana jerome-habana requested a review from kaushikb11 June 29, 2022 01:37
Signed-off-by: Jerome <janand@habana.ai>
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
@mergify mergify bot added the ready PRs ready to be merged label Jun 29, 2022
src/pytorch_lightning/accelerators/hpu.py Outdated Show resolved Hide resolved
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
@kaushikb11 kaushikb11 added this to the pl:1.7 milestone Jun 30, 2022
@kaushikb11 kaushikb11 added the accelerator: hpu (external) Habana Processing Unit label Jun 30, 2022
@carmocca carmocca added the community This PR is from the community label Jun 30, 2022
samz5320 and others added 8 commits July 14, 2022 04:56
…hSamplerWrapper.batch_indices` (Lightning-AI#13565)

* Removed the deprecated   method

* Removed deprecated  IndexBatchSamplerWrapper.batch_indices

* Update src/pytorch_lightning/CHANGELOG.md

* Missed code

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
…ng-AI#13564)

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: otaj <ota@lightning.ai>
…-AI#13548)

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
* Remove deprecated ClustertEnvironment methods

* update changelog

* ignore typing error

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
@mergify mergify bot added has conflicts and removed ready PRs ready to be merged labels Jul 14, 2022
@mergify mergify bot added ready PRs ready to be merged and removed has conflicts ready PRs ready to be merged labels Jul 20, 2022
@github-actions github-actions bot added the pl Generic label for PyTorch Lightning package label Jul 20, 2022
kaushikb11 and others added 2 commits July 20, 2022 17:18
@codecov
Copy link

codecov bot commented Jul 20, 2022

Codecov Report

Merging #13423 (ef634ff) into master (bc6d735) will decrease coverage by 6%.
The diff coverage is 39%.

@@            Coverage Diff             @@
##           master   #13423      +/-   ##
==========================================
- Coverage      82%      76%      -6%     
==========================================
  Files          93      327     +234     
  Lines        6102    25500   +19398     
==========================================
+ Hits         4996    19451   +14455     
- Misses       1106     6049    +4943     

@mergify mergify bot added has conflicts and removed ready PRs ready to be merged labels Jul 20, 2022
@mergify mergify bot added ready PRs ready to be merged and removed has conflicts ready PRs ready to be merged labels Jul 21, 2022
@kaushikb11 kaushikb11 merged commit 9596fab into Lightning-AI:master Jul 22, 2022
@jerome-habana jerome-habana deleted the hpu_pkg branch July 22, 2022 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accelerator: hpu (external) Habana Processing Unit community This PR is from the community pl Generic label for PyTorch Lightning package ready PRs ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.