Skip to content

Commit 46c3a68

Browse files
committed
Update README
1 parent f4cb2fb commit 46c3a68

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

README.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,19 @@ DeepView.Profile works with *GPU-based* neural networks that are implemented in
2020
To run DeepView.Profile, you need:
2121
- A system equipped with an NVIDIA GPU
2222
- Python 3.7+
23-
- [Poetry](https://python-poetry.org/)
2423
- PyTorch 1.1.0+ with CUDA
2524
- **NOTE:** We assume you have the correct version of PyTorch installed for their GPU. Default PyTorch installation on Linux distros might not have CUDA support. If you see error similar to below, your PyTorch version is incompatible with your version of CUDA. You can download the appropriate version from the [PyTorch site](https://pytorch.org/get-started/locally/)
2625
```NVIDIA GeForce RTX 3060 Ti with CUDA capability sm_86 is not compatible with the current PyTorch installation.
2726
The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_70.
2827
If you want to use the NVIDIA GeForce RTX 3060 Ti GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/
2928
```
30-
- Python 3.6+ or Python 3.7+ on OSX
3129
30+
### Installation from PyPi
31+
32+
Installing with [Pip](https://packaging.python.org/en/latest/tutorials/installing-packages/#use-pip-for-installing)
33+
```zsh
34+
pip install deepview-profile
35+
```
3236

3337
### Installation from source
3438
```bash
@@ -38,14 +42,6 @@ poetry install
3842
poetry run deepview --help
3943
```
4044

41-
### Installation from PyPi
42-
43-
Installing with [Pip](https://packaging.python.org/en/latest/tutorials/installing-packages/#use-pip-for-installing)
44-
```zsh
45-
python3 -m pip install deepview-profiler
46-
python3 -m deepview -h
47-
```
48-
4945
<h2 id="getting-started">Usage example</h2>
5046

5147
To use DeepView.Profile in your project, you need to first write an entry point file, which is a regular Python file that describes how your model is created and trained. See the [Entry Point](docs/providers.md) for more information.
@@ -54,7 +50,7 @@ Once your entry point file is ready, there are two ways to profile interactive p
5450

5551
### Interactive Profiling
5652
```zsh
57-
poetry run deepview interactive
53+
python3 -m deepview_profile interactive
5854
```
5955

6056
### Standalone Profiling
@@ -66,14 +62,14 @@ file where you want DeepView.Profile to save the run time profiling report using
6662
`--output` or `-o` flag.
6763

6864
```zsh
69-
python3 -m deepview time entry_point.py --output my_output_file.sqlite
65+
python3 -m deepview_profile time entry_point.py --output my_output_file.sqlite
7066
```
7167

7268
Launching memory profiling is almost the same as launching run time profiling.
7369
You just need to use `deepview memory` instead of `deepview time`.
7470

7571
```zsh
76-
python3 -m deepview memory entry_point.py --output my_output_file.sqlite
72+
python3 -m deepview_profile memory entry_point.py --output my_output_file.sqlite
7773
```
7874

7975
<h2 id="dev-setup">Development Environment Setup</h2>

0 commit comments

Comments
 (0)