Skip to content

Commit 83d5c0a

Browse files
Updates to README files
Minor updates to README section for zentorch and install section Change-Id: Id4ade5fd2d0a94c0328ba4402c31e690a155b55e Signed-off-by: Kiriti Pendyala <[email protected]>
1 parent 5741c99 commit 83d5c0a

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ unzip ZENTORCH_v5.0.0_Python_v3.8.zip
120120
cd ZENTORCH_v5.0.0_Python_v3.8/
121121
pip install zentorch-5.0.0-cp38-cp38-manylinux_2_28_x86_64.whl
122122
```
123-
>Note:
123+
>Notes:
124+
* In above steps, we have taken an example for release package with Python version 3.8.
124125
* Dependent packages 'numpy' and 'torch' will be installed by '_zentorch_' if not already present.
125126
* If you get the error: ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_.a.b.cc' not found (required by <path_to_conda>/envs/<env_name>/lib/python<py_version>/site-packages/zentorch-5.0.0-pyx.y-linux-x86_64.egg/zentorch/_C.cpython-xy-x86_64-linux-gnu.so), export LD_PRELOAD as:
126127
* export LD_PRELOAD=<path_to_conda>/envs/<env_name>/lib/libstdc++.so.6:$LD_PRELOAD
@@ -165,19 +166,26 @@ conda install pytorch==2.4.0 cpuonly -c pytorch -y
165166
```bash
166167
pip install -r requirements.txt
167168
```
168-
#### 2.2.2.4. To build & install the _zentorch_
169+
#### 2.2.2.4. To build & generate wheel file of _zentorch_
169170
```bash
170-
python setup.py install
171+
python setup.py bdist_wheel
171172
```
172-
#### 2.2.2.5. Run Unit Tests
173+
>Note: The wheel file will be generated in dist folder in ZenDNN_PyTorch_Plugin directory
174+
175+
#### 2.2.2.5. To install the wheel file of _zentorch_
176+
```bash
177+
cd dist
178+
pip install zentorch-5.0.0-cp38-cp38-linux_x86_64.whl
179+
```
180+
#### 2.2.2.6. Run Unit Tests
173181
```python
174182
python test/test_zentorch.py
175183
```
176-
#### 2.2.2.6 Run unit test with seed
184+
#### 2.2.2.7 Run unit test with seed
177185
```python
178186
python test/test_zentorch.py --seed seed_value
179187
```
180-
#### 2.2.2.7. Build Cleanup
188+
#### 2.2.2.8. Build Cleanup
181189
```bash
182190
python setup.py clean --all
183191
```

0 commit comments

Comments
 (0)