A simple, cross-shell repository for keeping your aliases in one place and installing them on any machine in a single command.
📖 AI Agent Guide: See AGENT_BENCHMARK_GUIDE.md for comprehensive benchmark instructions for AI agents.
aliases.sh
— Your shell aliases and functions (works in bash, zsh, and POSIX-compatible shells)bashrc.snippet
— Loader snippet for Bash (~/.bashrc
)zshrc.snippet
— Loader snippet for Zsh (~/.zshrc
)install.sh
— Idempotent installer scriptpython/vllm_test_infra/
— Python infrastructure for vLLM testingscripts/
— Python test scripts (gsm8k_eval.py, benchmark_compare.py)bash-scripts/
— Legacy bash scripts (deprecated, use Python scripts instead)
One-liner for any machine:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/LucasWilkinson/dot-aliases/main/install.sh)"
This will:
- Create
~/.config/aliases/
directory - Download
aliases.sh
to~/.config/aliases/aliases.sh
- Add a loader line to your
~/.bashrc
or~/.zshrc
(idempotent—safe to run multiple times) - Load the aliases in your current session
Open a new shell or run:
source ~/.config/aliases/aliases.sh
Create ~/.config/aliases/local.sh
for host-specific aliases or secrets. It will automatically be sourced at the end of aliases.sh
if it exists:
# ~/.config/aliases/local.sh (not tracked in Git)
alias myhost='ssh user@myhost'
export MY_SECRET_TOKEN="..."
Add this alias to your aliases.sh
to keep aliases up-to-date:
alias aliases-update='curl -fsSL https://raw.githubusercontent.com/LucasWilkinson/dot-aliases/main/aliases.sh -o ~/.config/aliases/aliases.sh && source ~/.config/aliases/aliases.sh && echo "Aliases updated."'
ll
—ls -lah
la
—ls -la
l
—ls -la
gs
—git status
gp
—git pull --rebase --autostash && git push
gd
—git diff
gc
—git commit
ga
—git add
v
—nvim
vi
—vim
ports
—sudo lsof -i -P -n | grep LISTEN
(show listening ports)gpu
—nvidia-smi
or "No NVIDIA GPU"gpumem
— Show GPU memory usage
venv
— Activate vLLM virtual environmentvllm-code
— Jump to vLLM code directoryvllm-build
— Rebuild vLLM with CUDA kernelsvllm-test
— Run pytest with verbose outputcleanup-vllm
— Kill vLLM processes
benchmark
— Benchmark current branch (standalone, simplified)benchmark-compare
— Compare benchmarks across git branchesgsm8k-eval
— Run GSM8K evaluation (from any directory)vllm-test-infra-install
— Install Python dependencies for test infrastructure
py
/py3
— Python shortcutsreload
— Reload~/.bashrc
aliases-edit
— Edit aliases with$EDITOR
aliases-reload
— Reload aliases immediately
cp
—cp -i
(interactive)mv
—mv -i
(interactive)rm
—rm -i
(interactive)
Edit aliases.sh
and commit:
cd ~/dot-aliases
# Edit aliases.sh
git add aliases.sh
git commit -m "Update aliases"
git push
Then on any machine, run:
aliases-update
Or force a fresh pull on your current machine:
curl -fsSL https://raw.githubusercontent.com/LucasWilkinson/dot-aliases/main/install.sh | bash
A reusable Python infrastructure for running vLLM benchmarks and evaluations with robust server management, process monitoring, and user interfaces.
- Robust Server Management: Auto-detects GPU requirements, uses
chg
for reservation, monitors logs for fast-fail - Process Monitoring: Signal handling, zombie cleanup, timeouts
- Dual UI Modes: Textual-based TUI for interactive use, simple stdout for AI agents
- Git Integration: Branch comparison, automatic builds
- Extensible: Easy to add new test scripts
Install dependencies:
vllm-test-infra-install
# Or manually: pip install -r ~/.config/aliases/dot-aliases/python/requirements.txt
Benchmark current branch (from any directory):
benchmark --model deepseek-ai/DeepSeek-V3.2-Exp -tp 8 --rates "1,5,10"
Run GSM8K evaluation (from any directory):
gsm8k-eval --model deepseek-ai/DeepSeek-R1 --limit 100
Compare benchmarks across branches (from any directory):
benchmark-compare \
--model meta-llama/Meta-Llama-3-8B-Instruct \
--rates 1,5,10 \
--variants 'base::;full::-O.cudagraph_mode=FULL'
See python/README.md for full documentation.
- The installer is simple and readable—review it before running
- For extra safety, pin a specific commit:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/LucasWilkinson/dot-aliases/<COMMIT_SHA>/install.sh)"
- Use
~/.config/aliases/local.sh
to keep secrets out of Git
MIT