Skip to content

Commit

Permalink
📖 fix typos (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgafni authored Oct 8, 2024
1 parent a9138ad commit 84bf5bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

- `RayRunLauncher` - a `RunLauncher` which submits Dagster runs as isolated Ray jobs (in cluster mode) to a Ray cluster.

- `ray_executor` - an `Executor` which submits invididual Dagster steps as isolated Ray jobs (in cluster mode) to a Ray cluster.
- `ray_executor` - an `Executor` which submits individual Dagster steps as isolated Ray jobs (in cluster mode) to a Ray cluster.

- `PipesKubeRayJobClient`, a [Dagster Pipes](https://docs.dagster.io/concepts/dagster-pipes) client for launching and monitoring [KubeRay](https://github.com/ray-project/kuberay)'s `RayJob` CR in Kubernetes. Typically used with external Pythons scripts. Allows receiving rich logs, events and metadata from the job.

Expand Down Expand Up @@ -246,7 +246,7 @@ pipes_rayjob_client = PipesKubeRayJobClient(..., port_forward=not in_k8s)

#### `KubeRayCluster`

`KubeRayCluster` can be used for running Ray computations on Kubernetes in client (interactive) mode. Requies stable persistent connection through the duration of the Dagster step.
`KubeRayCluster` can be used for running Ray computations on Kubernetes in client (interactive) mode. Requires stable persistent connection through the duration of the Dagster step.

When added as resource dependency to an `@op/@asset`, the `KubeRayCluster`:
- Starts a dedicated `RayCluster` for it
Expand All @@ -268,7 +268,7 @@ import ray

@asset
def my_asset(
ray_cluster: RayResource, # RayResource is a backeand-agnostic type annotation
ray_cluster: RayResource, # RayResource is a backend-agnostic type annotation
):
return ray.get(ray.put(42)) # interact with the Ray cluster!

Expand Down

0 comments on commit 84bf5bc

Please sign in to comment.