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

add WANDB_DISABLED for p-tuning as default #413

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

panpan0000
Copy link

otherwise, it always prompt below human interaction , when running p-tuning script "bash train.sh"

>> Automatic Weights & Biases logging enabled, to disable set os.environ["WANDB_DISABLED"] = "true"
wandb: (1) Create a W&B account
wandb: (2) Use an existing W&B account
wandb: (3) Don't visualize my results
wandb: Enter your choice: 

so disable it by default

@nuaabuaa07
Copy link

在 train.sh中,顶部增加一行。export WANDB_DISABLED="true" 。其实就是增加一个环境变量。

@panpan0000
Copy link
Author

默认关闭对新手更友好

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.

None yet

2 participants