-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Java call Python actor method use actor.call #7614
Java call Python actor method use actor.call #7614
Conversation
Can one of the admins verify this patch? |
@@ -268,7 +268,7 @@ def dashboard(cluster_config_file, cluster_name, port): | |||
@click.option( | |||
"--internal-config", | |||
default=None, | |||
type=str, | |||
type=json.loads, |
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.
What's this change for?
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.
Maybe it's a new bug in master. If I don't fix it, the Java tests can't start a local cluster.
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.
@kfstorm this seems related to your previous RP? Java CI is failing on master.
...ava/streaming-runtime/src/main/java/org/ray/streaming/runtime/schedule/JobSchedulerImpl.java
Outdated
Show resolved
Hide resolved
Test FAILed. |
Test PASSed. |
Test PASSed. |
java/runtime/src/main/java/org/ray/runtime/util/generator/RayCallGenerator.java
Outdated
Show resolved
Hide resolved
@@ -268,7 +268,7 @@ def dashboard(cluster_config_file, cluster_name, port): | |||
@click.option( | |||
"--internal-config", | |||
default=None, | |||
type=str, | |||
type=json.loads, |
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.
@kfstorm this seems related to your previous RP? Java CI is failing on master.
java/runtime/src/main/java/org/ray/runtime/util/generator/RayCallGenerator.java
Outdated
Show resolved
Hide resolved
…allGenerator.java Co-Authored-By: Hao Chen <[email protected]>
Test PASSed. |
Test PASSed. |
Test PASSed. |
* enable * Turn on eager eviction * Shorten tests and drain ReferenceCounter * Don't force kill actor handles that have gone out of scope, lint * Fix locks * Cleanup Plasma Async Callback (#7452) * [rllib][tune] fix some nans (#7611) * Change /tmp to platform-specific temporary directory (#7529) * [Serve] UI Improvements (#7569) * bugfix about test_dynres.py (#7615) Co-authored-by: senlin.zsl <[email protected]> * Java call Python actor method use actor.call (#7614) * bug fix about useage of absl::flat_hash_map::erase and absl::flat_hash_set::erase (#7633) Co-authored-by: senlin.zsl <[email protected]> * [Java] Make both `RayActor` and `RayPyActor` inheriting from `BaseActor` (#7462) * [Java] Fix the issue that the cached value in `RayObject` is serialized (#7613) * Add failure tests to test_reference_counting (#7400) * Fix typo in asyncio documentation (#7602) * Fix segfault * debug * Force kill actor * Fix test
Why are these changes needed?
Java use
actor.call
to call actor method, but Java call Python useRay.callPy(pyActor, ...)
. These APIs are inconsistent.Related issue number
Checks
scripts/format.sh
to lint the changes in this PR.