Comments (2)
This could (almost) already be achieved by using
ready_ids, _ = ray.wait(object_ids, timeout=...)
ray.get(ready_ids)
The differences are that
- This involves a little more code.
- This involves an extra IPC round trip to the object store.
- Some of the objects corresponding to the object IDs in
ready_ids
could in principle be evicted from the object store between between theray.wait
andray.get
call, causing theray.get
call to block for a little while.
from ray.
Let's hold off on this for now. If there's a need for it, we can certainly add it in.
Right now, the main use case seems to be that you call ray.get
in your interpreter and it's taking too long, so you want to do Ctrl-C to exit the get (it would require a lot of foresight to have thought to pass in a timeout ahead of time).
from ray.
Related Issues (20)
- Cannot use the tokenizer for ChatGLM3-6b in Ray HOT 1
- what is the best version of TensorFlow in using attention_net_supervised.py?
- Error while running attention_net_supervised.py
- CI test linux://rllib:learning_tests_pendulum_cql is flaky HOT 1
- CI test windows://python/ray/tests:test_task_metrics is flaky HOT 1
- CI test darwin://python/ray/tests:test_runtime_env_working_dir_3 is flaky HOT 1
- [Data] AttributeError: 'Worker' object has no attribute 'core_worker' HOT 3
- CI test linux://python/ray/tests:test_client_builder is flaky HOT 1
- [docs] [madewithml] Add tutorial to regression tests
- [docs] Create requirement to pin dependencies for examples
- [<Ray component: Data>] FileBasedDatasource's `supports_distributed_reads` attribute is getting incorrectly assigned HOT 5
- [RLLIB] Passing configuration to Custom Environment in rllib is giving an error HOT 1
- [ci] Minimal build tests install dependencies from latest Ray release instead of locally-installed version HOT 1
- [data] support pyspark 3.5
- [core] support virtualenv 20.25.0
- CI test linux://python/ray/tests:test_object_assign_owner_client_mode is flaky HOT 1
- CI test linux://rllib:examples/action_masking_torch is flaky HOT 1
- Problem with YOLOv8 Hyperparameters tuning HOT 3
- [RLlib] - Using new `SingleAgentEnvRunner` with `"MeanStdFilter"` results in error. HOT 1
- [RLlib] - Implement a replacement for `EpisodeV2.user_data` in the new `SingleAgentEpisode` to enable custom metrics
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ray.