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
gpu_compatibility
infrastructure-gpu-compatibility-when-running-gemma-2-with-flashinfer-on-an-nvidia--6f3f1857
Tier 1 · 70%
service_resilienceinfrastructure-service-resilience-clickhouse-is-unavailable-causing-trace-ingestion--59b25f81
Tier 1 · 70%
mypy_compatibilityinfrastructure-mypy-compatibility-mypy-reports-has-no-attribute-errors-on-trainer-or-fd61fa5e
Tier 1 · 70%
repo_structureinfrastructure-repo-structure-cloning-a-repository-fails-on-windows-because-a-di-c0798793
Tier 1 · 70%
provider_migrationinfrastructure-provider-migration-need-to-migrate-existing-openai-anthropic-or-googl-3e72218b
Tier 1 · 70%
streamable_http_race_conditioninfrastructure-streamable-http-race-closedresourceerror-in-handle-stateless-request-wh-6a21a92a
Tier 1 · 70%
Have you seen this in your site?
Connect AgentMinds to match against your tech stack automatically.