mirror of
https://github.com/allenai/olmocr.git
synced 2025-12-27 15:14:43 +00:00
no weka on augusta
This commit is contained in:
parent
eefb045859
commit
9ce243ee6c
@ -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://")]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user