Skip to content

Commit 36e10df

Browse files
authored
Merge pull request #20 from CentML/update-habitat-release-url
Fix Habitat installation Issues
2 parents 421248c + 0111fe9 commit 36e10df

File tree

2 files changed

+24
-20
lines changed

2 files changed

+24
-20
lines changed

.github/workflows/whl-build-all.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
2222
- name: Upload to S3
2323
run: |
24-
aws s3 cp index.html s3://centml-habitat/habitat/
24+
aws s3 cp index.html s3://centml-releases/habitat/
2525
2626
whl-build-cu102:
2727
runs-on: [self-hosted, cu102]
@@ -62,7 +62,7 @@ jobs:
6262
6363
- name: Upload wheels to S3
6464
run: |
65-
aws s3 cp analyzer/dist/ s3://centml-habitat/habitat/wheels-cu102/ --recursive --exclude "*" --include "*.whl"
65+
aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu102/ --recursive --exclude "*" --include "*.whl"
6666
6767
- name: Create index.html
6868
run: |
@@ -72,7 +72,7 @@ jobs:
7272
7373
- name: Upload index.html to S3
7474
run: |
75-
aws s3 cp index.html s3://centml-habitat/habitat/wheels-cu102/
75+
aws s3 cp index.html s3://centml-releases/habitat/wheels-cu102/
7676
7777
whl-build-cu111:
7878
runs-on: [self-hosted, cu111]
@@ -113,7 +113,7 @@ jobs:
113113
114114
- name: Upload wheels to S3
115115
run: |
116-
aws s3 cp analyzer/dist/ s3://centml-habitat/habitat/wheels-cu111/ --recursive --exclude "*" --include "*.whl"
116+
aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu111/ --recursive --exclude "*" --include "*.whl"
117117
118118
- name: Create index.html
119119
run: |
@@ -123,7 +123,7 @@ jobs:
123123
124124
- name: Upload index.html to S3
125125
run: |
126-
aws s3 cp index.html s3://centml-habitat/habitat/wheels-cu111/
126+
aws s3 cp index.html s3://centml-releases/habitat/wheels-cu111/
127127
128128
whl-build-cu113:
129129
runs-on: [self-hosted, cu113]
@@ -164,7 +164,7 @@ jobs:
164164
165165
- name: Upload wheels to S3
166166
run: |
167-
aws s3 cp analyzer/dist/ s3://centml-habitat/habitat/wheels-cu113/ --recursive --exclude "*" --include "*.whl"
167+
aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu113/ --recursive --exclude "*" --include "*.whl"
168168
169169
- name: Create index.html
170170
run: |
@@ -174,7 +174,7 @@ jobs:
174174
175175
- name: Upload index.html to S3
176176
run: |
177-
aws s3 cp index.html s3://centml-habitat/habitat/wheels-cu113/
177+
aws s3 cp index.html s3://centml-releases/habitat/wheels-cu113/
178178
179179
whl-build-cu116:
180180
runs-on: [self-hosted, cu116]
@@ -221,7 +221,7 @@ jobs:
221221

222222
- name: Upload wheels to S3
223223
run: |
224-
aws s3 cp analyzer/dist/ s3://centml-habitat/habitat/wheels-cu116/ --recursive --exclude "*" --include "*.whl"
224+
aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu116/ --recursive --exclude "*" --include "*.whl"
225225
226226
- name: Create index.html
227227
run: |
@@ -231,7 +231,7 @@ jobs:
231231
232232
- name: Upload index.html to S3
233233
run: |
234-
aws s3 cp index.html s3://centml-habitat/habitat/wheels-cu116/
234+
aws s3 cp index.html s3://centml-releases/habitat/wheels-cu116/
235235
236236
whl-build-cu117:
237237
runs-on: [self-hosted, cu117]
@@ -272,7 +272,7 @@ jobs:
272272
273273
- name: Upload wheels to S3
274274
run: |
275-
aws s3 cp analyzer/dist/ s3://centml-habitat/habitat/wheels-cu117/ --recursive --exclude "*" --include "*.whl"
275+
aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu117/ --recursive --exclude "*" --include "*.whl"
276276
277277
- name: Create index.html
278278
run: |
@@ -282,4 +282,4 @@ jobs:
282282
283283
- name: Upload index.html to S3
284284
run: |
285-
aws s3 cp index.html s3://centml-habitat/habitat/wheels-cu117/
285+
aws s3 cp index.html s3://centml-releases/habitat/wheels-cu117/

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,17 @@ Currently, we have predictors for the following Nvidia GPUs:
4141

4242
### 1. Install CUPTI
4343

44-
- 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:
45-
46-
```bash
47-
sudo apt-get install cuda-cupti-xx-x
48-
```
49-
50-
where `xx-x` represents the version of CUDA you have installed.
44+
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:
45+
```bash
46+
sudo apt-get install cuda-cupti-xx-x
47+
```
48+
where `xx-x` represents the version of CUDA you have installed.
49+
50+
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:
51+
```bash
52+
conda install -c "nvidia/label/cuda-11.6.0" cuda-cupti
53+
```
54+
After installing CUPTI, add `$CONDA_HOME/extras/CUPTI/lib64/` to `LD_LIBRARY_PATH` to ensure the library is linked.
5155

5256
### 2. Install Habitat
5357

@@ -61,15 +65,15 @@ You can install via pip if you have the following versions of CUDA and Python
6165
Install via pip with the following command
6266

6367
```bash
64-
pip install https://centml.ai/habitat/wheels/habitat_predict-1.0.0-20221123+cuYYY-pyZZ-none-any.whl
68+
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
6569
```
6670

6771
where YYY is your CUDA version and ZZ is your Python version.
6872

6973
For example, if you are using CUDA 10.2 and Python 3.7):
7074

7175
```bash
72-
pip install https://centml.ai/habitat/wheels/habitat_predict-1.0.0-20221123+cu102-py37-none-any.whl
76+
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
7377
```
7478

7579
If you do not find matching version of CUDA and Python above, you need to build Habitat from source with the following instructions

0 commit comments

Comments
 (0)