Implement an interface for Distributed-like libraries#871
Merged
timholy merged 3 commits intotimholy:masterfrom Jan 2, 2025
Merged
Implement an interface for Distributed-like libraries#871timholy merged 3 commits intotimholy:masterfrom
timholy merged 3 commits intotimholy:masterfrom
Conversation
a0bc479 to
6d879e4
Compare
timholy
reviewed
Dec 28, 2024
Owner
timholy
left a comment
There was a problem hiding this comment.
I'm strongly supportive of anything that reduces dependency on Distributed, especially if the replacements are less vulnerable to invalidations. The overall design of this PR seems OK.
Mostly so that we can use package extensions.
This moves support for Distributed into a package extension and adds an interface for other distributed worker libraries to use to support Revise for their workers.
b468b35 to
5955e0e
Compare
timholy
approved these changes
Jan 2, 2025
Owner
|
Thanks! Coming out momentarily in Revise 3.7.0. |
|
How will this work? Right now, I basically do with and now if I update Does this workflow need to be changed? |
Contributor
Author
|
No, the behaviour should be identical to previous versions. The only change in the PR is to make loading Distributed optional and allow support for other libraries to hook into Revise for their workers. |
Owner
|
@affans , Distributed badly needs re-engineering. This should make it easier to update or replace it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This moves support for Distributed into a package extension and adds an interface for other distributed worker libraries (i.e. DistributedNext.jl) to use to support Revise for their workers. Admittedly the interface is quite... clunky... so I'm open to other ideas. This also required bumping the minimum Julia version to 1.9 to use package extensions.
As a bonus the load times are slightly improved: