no weka on augusta

This commit is contained in:
Jake Poznanski 2024-11-15 14:19:18 -08:00
parent eefb045859
commit 9ce243ee6c

View File

@ -180,7 +180,7 @@ def download_directory(model_choices: List[str], local_dir: str):
weka_choices = [path for path in model_choices if path.startswith("weka://")]
# This is so hacky, but if you are on beaker/pluto, don't use weka
if os.environ.get("BEAKER_NODE_HOSTNAME", "").lower().startswith("pluto"):
if os.environ.get("BEAKER_NODE_HOSTNAME", "").lower().startswith("pluto") or os.environ.get("BEAKER_NODE_HOSTNAME", "").lower().startswith("augusta") :
weka_choices = []
other_choices = [path for path in model_choices if not path.startswith("weka://")]