llama-stack/llama_stack/distribution
Yuan Tang 7558678b8c
Fix uv pip install timeout issue for PyTorch (#929)
This fixes the following timeout issue when installing PyTorch via uv.
Also see reference: https://github.com/astral-sh/uv/pull/1694,
https://github.com/astral-sh/uv/issues/1549

```
Installing pip dependencies
Using Python 3.10.16 environment at: /home/yutang/.conda/envs/distribution-myenv
  × Failed to download and build `antlr4-python3-runtime==4.9.3`
  ├─▶ Failed to extract archive
  ├─▶ failed to unpack
  │   `/home/yutang/.cache/uv/sdists-v7/.tmpDWX4iK/antlr4-python3-runtime-4.9.3/src/antlr4/ListTokenSource.py`
  ├─▶ failed to unpack
  │   `antlr4-python3-runtime-4.9.3/src/antlr4/ListTokenSource.py` into
  │   `/home/yutang/.cache/uv/sdists-v7/.tmpDWX4iK/antlr4-python3-runtime-4.9.3/src/antlr4/ListTokenSource.py`
  ├─▶ error decoding response body
  ├─▶ request or response body error
  ╰─▶ operation timed out
  help: `antlr4-python3-runtime` (v4.9.3) was included because `torchtune`
        (v0.5.0) depends on `omegaconf` (v2.3.0) which depends on
        `antlr4-python3-runtime>=4.9.dev0, <4.10.dev0`
Failed to build target distribution-myenv with return code 1
```

---------

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
2025-02-03 06:39:35 -08:00
..
routers Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
server Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
store Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
ui Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
utils Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
build.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
build_conda_env.sh Fix uv pip install timeout issue for PyTorch (#929) 2025-02-03 06:39:35 -08:00
build_container.sh Fix uv pip install timeout issue for PyTorch (#929) 2025-02-03 06:39:35 -08:00
build_venv.sh Fix uv pip install timeout issue for PyTorch (#929) 2025-02-03 06:39:35 -08:00
client.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
common.sh API Updates (#73) 2024-09-17 19:51:35 -07:00
configure.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
configure_container.sh More generic image type for OCI-compliant container technologies (#802) 2025-01-17 16:37:42 -08:00
datatypes.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
distribution.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
inspect.py REST API fixes (#789) 2025-01-16 13:47:08 -08:00
library_client.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
request_headers.py Add X-LlamaStack-Client-Version, rename ProviderData -> Provider-Data (#735) 2025-01-09 11:51:36 -08:00
resolver.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
stack.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
start_conda_env.sh Make llama stack build not create a new conda by default (#788) 2025-01-16 13:44:53 -08:00
start_container.sh Ensure llama stack build --config <> --image-type <> works (#879) 2025-01-25 11:13:36 -08:00