Skip to content

Commit b20dbc9

Browse files
OriNachumCopilot
andauthored
fix(pypi): set default jetson-ai-lab.io in config.py, remove .env override (dusty-nv#1317)
* Update PyPI references from jetson-ai-lab.dev to jetson-ai-lab.io across documentation and scripts * Update .env * remove .dev mirror Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
1 parent 5ae7d48 commit b20dbc9

File tree

10 files changed

+97
-19
lines changed

10 files changed

+97
-19
lines changed

.env

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ SANDBOX=${SANDBOX:-$MOUNT_DIR/sandbox}
3232
# CUDA_ARCH="tegra-aarch64" or "aarch64" or x86_64
3333

3434
# WEBPAGE URL for the Jetson Containers repository
35-
# INDEX_HOST=jetson-ai-lab.dev
36-
INDEX_HOST=jetson-ai-lab.io
35+
# INDEX_HOST=jetson-ai-lab.dev OR jetson-ai-lab.io
3736
# PIP_UPLOAD_REPO
3837
# PIP_UPLOAD_USER
3938
# PIP_UPLOAD_PASS

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22

33
[![a header for a software project about building containers for AI and machine learning](https://raw.githubusercontent.com/dusty-nv/jetson-containers/docs/docs/images/header_blueprint_rainbow.jpg)](https://www.jetson-ai-lab.com)
44

5-
[![jetson-ai-lab.dev status](https://img.shields.io/website?label=jetson-ai-lab.dev&url=https%3A%2F%2Fpypi.jetson-ai-lab.dev&up_message=up&up_color=brightgreen&down_message=down&down_color=red)](https://pypi.jetson-ai-lab.dev)
6-
[![jetson-ai-lab.dev status](https://img.shields.io/website?label=jetson-ai-lab.io&url=https%3A%2F%2Fpypi.jetson-ai-lab.io&up_message=up&up_color=brightgreen&down_message=down&down_color=red)](https://pypi.jetson-ai-lab.io)
5+
[![jetson-ai-lab.io status](https://img.shields.io/website?label=jetson-ai-lab.io&url=https%3A%2F%2Fpypi.jetson-ai-lab.io&up_message=up&up_color=brightgreen&down_message=down&down_color=red)](https://pypi.jetson-ai-lab.io)
76
# CUDA Containers for Edge AI & Robotics
87

9-
Modular container build system that provides the latest [**AI/ML packages**](https://pypi.jetson-ai-lab.dev/) for [NVIDIA Jetson](https://jetson-ai-lab.com) :rocket::robot:
8+
Modular container build system that provides the latest [**AI/ML packages**](https://pypi.jetson-ai-lab.io/) for [NVIDIA Jetson](https://jetson-ai-lab.com) :rocket::robot:
109

1110
> [!WARNING]
12-
> [pypi.jetson-ai-lab.dev](https://pypi.jetson-ai-lab.dev) is down. We are improving security and performance. Meanwhile please use [pypi.jetson-ai-lab.io](https://pypi.jetson-ai-lab.io) by setting the enviroment variable `INDEX_HOST=jetson-ai-lab.io` in [.env](https://github.com/dusty-nv/jetson-containers/blob/1ca7d43e6b8a02e1eba10ed298673cd2e518872a/.env#L34) file.
11+
> [pypi.jetson-ai-lab.io](https://pypi.jetson-ai-lab.io) is down. We are improving security and performance. Meanwhile please use [pypi.jetson-ai-lab.io](https://pypi.jetson-ai-lab.io) by setting the enviroment variable `INDEX_HOST=jetson-ai-lab.io` in [.env](https://github.com/dusty-nv/jetson-containers/blob/1ca7d43e6b8a02e1eba10ed298673cd2e518872a/.env#L34) file.
1312
1413
### Only Tested and supported Jetpack 6.2 (Cuda 12.6) and JetPack 7 (CUDA 13.x).
1514

@@ -23,7 +22,7 @@ Modular container build system that provides the latest [**AI/ML packages**](htt
2322
> To install CUDA 13.0 SBSA wheels for Python 3.12 / 24.04:
2423
>
2524
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`pip3 install torch torchvision torchaudio \`
26-
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`--index-url https://pypi.jetson-ai-lab.dev/sbsa/cu129`
25+
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`--index-url https://pypi.jetson-ai-lab.io/sbsa/cu129`
2726
>
2827
> See the **[`Ubuntu 24.04`](/docs/build.md#2404-containers)** section of the docs for details and a list of available containers 🤗
2928
> Thanks to all our contributors from **[`Discord`](https://discord.gg/BmqNSK4886)** and AI community for their support 🤗

deprecated/workflows/jetson-pypi-health.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- name: Check PyPI
1414
run: |
15-
STATUS_CODE=$(curl -s -o /dev/null -w "%{http_code}" https://pypi.jetson-ai-lab.dev/)
15+
STATUS_CODE=$(curl -s -o /dev/null -w "%{http_code}" https://pypi.jetson-ai-lab.io/)
1616
echo "HTTP status code: $STATUS_CODE"
1717
1818
if [[ "$STATUS_CODE" == 2* ]]; then

docs/build.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,13 +198,13 @@ You can build or run these from JetPack 6.1+ like the following:
198198

199199
## Pip Server
200200

201-
Being able to change the versions of CUDA, Python, ect in the build tree will cause all the dependant packages like PyTorch to need rebuilt, and this can be time-consuming to recompile everything from scratch. In order to cache and re-use the Python wheels compiled during the container builds, there's a [pip server](http://pypi.jetson-ai-lab.dev) running that wheels are uploaded to. The containers automatically use this pip server via the `PIP_INDEX_URL` environment variable that gets set in the base containers, and there are indexes created for different versions of JetPack/CUDA.
201+
Being able to change the versions of CUDA, Python, ect in the build tree will cause all the dependant packages like PyTorch to need rebuilt, and this can be time-consuming to recompile everything from scratch. In order to cache and re-use the Python wheels compiled during the container builds, there's a [pip server](http://pypi.jetson-ai-lab.io) running that wheels are uploaded to. The containers automatically use this pip server via the `PIP_INDEX_URL` environment variable that gets set in the base containers, and there are indexes created for different versions of JetPack/CUDA.
202202

203-
Then when the containers are built, it will first attempt to install the wheel from the server, and if it's found it builds it from source. There is another similar server run for caching [tarball releases](http://pypi.jetson-ai-lab.dev:8000) for projects that install C/C++ binaries and headers or other general files outside of pip. See this [forum post](https://forums.developer.nvidia.com/t/jetson-ai-lab-ml-devops-containers-core-inferencing/288235/3) for more information about the caching infrastructure, and the ability to use the pip server outside of just containers.
203+
Then when the containers are built, it will first attempt to install the wheel from the server, and if it's found it builds it from source. There is another similar server run for caching [tarball releases](http://pypi.jetson-ai-lab.io:8000) for projects that install C/C++ binaries and headers or other general files outside of pip. See this [forum post](https://forums.developer.nvidia.com/t/jetson-ai-lab-ml-devops-containers-core-inferencing/288235/3) for more information about the caching infrastructure, and the ability to use the pip server outside of just containers.
204204

205205
### Local `PIP` and `APT` servers
206206

207-
You can start the local `PYPI`/`APT` servers on one Jetson node with a fallback set to `jetson-ai-lab.dev`. The local builded `pip` wheels and `tarballs` will be uploaded from the container during build time to local `PYPI`/`APT` instances only.
207+
You can start the local `PYPI`/`APT` servers on one Jetson node with a fallback set to `jetson-ai-lab.io`. The local builded `pip` wheels and `tarballs` will be uploaded from the container during build time to local `PYPI`/`APT` instances only.
208208

209209
To start local `pypi`/`apt` servers:
210210
```bash
@@ -223,7 +223,7 @@ git clone --recursive https://github.com/dusty-nv/jetson-containers.git
223223
sudo bash jetson-containers/install.sh
224224
cd jetson-containers
225225
# modify here your .env for example:
226-
INDEX_HOST=jetson-ai-lab.dev
226+
INDEX_HOST=jetson-ai-lab.io
227227
# activate it
228228
source .env
229229
# Then you can build with your variables

docs/pypi-config.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Custom PyPI Configuration
2+
3+
This document explains how to configure custom PyPI sources when building jetson-containers.
4+
5+
## Quick Start
6+
7+
To use a custom PyPI server, set these environment variables before building:
8+
9+
```bash
10+
# Set your custom PyPI server
11+
export LOCAL_PIP_INDEX_URL="https://your-pypi-server.com/simple"
12+
export PIP_UPLOAD_HOST="your-pypi-server.com"
13+
14+
# Build with custom PyPI server
15+
./build.sh package-name
16+
```
17+
18+
## Environment Variables
19+
20+
| Variable | Purpose | Example |
21+
|----------|---------|---------|
22+
| `LOCAL_PIP_INDEX_URL` | Primary PyPI index URL | `https://pypi.example.com/simple` |
23+
| `PIP_UPLOAD_HOST` | Hostname for SSL trust | `pypi.example.com` |
24+
| `PIP_TRUSTED_HOSTS` | Additional trusted hosts | `pypi.example.com,pypi.org` |
25+
26+
## Common Use Cases
27+
28+
### Corporate PyPI Mirror
29+
```bash
30+
export LOCAL_PIP_INDEX_URL="https://pypi.corporate.com/simple"
31+
export PIP_UPLOAD_HOST="pypi.corporate.com"
32+
```
33+
34+
### Regional Mirrors
35+
```bash
36+
# China - Tsinghua University
37+
export LOCAL_PIP_INDEX_URL="https://pypi.tuna.tsinghua.edu.cn/simple"
38+
export PIP_UPLOAD_HOST="pypi.tuna.tsinghua.edu.cn"
39+
40+
# China - Aliyun
41+
export LOCAL_PIP_INDEX_URL="https://mirrors.aliyun.com/pypi/simple"
42+
export PIP_UPLOAD_HOST="mirrors.aliyun.com"
43+
```
44+
45+
### Private Repository
46+
```bash
47+
export LOCAL_PIP_INDEX_URL="https://pypi.internal.company.com/simple"
48+
export PIP_UPLOAD_HOST="pypi.internal.company.com"
49+
export PIP_TRUSTED_HOSTS="pypi.internal.company.com"
50+
```
51+
52+
## How It Works
53+
54+
By default, jetson-containers uses:
55+
- **Primary**: `https://pypi.jetson-ai-lab.io` (NVIDIA's cache)
56+
- **Fallback**: `https://pypi.org/simple` (Standard PyPI)
57+
58+
Your custom settings override the primary cache while keeping the fallback for reliability.
59+
60+
## Troubleshooting
61+
62+
### SSL Certificate Issues
63+
```bash
64+
# Add to trusted hosts
65+
export PIP_TRUSTED_HOSTS="your-host.com,pypi.org"
66+
```
67+
68+
### Authentication Required
69+
```bash
70+
export PIP_UPLOAD_USER="your-username"
71+
export PIP_UPLOAD_PASS="your-password"
72+
```
73+
74+
### Verify Configuration
75+
```bash
76+
# Check what pip will use in container
77+
docker run --rm your-container pip config list
78+
```
79+
80+
The system automatically falls back to standard PyPI if your custom server is unavailable.

packages/build/build-essential/tarpack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ mkdir -p ${TARPACK_TMPDIR}/uploads
1111

1212
if [ "${COMMAND}" == "install" ]; then
1313
cd ${TARPACK_TMPDIR}
14-
# First try to download from local APT server, if that fails, then download from apt.jetson-ai-lab.dev:
14+
# First try to download from local APT server, if that fails, then download from apt.jetson-ai-lab.io:
1515
wget ${WGET_FLAGS} ${TAR_INDEX_URL}/${PACKAGE}.tar.gz || wget ${WGET_FLAGS} ${FALLBACK_TAR_INDEX_URL}/${PACKAGE}.tar.gz
1616
wget ${WGET_FLAGS} ${TAR_INDEX_URL}/${PACKAGE}.sha256 || wget ${WGET_FLAGS} ${FALLBACK_TAR_INDEX_URL}/${PACKAGE}.sha256
1717
ls -ll ${PACKAGE}.tar.gz

packages/cuda/cuda/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def pip_cache(version, requires=None):
137137
https://github.com/dusty-nv/jetson-containers/blob/master/docs/build.md#pip-server
138138
"""
139139
short_version = f"cu{version.replace('.', '')}"
140-
index_host = os.environ.get('INDEX_HOST', 'jetson-ai-lab.dev')
140+
index_host = os.environ.get('INDEX_HOST', 'jetson-ai-lab.io')
141141

142142
pip_path = (
143143
f"sbsa/{short_version}" if IS_SBSA

packages/diffusion/3d_diffusion_policy/Dockerfile.x86

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ RUN mkdir -p ${MUJOCO_DIR} && \
5757
tar -xvzf mujoco210.tar.gz
5858

5959
RUN cd third_party/VRL3 && \
60-
CKPT_URL="http://jetson-ai-lab.dev:8000/assets/3d_diffusion_policy/vrl3_ckpts.zip" && \
60+
CKPT_URL="http://jetson-ai-lab.io:8000/assets/3d_diffusion_policy/vrl3_ckpts.zip" && \
6161
wget $WGET_FLAGS ${CKPT_URL} && \
6262
unzip vrl3_ckpts.zip && \
6363
mv vrl3_ckpts ckpts && \

packages/multimedia/vulkan/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def vulkan_sdk(version, default=False):
88
99
This will pull the same sources as the prebuilt SDK,
1010
and rebuild them from the current architecture.
11-
Previous builds get cached on apt.jetson-ai-lab.dev
11+
Previous builds get cached on apt.jetson-ai-lab.io
1212
"""
1313
pkg = package.copy()
1414

packages/vlm/vila-microservice/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ RUN set -ex
3434
RUN apt-get update && apt-get install -y --no-install-recommends python3-pip git-all lsb-release libopenblas0
3535

3636
#Set to get precompiled jetson wheels
37-
RUN export PIP_INDEX_URL=https://pypi.jetson-ai-lab.dev/jp6/cu126
38-
RUN export PIP_TRUSTED_HOST=pypi.jetson-ai-lab.dev
37+
RUN export PIP_INDEX_URL=https://pypi.jetson-ai-lab.io/jp6/cu126
38+
RUN export PIP_TRUSTED_HOST=pypi.jetson-ai-lab.io
3939

4040
#install extra gstreamer plugins
4141
RUN apt-get update && apt-get install -y --no-install-recommends \
@@ -96,7 +96,7 @@ RUN cd /opt && \
9696
#Install TVM & MLC
9797
WORKDIR /opt
9898
RUN pip3 install sentencepiece
99-
RUN pip3 install --index-url http://jetson-ai-lab.dev/jp6/cu126 --trusted-host jetson-ai-lab.dev --no-cache-dir --verbose tvm==0.15.0 mlc-llm==0.1.0
99+
RUN pip3 install --index-url http://jetson-ai-lab.io/jp6/cu126 --trusted-host jetson-ai-lab.io --no-cache-dir --verbose tvm==0.15.0 mlc-llm==0.1.0
100100

101101

102102
#Clone Jetson Containers to get mlc patch

0 commit comments

Comments
 (0)