Adds a check to make sure the WandB api key (if provided) is the correct length. This matches the check in the WandB library.
Note that this does not mean the api key is valid. Determining if it is possible to determine this conclusively without starting a new run. It seems WandB does not explicitly support this.
Issue # https://linear.app/together-ai/issue/ENG-450/fine-tune-70b-job-failed-due-to-wandb-response-401
Describe your changes
Adds a check to make sure the WandB api key (if provided) is the correct length. This matches the check in the WandB library.
Note that this does not mean the api key is valid. Determining if it is possible to determine this conclusively without starting a new run. It seems WandB does not explicitly support this.