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

fix Lightning failing Bagua test for manual optimization #661

Open
wangraying opened this issue Jan 3, 2023 · 1 comment
Open

fix Lightning failing Bagua test for manual optimization #661

wangraying opened this issue Jan 3, 2023 · 1 comment

Comments

@wangraying
Copy link
Member

see this:Lightning-AI/pytorch-lightning#16225

@woqidaideshi
Copy link
Contributor

@wangraying

After an investigation of this problem, I found that this failure is caused by scikit-optimize library used by Bagua. In detail, scikit-optimize library currently uses an old builtin type of numpy (i.e., numpy.int), which is deprecated by numpy>=1.24.0.

To avoid this problem, users can choose to use numpy<1.24.0.

In the meantime, scikit-optimize is trying to fix this problem (PR: scikit-optimize/scikit-optimize#1123). After that, users can use the updated scikit-optimize with numpy>=1.24.0 in Bagua.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants