Skip to content

To resolve warnings : np is deprecated #2719

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

Merged
merged 16 commits into from
Sep 23, 2022
Merged

To resolve warnings : np is deprecated #2719

merged 16 commits into from
Sep 23, 2022

Conversation

puhuk
Copy link
Contributor

@puhuk puhuk commented Sep 21, 2022

Description: To resolve warnings : np is deprecated

Check list:

  • New tests are added (if a new feature is added)
  • New doc strings: description and/or example code are in RST format
  • Documentation is updated (if required)

@github-actions github-actions bot added the module: distributed Distributed module label Sep 21, 2022
@vfdev-5 vfdev-5 closed this Sep 21, 2022
@vfdev-5 vfdev-5 reopened this Sep 21, 2022
@vfdev-5
Copy link
Collaborator

vfdev-5 commented Sep 22, 2022

tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_no_dist
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_no_dist
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_no_dist
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_no_dist
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_dist_1
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_dist_1
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_dist_2
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_dist_2
  /usr/share/miniconda3/envs/test/lib/python3.8/site-packages/horovod/runner/__init__.py:200: DeprecationWarning: np is deprecated, use num_proc instead
    warnings.warn('np is deprecated, use num_proc instead', DeprecationWarning)

Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

Thanks @puhuk !

@vfdev-5 vfdev-5 merged commit daa3c96 into pytorch:master Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: distributed Distributed module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants