Skip to content

Eventual-Inc/daft-runner-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

daft-runner-test

How to check which runner Daft is using. These are exported in daft.__all__ but not in the docs.

daft.get_or_infer_runner_type()  # returns "native" or "ray", no side effects
daft.get_or_create_runner()      # returns the Runner object, locks it in

The runner can only be set once per process - see runner_check.py (native) and runner_check_ray.py (ray) for details.

Tested with daft 0.7.5, ray 2.54.0, Python 3.12.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages