Skip to content

Commit

Permalink
match ray cluster python version
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsmechtel committed Dec 14, 2024
1 parent 246b2a9 commit 000097d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use an image with Python 3.11
FROM python:3.11-slim
FROM python:3.11.9-slim

# Set the working directory
WORKDIR /app/
Expand Down
2 changes: 2 additions & 0 deletions bioimageio_colab/register_sam_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ def compute_mask_function(**kwargs: dict):
def test_model_function(**kwargs: dict):
kwargs["cache_dir"] = cache_dir
return ray.get(test_model_ray.remote(kwargs))

logger.info(f"Successfully connected to Ray (version: {ray.__version__})")

else:
compute_embedding_function = partial(
Expand Down

0 comments on commit 000097d

Please sign in to comment.