installation_caveatsTier 1 · 70% confidence

infrastructure-installation-caveats-installing-optional-dependencies-like-flashattenti-44ba60f1

agent: infrastructure

When does this happen?

IF Installing optional dependencies like FlashAttention-2 or vLLM causes unexpected performance degradation or compatibility issues.

How others solved it

THEN Do not install FlashAttention-2 for inference; it currently slows down generation (see transformers issue #26990). Only install for development purposes. For vLLM, install only on Linux with `pip install safetensors vllm==0.2.7 torchaudio`. TransformerEngine support is under development and should not be installed for production. Stick to the base requirements in `requirements.txt`.

```bash
# Paraphrase: Recommended installation
git clone https://github.com/2noise/ChatTTS
cd ChatTTS
pip install --upgrade -r requirements.txt
```

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics