Skip to content
Sam Gross edited this page Mar 10, 2022 · 8 revisions
git clone https://github.com/colesbury/nogil-install.git
cd nogil-install/pip

Build first sets of packages:

./cython.sh
./cffi.sh
./pybind11.sh

Build NumPy (requires cython):

./numpy.sh

Build more pacakges:

./awkward.sh
./boost-histogram.sh
./blis.sh
./cffi.sh
./cymem.sh
./h5py.sh
./jax.sh
./llvmlite.sh
./lxml.sh
./markupsafe.sh
./opencv-python-headless.sh
./opencv-python.sh
./orjson.sh
./pglast.sh
./pillow.sh
./protobuf.sh
./psycopg2-binary.sh
./pydantic.sh
./scipy.sh
./thinc.sh

Build matplotlib (requires Pillow and NumPy)

./matplotlib.sh

Build spacy (depends on thinc, markuplib, and blis)

./spacy.sh

Build PyTorch

First build the Docker images which combines the nogil/manylinux2014_x86_64 with the pytorch/manylinux-cuda110 image. Then run the pytorch.sh and torchvision.sh scripts.

./build_docker.sh
./pytorch.sh
./torchvision.sh