mirror of
https://github.com/allenai/olmocr.git
synced 2025-08-20 14:52:12 +00:00
allow weka from augusta through vpn
This commit is contained in:
parent
370dbba2bc
commit
eac3b10c3f
@ -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://")]
|
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
|
# 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") or os.environ.get("BEAKER_NODE_HOSTNAME", "").lower().startswith("augusta") :
|
if os.environ.get("BEAKER_NODE_HOSTNAME", "").lower().startswith("pluto"):
|
||||||
weka_choices = []
|
weka_choices = []
|
||||||
|
|
||||||
other_choices = [path for path in model_choices if not path.startswith("weka://")]
|
other_choices = [path for path in model_choices if not path.startswith("weka://")]
|
||||||
|
@ -2,7 +2,7 @@ _MAJOR = "0"
|
|||||||
_MINOR = "1"
|
_MINOR = "1"
|
||||||
# On main and in a nightly release the patch should be one ahead of the last
|
# On main and in a nightly release the patch should be one ahead of the last
|
||||||
# released build.
|
# released build.
|
||||||
_PATCH = "22"
|
_PATCH = "23"
|
||||||
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
|
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
|
||||||
# https://semver.org/#is-v123-a-semantic-version for the semantics.
|
# https://semver.org/#is-v123-a-semantic-version for the semantics.
|
||||||
_SUFFIX = ""
|
_SUFFIX = ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user