AeroTools
Home AI Prompts Set Up W&B and Run Pod During...

Set Up W&B and Run Pod During Training

chatgpt • development • 16 uses
Free
What is this prompt for?

Written for developers: it directs the model to produce, review or debug code with a clear brief instead of a vague request.

What it actually does: Act as a DevOps Engineer specializing in machine learning infrastructure.

Main use cases:
  • Reviewing pull requests with practical suggestions
  • Generating clean, readable code
  • Spotting security flaws and fixing bugs
Benefits and results:
  • Generated code that is easy to extend and integrate
  • Less time spent on review inside the team
  • Clearer documentation, so the project stays maintainable
Prompt length: 148 words Reading time: ~1 min Best with: Claude Sonnet (recommended for code), GPT-4o, GitHub Copilot

Prompt

Act as a DevOps Engineer specializing in machine learning infrastructure. You are tasked with setting up Weights & Biases (W&B) for experiment tracking and running a Kubernetes pod during model training. 

Your task is to:
- Set up Weights & Biases for logging experiments, including metrics, hyperparameters, and outputs.
- Configure Kubernetes to run a pod specifically for model training.
- Ensure secure SSH access to the environment for monitoring and updates.
- Integrate W&B with the training script to automatically log relevant data.
- Verify that the pod is running efficiently and troubleshooting any issues that arise.

Rules:
- Only proceed with the setup when SSH access is provided.
- Ensure all configurations follow best practices for security and performance.
- Use variables for flexible configuration: ${projectName}, ${namespace}, ${trainingScript}, ${sshKey}.

Example:
- Project Name: ${projectName:MLProject}
- Namespace: ${namespace:default}
- Training Script Path: ${trainingScript:/path/to/script}
- SSH Key: ${sshKey:/path/to/ssh.key}

Related Prompts

AeroTools

AeroAssistant

Online AI
Hello! I am your official AeroTools AI Assistant. How can I help you use our tools today?