mirror of
https://github.com/allenai/olmocr.git
synced 2025-10-28 16:41:09 +00:00
Small fix for cluster usage
This commit is contained in:
parent
67a01cfcc8
commit
df71dc38ce
@ -690,7 +690,7 @@ async def main():
|
||||
dataset_s3 = boto3.client("s3")
|
||||
|
||||
# setup the job to work in beaker environment, load secrets, adjust logging, etc.
|
||||
if "BEAKER_JOB_NAME" in os.environ:
|
||||
if "BEAKER_JOB_ID" in os.environ:
|
||||
sglang_logger.addHandler(console_handler)
|
||||
cred_path = os.path.join(os.path.expanduser("~"), ".aws", "credentials")
|
||||
os.makedirs(os.path.dirname(cred_path), exist_ok=True)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user