diff --git a/latch/resources/tasks.py b/latch/resources/tasks.py index 75b9a031..d135a37e 100644 --- a/latch/resources/tasks.py +++ b/latch/resources/tasks.py @@ -208,12 +208,12 @@ def _get_small_pod() -> Pod: - GPU - On-Demand * - Request - - 46 + - 90 - 176Gi - 0 - True * - Limit - - 48 + - 96 - 196Gi - 0 - True diff --git a/latch_cli/centromere/utils.py b/latch_cli/centromere/utils.py index 7bba15e0..9b0b12f9 100644 --- a/latch_cli/centromere/utils.py +++ b/latch_cli/centromere/utils.py @@ -75,7 +75,7 @@ def fake_import(name, globals=None, locals=None, fromlist=(), level=0): fromlist=fromlist, level=level, ) - except (ModuleNotFoundError, AttributeError): + except (ModuleNotFoundError, AttributeError) as e: return FakeModule(name) # Temporary ctx tells lytekit to skip local execution when @@ -118,7 +118,7 @@ def _from_env(): # empty string for tls verify counts as "false". # Any value or 'unset' counts as true. - tls_verify = environment.get("DOCKER_TLS_VERIFY") is not "" + tls_verify = environment.get("DOCKER_TLS_VERIFY") != "" enable_tls = tls_verify or cert_path is not None