diff --git a/.github/workflows/whl-build-all.yaml b/.github/workflows/whl-build-all.yaml index 44d88bd..1e3b4f5 100644 --- a/.github/workflows/whl-build-all.yaml +++ b/.github/workflows/whl-build-all.yaml @@ -21,7 +21,7 @@ jobs: - name: Upload to S3 run: | - aws s3 cp index.html s3://centml-habitat/habitat/ + aws s3 cp index.html s3://centml-releases/habitat/ whl-build-cu102: runs-on: [self-hosted, cu102] @@ -62,7 +62,7 @@ jobs: - name: Upload wheels to S3 run: | - aws s3 cp analyzer/dist/ s3://centml-habitat/habitat/wheels-cu102/ --recursive --exclude "*" --include "*.whl" + aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu102/ --recursive --exclude "*" --include "*.whl" - name: Create index.html run: | @@ -72,7 +72,7 @@ jobs: - name: Upload index.html to S3 run: | - aws s3 cp index.html s3://centml-habitat/habitat/wheels-cu102/ + aws s3 cp index.html s3://centml-releases/habitat/wheels-cu102/ whl-build-cu111: runs-on: [self-hosted, cu111] @@ -113,7 +113,7 @@ jobs: - name: Upload wheels to S3 run: | - aws s3 cp analyzer/dist/ s3://centml-habitat/habitat/wheels-cu111/ --recursive --exclude "*" --include "*.whl" + aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu111/ --recursive --exclude "*" --include "*.whl" - name: Create index.html run: | @@ -123,7 +123,7 @@ jobs: - name: Upload index.html to S3 run: | - aws s3 cp index.html s3://centml-habitat/habitat/wheels-cu111/ + aws s3 cp index.html s3://centml-releases/habitat/wheels-cu111/ whl-build-cu113: runs-on: [self-hosted, cu113] @@ -164,7 +164,7 @@ jobs: - name: Upload wheels to S3 run: | - aws s3 cp analyzer/dist/ s3://centml-habitat/habitat/wheels-cu113/ --recursive --exclude "*" --include "*.whl" + aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu113/ --recursive --exclude "*" --include "*.whl" - name: Create index.html run: | @@ -174,7 +174,7 @@ jobs: - name: Upload index.html to S3 run: | - aws s3 cp index.html s3://centml-habitat/habitat/wheels-cu113/ + aws s3 cp index.html s3://centml-releases/habitat/wheels-cu113/ whl-build-cu116: runs-on: [self-hosted, cu116] @@ -221,7 +221,7 @@ jobs: - name: Upload wheels to S3 run: | - aws s3 cp analyzer/dist/ s3://centml-habitat/habitat/wheels-cu116/ --recursive --exclude "*" --include "*.whl" + aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu116/ --recursive --exclude "*" --include "*.whl" - name: Create index.html run: | @@ -231,7 +231,7 @@ jobs: - name: Upload index.html to S3 run: | - aws s3 cp index.html s3://centml-habitat/habitat/wheels-cu116/ + aws s3 cp index.html s3://centml-releases/habitat/wheels-cu116/ whl-build-cu117: runs-on: [self-hosted, cu117] @@ -272,7 +272,7 @@ jobs: - name: Upload wheels to S3 run: | - aws s3 cp analyzer/dist/ s3://centml-habitat/habitat/wheels-cu117/ --recursive --exclude "*" --include "*.whl" + aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu117/ --recursive --exclude "*" --include "*.whl" - name: Create index.html run: | @@ -282,4 +282,4 @@ jobs: - name: Upload index.html to S3 run: | - aws s3 cp index.html s3://centml-habitat/habitat/wheels-cu117/ + aws s3 cp index.html s3://centml-releases/habitat/wheels-cu117/ diff --git a/README.md b/README.md index 742dc3a..b676402 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,17 @@ Currently, we have predictors for the following Nvidia GPUs: ### 1. Install CUPTI -- CUPTI is a profiling interface required by Habitat. Select your version of CUDA [here](https://developer.nvidia.com/cuda-toolkit-archive) and following the instructions to add NVIDIA's repository. Then, install CUPTI with: - - ```bash - sudo apt-get install cuda-cupti-xx-x - ``` - - where `xx-x` represents the version of CUDA you have installed. +CUPTI is a profiling interface required by Habitat. Select your version of CUDA [here](https://developer.nvidia.com/cuda-toolkit-archive) and follow the instructions to add NVIDIA's repository. Then, install CUPTI with: + ```bash + sudo apt-get install cuda-cupti-xx-x + ``` +where `xx-x` represents the version of CUDA you have installed. + +Alternatively, if you do not have root access on your machine, you can use `conda` to install CUPTI. Select your version of CUDA [here](https://anaconda.org/nvidia/cuda-cupti) and follow the instructions. For example if you have CUDA 11.6.0, you can install CUPTI with: + ```bash + conda install -c "nvidia/label/cuda-11.6.0" cuda-cupti + ``` +After installing CUPTI, add `$CONDA_HOME/extras/CUPTI/lib64/` to `LD_LIBRARY_PATH` to ensure the library is linked. ### 2. Install Habitat @@ -61,7 +65,7 @@ You can install via pip if you have the following versions of CUDA and Python Install via pip with the following command ```bash -pip install https://centml.ai/habitat/wheels/habitat_predict-1.0.0-20221123+cuYYY-pyZZ-none-any.whl +pip install http://centml-releases.s3-website.us-east-2.amazonaws.com/habitat/wheels/habitat_predict-1.0.0-20221123+cuYYY-pyZZ-none-any.whl ``` where YYY is your CUDA version and ZZ is your Python version. @@ -69,7 +73,7 @@ where YYY is your CUDA version and ZZ is your Python version. For example, if you are using CUDA 10.2 and Python 3.7): ```bash -pip install https://centml.ai/habitat/wheels/habitat_predict-1.0.0-20221123+cu102-py37-none-any.whl +pip install http://centml-releases.s3-website.us-east-2.amazonaws.com/habitat/wheels/habitat_predict-1.0.0-20221123+cu102-py37-none-any.whl ``` If you do not find matching version of CUDA and Python above, you need to build Habitat from source with the following instructions