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 Dask example #46

Merged
merged 11 commits into from
Nov 24, 2022
Merged

Add Dask example #46

merged 11 commits into from
Nov 24, 2022

Conversation

jrbourbeau
Copy link
Contributor

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

import optuna

import dask.array as da
Copy link
Contributor Author

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

@github-actions
Copy link

This pull request has not seen any recent activity.

@github-actions github-actions bot added the stale Exempt from stale bot labeling. label Jun 12, 2022
@github-actions
Copy link

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.

@github-actions github-actions bot closed this Jun 26, 2022
@jrbourbeau
Copy link
Contributor Author

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?)

@c-bata c-bata reopened this Oct 4, 2022
@c-bata
Copy link
Member

c-bata commented Oct 4, 2022

@jrbourbeau I've reopened this PR. Thank you for your huge effort. I'll review optuna/optuna#2023 within a week 🙇

@jrbourbeau
Copy link
Contributor Author

Thanks @c-bata!

@github-actions github-actions bot removed the stale Exempt from stale bot labeling. label Oct 4, 2022
@github-actions
Copy link

This pull request has not seen any recent activity.

@github-actions github-actions bot added the stale Exempt from stale bot labeling. label Oct 11, 2022
@github-actions
Copy link

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.

@github-actions github-actions bot closed this Oct 26, 2022
@c-bata c-bata reopened this Oct 27, 2022
@github-actions github-actions bot removed the stale Exempt from stale bot labeling. label Oct 27, 2022
@github-actions
Copy link

github-actions bot commented Nov 6, 2022

This pull request has not seen any recent activity.

@github-actions github-actions bot added the stale Exempt from stale bot labeling. label Nov 6, 2022
@github-actions github-actions bot removed the stale Exempt from stale bot labeling. label Nov 8, 2022
@c-bata c-bata self-assigned this Nov 9, 2022
Copy link
Member

@c-bata c-bata left a 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.

@c-bata c-bata added the feature Change that does not break compatibility, but affects the public interfaces of examples. label Nov 9, 2022
@c-bata c-bata added this to the v3.1.0 milestone Nov 9, 2022
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']

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?

Copy link
Contributor Author

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

@c-bata c-bata changed the title [WIP] Add Dask example Add Dask example Nov 15, 2022
Copy link
Member

@c-bata c-bata left a 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?

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
Copy link
Member

@c-bata c-bata Nov 14, 2022

Choose a reason for hiding this comment

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

Suggested change
pip install git+https://github.com/jrbourbeau/optuna.git@dask-storage
pip install git+https://github.com/optuna/optuna.git

Copy link
Contributor Author

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 👍

Copy link
Member

@c-bata c-bata left a comment

Choose a reason for hiding this comment

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

LGTM!

@c-bata c-bata merged commit 11b67e2 into optuna:main Nov 24, 2022
@jrbourbeau jrbourbeau deleted the dask branch November 24, 2022 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Change that does not break compatibility, but affects the public interfaces of examples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants