Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Don't check wandb assert if not using wandb #52

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

hijohnnylin
Copy link
Collaborator

Issue:
DashboardRunner fails when use_wandb=False

Cause:
DashboardRunner does an assert at the end to check if "run" (a wandb variable) is not None, even if use_wandb is set to False. This will always fail when use_wandb is False because "run" isn't initialized.

Fix:
Add check for use_wandb before doing this assert and other code for uploading to wandb.

Possible modifications / other considerations:
Should we still zip up the folder and/or delete it?

@jbloomAus jbloomAus merged commit 5c48811 into jbloomAus:main Mar 26, 2024
2 of 3 checks passed
tom-pollak pushed a commit to tom-pollak/SAELens that referenced this pull request Oct 22, 2024
FIX: Don't check wandb assert if not using wandb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants