-
Notifications
You must be signed in to change notification settings - Fork 171
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 Dask example #46
Add Dask example #46
Conversation
import optuna | ||
|
||
import dask.array as da |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is to avoid an isort
error in the dask-ml
example, though I'm not sure why this didn't appear over in #45
This pull request has not seen any recent activity. |
This pull request was closed automatically because it had not seen any recent activity. If you want to discuss it, you can reopen it freely. |
Similar to optuna/optuna#2023, I'd like to pick this PR back up but don't see the "Reopen pull request" button in the GitHub UI. Could someone reopen this PR for me? (maybe @nzw0301 can since they were the one who reopened optuna/optuna#2023?) |
@jrbourbeau I've reopened this PR. Thank you for your huge effort. I'll review optuna/optuna#2023 within a week 🙇 |
Thanks @c-bata! |
This pull request has not seen any recent activity. |
This pull request was closed automatically because it had not seen any recent activity. If you want to discuss it, you can reopen it freely. |
This pull request has not seen any recent activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Let me merge this PR after optuna/optuna#2023 is merged.
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ['3.7', '3.8', '3.9', '3.10'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
having python 3.7 wouldn't be a problem for certain versions of dask?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it shouldn't be an issue. It will cause an older version of distributed
to get pulled in, but optuna/optuna#2023 doesn't use any new distributed
features so is backwards compatible back to Python 3.7. Note that optuna/optuna#2023 has Python 3.7 CI builds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jrbourbeau I merged optuna/optuna#2023, so could you update the URL?
.github/workflows/dask.yml
Outdated
run: | | ||
python -m pip install --upgrade pip | ||
pip install --progress-bar off -U setuptools | ||
pip install git+https://github.com/jrbourbeau/optuna.git@dask-storage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pip install git+https://github.com/jrbourbeau/optuna.git@dask-storage | |
pip install git+https://github.com/optuna/optuna.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, apologies for the delay. Just updated the link 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR adds an example for Optuna's upcoming native Dask integration (xref optuna/optuna#2023). This shouldn't be merged until after optuna/optuna#2023 has been merged