From f3940d9c59cc2e8cddb05c500d37d292089b2363 Mon Sep 17 00:00:00 2001 From: Caroline Date: Sun, 17 Nov 2024 13:06:37 -0500 Subject: [PATCH] Include launcher type in cluster factory check --- runhouse/resources/hardware/cluster_factory.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runhouse/resources/hardware/cluster_factory.py b/runhouse/resources/hardware/cluster_factory.py index 800339805..b2cde4d25 100644 --- a/runhouse/resources/hardware/cluster_factory.py +++ b/runhouse/resources/hardware/cluster_factory.py @@ -108,6 +108,7 @@ def cluster( domain=domain, den_auth=den_auth, default_env=default_env, + launcher_type=launcher_type, kwargs=kwargs if len(kwargs) > 0 else None, ) # Filter out None/default values @@ -448,6 +449,7 @@ def ondemand_cluster( domain=domain, den_auth=den_auth, default_env=default_env, + launcher_type=launcher_type, ) # Filter out None/default values alt_options = {k: v for k, v in alt_options.items() if v is not None}