Skip to content

Commit

Permalink
Minor change for job bump
Browse files Browse the repository at this point in the history
  • Loading branch information
vanpelt committed Aug 13, 2024
1 parent d18b2c7 commit 7e47762
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jobs/slurm/submitit/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ def slow_multiplication(x, y):
async def main():
print(f"Running in conda env: {os.getenv("CONDA_DEFAULT_ENV")}")
print(f"From directory: {os.getcwd()}")

executor = submitit.AutoExecutor(folder="logs")
wandb.init(project="submitit-test", config={
"submitit": {"timeout_min": None, "partition": None}
})
launch.manage_wandb_config(include="submitit")
# executor.update_parameters(timeout_min=1)
executor.update_parameters(timeout_min=1)

# await a single result
job = executor.submit(slow_multiplication, 10, 2)
Expand Down

0 comments on commit 7e47762

Please sign in to comment.