# Alienware E2E Test (RTX 4090, 24GB VRAM)

**Issue**: #359

## The Test

This is a customer experience test. You're testing what a real customer does.

### Option A: Run the automated script

```powershell
# PowerShell (Windows)
.\tests\e2e\hardware\run-alienware.ps1

# Or with auto-post to GitHub:
.\tests\e2e\hardware\run-alienware.ps1 -PostToGitHub
```

```bash
# Bash (Linux/WSL)
bash tests/e2e/hardware/run-alienware.sh

# Or with auto-post to GitHub:
bash tests/e2e/hardware/run-alienware.sh --post-github
```

### Option B: Do it manually (exactly like a customer)

```bash
pip install llmhosts
llmhosts doctor
llmhosts serve --no-tui
```

Then in another terminal:

```bash
curl http://localhost:4000/health
curl http://localhost:4000/v1/models
curl -X POST http://localhost:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"auto","messages":[{"role":"user","content":"Hello"}]}'
```

## Pass Criteria

- [ ] `pip install llmhosts` installs cleanly from PyPI
- [ ] `llmhosts doctor` detects RTX 4090 + Ollama
- [ ] `llmhosts serve` starts without errors
- [ ] `/health` returns 200
- [ ] `/v1/models` lists Ollama models
- [ ] `/v1/chat/completions` returns inference
- [ ] 5 sequential requests all succeed

If any of these fail, it's a product bug — fix it, don't work around it.

## Results

Post output to issue #359 (the script does this with `-PostToGitHub` / `--post-github`).
