pixano_inference.ray.utils
Utility functions for Ray Serve infrastructure.
build_runtime_env(pip_packages=None, working_dir=None)
Build a Ray runtime environment configuration.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pip_packages
|
list[str] | None
|
Explicit list of pip packages to install in Ray workers. |
None
|
working_dir
|
str | None
|
Working directory for Ray workers. |
None
|
Returns:
| Type | Description |
|---|---|
dict | None
|
Runtime environment dictionary for Ray, or None if empty. |