Skip to content

[W/ Potential Severe Consequences] Running sweep() on different directory structure results in bugs. #208

Description

@HuFY-dev

I wrote a notebook calling the sweep function.
sweep() calls wandb.agent(sweep_id, train) which calls train() which calls run_training_pipeline(), and in the release version of run_training_pipeline()#L268: checkpoint_path = Path("../../.checkpoints"), and this is used later to attempt to create a .checkpoint directory two directories up from my current working directory, which is messing up with my file system in the root directories.
In the main branch, the code looks pretty different, which is instead creating .checkpoint with respect to where the library is installed (correct me if I'm wrong). I assume that's not expected behavior.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions