Comments (3)
I was unable to reproduce with:
from prefect import flow, get_run_logger, task
from prefect_ray.task_runners import RayTaskRunner
@task
def bar():
get_run_logger().info("bar")
@flow(task_runner=RayTaskRunner)
def foo():
get_run_logger().info("foo")
bar.submit()
if __name__ == "__main__":
foo()
On prefect 2.7.1, ray 2.1.0, and prefect-ray 0.2.2.
Here, it shows begin_task_run pid=15840) 15:05:28.157 | INFO | Task run 'bar-8897b405-0' - bar
(although it's missing color)
Lastly, it shows up on UI as well
from prefect-ray.
Great work, and sorry for the noise. Indeed, everything works on 2.7.1
from prefect-ray.
Thanks for verifying!
from prefect-ray.
Related Issues (20)
- `RayTaskRunner` crashes with `pydantic>=2.0.0` HOT 3
- Python 3.10 support
- `timeout_seconds` in `task` doesn't work with `RayTaskRunner` HOT 2
- First class results error using remote ray HOT 1
- Flow crashes after multiple hanged tasks with "Prefect Task run TASK_RUN_ID already finished" HOT 5
- Recognize Ray Cluster defined via env var RAY_ADDRESS HOT 2
- Ray is stuck at the older version
- Circular Import on Deployment (again) HOT 1
- AWS EC2 Spot Interrupt fails entire flow HOT 5
- Flows with many tasks unable to complete HOT 6
- Flow code executes before dependencies present on Ray cluster
- Prefect-Ray spins up workers before the inputs for the worker tasks are ready / before the task's dependencies are complete HOT 6
- Propagating prefect task names to ray tasks instead of it showing up as _run_prefect_task in the Ray dashboard HOT 6
- Prefect Logger does not work with native Ray Functions HOT 1
- how to set resources on @task HOT 2
- Return object references from tasks?
- prefect worker start with resources ?
- Specifying resources for task causes flow to fail/crash
- Error in test suite
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 prefect-ray.