Skip to content

Commit 917879e

Browse files
committed
Fix nits
Signed-off-by: Rajvaibhav Rahane <[email protected]>
1 parent 7cd1995 commit 917879e

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

DEVELOPER_GUIDE.md

+7-12
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ git clone https://github.com/[username]/remote-vector-index-builder.git
3131
### Install Prerequisites
3232

3333
#### Python Dependencies
34+
35+
The following are commands to install dependencies during local development and testing.
36+
The required dependencies are installed during docker image creation onto the image.
37+
3438
Core Dependencies:
3539
```
3640
pip install -r remote_vector_index_builder/core/requirements.txt
@@ -113,24 +117,15 @@ Simple memory profiling can be done during development to get memory usage stati
113117

114118
### GPU Memory Profiling with NVIDIA SMI
115119

116-
1. Install [py3nvml](https://pypi.org/project/py3nvml/):
120+
1. Install [py3nvml](https://pypi.org/project/py3nvml/): In [`/remote_vector_index_builder/core/requirements.txt`](/remote_vector_index_builder/core/requirements.txt) add py3nvml on a newline.
117121

118-
In [`/remote_vector_index_builder/core/requirements.txt`](/remote_vector_index_builder/core/requirements.txt) add py3nvml on a newline.
119-
120-
2. Run the following command:
121-
```
122-
pip install --no-cache-dir --upgrade -r /remote_vector_index_builder/core/requirements.txt
123-
```
124-
125-
3. Add import statement and initialize method in the file containing the driver code.
122+
2. Add import statement and initialize method in the file containing the driver code.
126123
```
127124
from py3nvml import nvidia_smi
128125
nvidia_smi.nvmlInit()
129126
```
130127

131-
4. Define and call the below method wherever necessary.
132-
133-
e.g. before and after calling the GPU index cleanup method.
128+
3. Define and call the below method wherever necessary. e.g. before and after calling the GPU index cleanup method.
134129
```
135130
from py3nvml import nvidia_smi
136131

0 commit comments

Comments
 (0)