Loading...
Loading...
Brev instance operating guidance for NeMo-RL agents working in /home/ubuntu/RL with limited workspace disk, a larger /ephemeral volume, and optional /home/ubuntu/RL/.env secrets. Use when running nemo-rl-auto-research campaigns, experiments, training jobs, model or dataset downloads, shared cache-heavy commands, log-producing runs, checkpoint generation, W&B or Hugging Face authenticated workflows, or any workflow that may create large files on Brev.
npx skill4agent add nvidia/skills nemo-rl-brev-etiquette/home/ubuntu/RL/ephemeral/ephemeral/home/ubuntu/RL/ephemeral/ephemeraluvdf -h /home/ubuntu/RL /ephemeral/ephemeral/ephemeral/nemo-rl/${USER:-ubuntu}/nemo-rl-auto-research/<campaign>/home/ubuntu/RL/.envWANDB_API_KEYHF_TOKENHUGGING_FACE_HUB_TOKEN/home/ubuntu/RL/.envcat/home/ubuntu/RL/.envif [ -f /home/ubuntu/RL/.env ]; then
set -a
. /home/ubuntu/RL/.env
set +a
else
echo "Missing /home/ubuntu/RL/.env; add required keys such as WANDB_API_KEY or HF_TOKEN before authenticated runs."
finemo-rl-auto-research/ephemeralif [ -f /home/ubuntu/RL/.env ]; then
set -a
. /home/ubuntu/RL/.env
set +a
fi
BREV_ROOT=/ephemeral/nemo-rl/${USER:-ubuntu}
CACHE_ROOT=$BREV_ROOT/cache
CAMPAIGN_ROOT=$BREV_ROOT/nemo-rl-auto-research/<campaign>
EXP_DIR=$CAMPAIGN_ROOT/<experiment>
mkdir -p "$EXP_DIR"/{logs,checkpoints,artifacts,ray,tmp,wandb}
mkdir -p "$CACHE_ROOT"/{huggingface,torch,triton,uv,pip,xdg,wandb}
export HF_HOME=$CACHE_ROOT/huggingface
export HF_HUB_CACHE=$HF_HOME/hub
export HF_DATASETS_CACHE=$HF_HOME/datasets
export TRANSFORMERS_CACHE=$HF_HOME/transformers
export TORCH_HOME=$CACHE_ROOT/torch
export TRITON_CACHE_DIR=$CACHE_ROOT/triton
export UV_CACHE_DIR=$CACHE_ROOT/uv
export PIP_CACHE_DIR=$CACHE_ROOT/pip
export XDG_CACHE_HOME=$CACHE_ROOT/xdg
export WANDB_CACHE_DIR=$CACHE_ROOT/wandb
export RAY_TMPDIR=$EXP_DIR/ray
export TMPDIR=$EXP_DIR/tmp
export WANDB_DIR=$EXP_DIR/wandb/ephemeral/ephemeraldf -h /home/ubuntu/RL /ephemeral/ephemeral/ephemeral/nemo-rl/${USER:-ubuntu}/cache$EXP_DIR/logs/run.log/ephemeraldf -h /ephemeral/home/ubuntu/RL/ephemeral/nemo-rl/.../ephemeral