Skip to content

Commit

Permalink
Switch from wandb start mode from fork to thread
Browse files Browse the repository at this point in the history
  • Loading branch information
golmschenk committed Mar 7, 2024
1 parent e363126 commit 20be387
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/qusi/single_dense_layer_model.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from __future__ import annotations

from typing_extensions import Self

import torch
from torch import Tensor
from torch.nn import Linear, Module, Sigmoid
from typing_extensions import Self


class SingleDenseLayerBinaryClassificationModel(Module):
Expand Down
2 changes: 1 addition & 1 deletion src/qusi/train_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def train_session(
process_rank=0,
project=logging_configuration.wandb_project,
entity=logging_configuration.wandb_entity,
settings=wandb.Settings(start_method="fork"),
settings=wandb.Settings(start_method="thread"),
)
sessions_directory = Path("sessions")
sessions_directory.mkdir(exist_ok=True)
Expand Down

0 comments on commit 20be387

Please sign in to comment.