Skip to content

Commit

Permalink
install distribute
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Nov 1, 2022
1 parent e823028 commit 1d63d93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .ci/pnnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
run: |
apt-get update
apt-get install -y python3-pip
pip3 install -U pytest setuptools wheel twine distribute requests
- name: setup pytorch
run: |
Expand Down Expand Up @@ -93,7 +94,6 @@ jobs:
- name: build-ncnn
run: |
export PYTHONUSERBASE=${{ci.workspace}}/torch-${{matrix.torch-version}}
pip3 install -U pytest setuptools wheel twine
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DNCNN_PYTHON=ON -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF ..
cmake --build . -j $(nproc)
Expand All @@ -115,6 +115,5 @@ jobs:
export OMP_NUM_THREADS=1
export MKL_NUM_THREADS=1
export MKL_ENABLE_INSTRUCTIONS=SSE4_2
pip3 install --upgrade requests
cd tools/pnnx
cd build && ctest --output-on-failure -j $(nproc)

0 comments on commit 1d63d93

Please sign in to comment.