Skip to content

fix(templates): deliver added deps via runtime_env (audio, e2e-timeseries, image-search)#916

Open
Aydin-ab wants to merge 1 commit into
mainfrom
dep-good-practice/runtime-env-trio
Open

fix(templates): deliver added deps via runtime_env (audio, e2e-timeseries, image-search)#916
Aydin-ab wants to merge 1 commit into
mainfrom
dep-good-practice/runtime-env-trio

Conversation

@Aydin-ab

Copy link
Copy Markdown
Contributor

Wire added deps to workers/replicas via runtime_env so the standalone Service/Job path matches the workspace (per the /template skill Runtime skew guidance, #905). Part of the dependency good-practice pass.

What changed

  • audio-dataset-curation-llm-judge: add ray.init(runtime_env={pip: lock}) — it had none, so the resample UDF + Whisper/Llama actors got deps only via workspace auto-propagation.
  • e2e-timeseries-forecasting (3 notebooks): add pip:lock to the existing runtime_env (was py_modules only), anchored to the package file.
  • image-search-and-classification: version currency only (Ray 2.51→2.56, mlflow 2.19→2.22 across 3 configs + containerfile); ship-path deps already correctly scoped.
  • numpy pin deferred to the in-flight migrate-to-multimodal branch.

Testing

/test-template on the three templates. Note: /test-template runs the workspace path (auto-propagation covers it), so it won't fully exercise the standalone Service/Job path these fixes improve.

@Aydin-ab

Copy link
Copy Markdown
Contributor Author

/test-template audio-dataset-curation-llm-judge e2e-timeseries-forecasting image-search-and-classification

… stack

audio-dataset-curation-llm-judge, e2e-timeseries-forecasting: forward python_depset.lock to Ray
workers/replicas via runtime_env so the standalone Job/Service path installs them (workspace
auto-propagation does not reach production). image-search-and-classification: bump stale Ray
2.51.0 / mlflow 2.19 to 2.56 / 2.22 in its service/job configs and containerfile.

Claude-Session: https://claude.ai/code/session_01QmLc4yWtmC3PX2NwWzPbzD
Signed-off-by: Aydin Abiar <aydin@anyscale.com>
@Aydin-ab
Aydin-ab force-pushed the dep-good-practice/runtime-env-trio branch from 33a363e to 71ce87c Compare July 22, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant