---
title: "NVIDIA's Apex Finally Fixes Broken pip Builds and Adds Blackwell GPU Support"
subtitle: "NVIDIA's Apex PyTorch extension adds environment-variable-based builds, parallel compilation, and Blackwell GPU support in its latest push"
url: "https://alphasignal.ai/news/nvidia-s-apex-finally-fixes-broken-pip-builds-and-adds-blackwell-gpu-support"
author: "AlphaSignal Newsroom"
author_url: "https://alphasignal.ai/editorial-team"
company: "NVIDIA AI Developer"
company_url: "https://alphasignal.ai/company/nvidiaaidev"
published: "2026-06-15T21:17:50.000Z"
updated: "2026-06-26T00:00:20.791Z"
type: "Repo"
topics:
  - "Training Infra"
  - "Gpus"
subtopics:
  - "Distributed Training"
upvotes: 3558
source_url: "https://github.com/NVIDIA/apex"
comments: 0
truncated: true
---

# NVIDIA's Apex Finally Fixes Broken pip Builds and Adds Blackwell GPU Support

> NVIDIA's Apex PyTorch extension adds environment-variable-based builds, parallel compilation, and Blackwell GPU support in its latest push

[NVIDIA/apex](https://github.com/NVIDIA/apex), the long-running PyTorch extension for mixed precision and distributed training, just received a meaningful set of updates to its build system. The changes land in the master branch and address a friction point that has frustrated Apex users for years: the old `--global-option` install flags broke with newer versions of pip, and building the library's many CUDA extensions was painfully slow with no parallelism. Both problems now have official fixes.

## A build system that finally works with modern pip

The core change is a new environment-variable-based build interface. For performance and full functionality, NVIDIA now recommends installing Apex with CUDA and C++ extensions using environment variables. Instead of the old `--global-option` flags that pip deprecated and eventually broke, you now set shell variables before calling pip:

```
git clone https://github.com/NVIDIA/apex
cd apex
# Recommended: build with core C++ and CUDA extensions
APEX_CPP_EXT=1 APEX_CUDA_EXT=1 pip install -v --no-build-isolation .
# Build everything, including contrib extensions
APEX_CPP_EXT=1 APEX_CUDA_EXT=1 APEX_ALL_CONTRIB_EXT=1 pip install -v --no-build-isolation .
```

_Preview only. Full text requires an AlphaSignal Pro account._

## Sources

- [NVIDIA/apex GitHub Repository](https://github.com/NVIDIA/apex)
- [NVIDIA/apex setup.py](https://github.com/NVIDIA/apex/blob/master/setup.py)
- [NVIDIA NGC PyTorch Container](https://catalog.ngc.nvidia.com/orgs/nvidia/containers/pytorch)
- [NVIDIA PyTorch Release Notes](https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/index.html)
