Skip to content

Commit 18bd161

Browse files
committed
changes to readme file
1 parent a91eb3f commit 18bd161

File tree

6 files changed

+37
-37
lines changed

6 files changed

+37
-37
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
![](https://img.shields.io/pypi/pyversions/skyline-profiler.svg)
44
[![](https://img.shields.io/pypi/v/skyline-profiler.svg)](https://pypi.org/project/skyline-profiler/)
55

6-
Skyline is a tool to profile and debug the training performance of [PyTorch](https://pytorch.org) neural networks.
6+
DeepView.Profile is a tool to profile and debug the training performance of [PyTorch](https://pytorch.org) neural networks.
77

88
- [Installation](#installation)
99
- [Usage example](#getting-started)
@@ -15,9 +15,9 @@ Skyline is a tool to profile and debug the training performance of [PyTorch](htt
1515

1616
<h2 id="installation">Installation</h2>
1717

18-
Skyline works with *GPU-based* neural networks that are implemented in [PyTorch](https://pytorch.org).
18+
DeepView.Profile works with *GPU-based* neural networks that are implemented in [PyTorch](https://pytorch.org).
1919

20-
To run Skyline, you need:
20+
To run DeepView.Profile, you need:
2121
- A system equipped with an NVIDIA GPU
2222
- Python 3.7+
2323
- [Poetry](https://python-poetry.org/)
@@ -32,7 +32,7 @@ To run Skyline, you need:
3232
3333
### Installation from source
3434
```bash
35-
git clone https://github.com/CentML/skyline.git
35+
git clone https://github.com/CentML/DeepView.Profile
3636
cd skyline
3737
poetry install
3838
poetry run skyline --help
@@ -62,7 +62,7 @@ python3 skyline
6262

6363
<h2 id="getting-started">Usage example</h2>
6464

65-
To use Skyline 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.
65+
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.
6666

6767
Once your entry point file is ready, there are two ways to profile interactive profiling and standalone profiling.
6868

@@ -72,11 +72,11 @@ poetry run skyline interactive
7272
```
7373

7474
### Standalone Profiling
75-
Standalone profiling is useful when you just want access to Skyline's profiling functionality. Skyline will save the profiling results (called a "report") into a [SQLite database file](https://www.sqlite.org/) that you can then query yourself. We describe the database schema for Skyline's run time and memory reports in the [Run Time Report Format](docs/run-time-report.md) and [Memory Report Format](docs/memory-report.md) pages respectively.
75+
Standalone profiling is useful when you just want access to DeepView.Profile's profiling functionality. DeepView.Profile will save the profiling results (called a "report") into a [SQLite database file](https://www.sqlite.org/) that you can then query yourself. We describe the database schema for DeepView.Profile's run time and memory reports in the [Run Time Report Format](docs/run-time-report.md) and [Memory Report Format](docs/memory-report.md) pages respectively.
7676

77-
To have Skyline perform run time profiling, you use the `skyline time`
77+
To have DeepView.Profile perform run time profiling, you use the `skyline time`
7878
subcommand. In addition to the entry point file, you also need to specify the
79-
file where you want Skyline to save the run time profiling report using the
79+
file where you want DeepView.Profile to save the run time profiling report using the
8080
`--output` or `-o` flag.
8181

8282
```zsh
@@ -115,11 +115,11 @@ See [Releases](https://github.com/UofT-EcoSystem/skyline/releases)
115115

116116
<h2 id="meta">Meta</h2>
117117

118-
Skyline began as a research project at the [University of Toronto](https://web.cs.toronto.edu) in collaboration with [Geofrey Yu](mailto:[email protected]), [Tovi Grossman](https://www.tovigrossman.com) and [Gennady Pekhimenko](https://www.cs.toronto.edu/~pekhimenko/).
118+
DeepView.Profile began as a research project at the [University of Toronto](https://web.cs.toronto.edu) in collaboration with [Geofrey Yu](mailto:[email protected]), [Tovi Grossman](https://www.tovigrossman.com) and [Gennady Pekhimenko](https://www.cs.toronto.edu/~pekhimenko/).
119119

120120
The accompanying research paper appears in the proceedings of UIST'20. If you are interested, you can read a preprint of the paper [here](https://arxiv.org/pdf/2008.06798.pdf).
121121

122-
If you use Skyline in your research, please consider citing our paper:
122+
If you use DeepView.Profile in your research, please consider citing our paper:
123123

124124
```bibtex
125125
@inproceedings{skyline-yu20,
@@ -136,4 +136,4 @@ It is distributed under Apache 2.0 license. See [LICENSE](LICENSE) and [NOTICE](
136136

137137
<h2 id="contributing">Contributing</h2>
138138

139-
Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more information on how to help with Skyline.
139+
Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more information on how to help with DeepView.Profile.

docs/memory-report.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
This page describes the database schema of the memory report that is generated by Skyline's `memory` subcommand. Recall that Skyline's reports (memory and run time) are [SQLite database files](https://www.sqlite.org/).
1+
This page describes the database schema of the memory report that is generated by DeepView.Profile's `memory` subcommand. Recall that DeepView.Profile's reports (memory and run time) are [SQLite database files](https://www.sqlite.org/).
22

3-
**NOTE:** Skyline's memory profiling is for GPU memory only.
3+
**NOTE:** DeepView.Profile's memory profiling is for GPU memory only.
44

55
## Overview
66

7-
Skyline tracks the memory usage associated with a model's *weights* and *activations*. Skyline will also report the peak amount of memory allocated during a training iteration.
7+
DeepView.Profile tracks the memory usage associated with a model's *weights* and *activations*. DeepView.Profile will also report the peak amount of memory allocated during a training iteration.
88

9-
Just like the run time report, Skyline also includes the stack trace associated with each activation or weight in the report. Skyline only includes the stack frames associated with files inside your project (i.e. files under your project's root directory).
9+
Just like the run time report, DeepView.Profile also includes the stack trace associated with each activation or weight in the report. DeepView.Profile only includes the stack frames associated with files inside your project (i.e. files under your project's root directory).
1010

1111
## Tables
1212

@@ -42,7 +42,7 @@ CREATE TABLE entry_types (
4242
name TEXT NOT NULL
4343
);
4444
```
45-
This is a table that stores mappings of Skyline's memory entry types (activations, weights) to numeric identifiers. Skyline maps weights to an entry type of `1`, and activations to an entry type of `2`.
45+
This is a table that stores mappings of DeepView.Profile's memory entry types (activations, weights) to numeric identifiers. DeepView.Profile maps weights to an entry type of `1`, and activations to an entry type of `2`.
4646

4747
### `stack_correlation`
4848

@@ -73,7 +73,7 @@ CREATE TABLE stack_frames (
7373
```
7474
This table holds the stack frames associated with a memory usage entry (both weights and activations). The `correlation_id` column is a foreign key that references the `correlation_id` in the `stack_correlation` table. File paths stored in the `file_path` column will be relative to the project's root directory and line numbers are 1-based.
7575

76-
**NOTE:** Skyline does not add an explicit foreign key constraint to the `correlation_id` column.
76+
**NOTE:** DeepView.Profile does not add an explicit foreign key constraint to the `correlation_id` column.
7777

7878
**Ordering.**
7979
There may be multiple stack frames associated with any given memory entry (i.e. any given `correlation_id`). The `ordering` column is used to keep track of the ordering among stack frames that share the same `correlation_id`. When sorted in ascending order by the `ordering` column, the stack frames will be ordered from most-specific (i.e. *closest* to the weight or operation responsible for the activation) to least-specific (i.e. *farthest* from the weight or operation responsible for the activation).
@@ -90,4 +90,4 @@ CREATE TABLE misc_sizes (
9090
);
9191
```
9292

93-
This table holds any miscellaneous memory usage information that is reported by Skyline. Currently, Skyline only uses this table to report the peak memory usage during one training iteration. This memory usage is reported using the `peak_usage_bytes` key.
93+
This table holds any miscellaneous memory usage information that is reported by DeepView.Profile. Currently, DeepView.Profile only uses this table to report the peak memory usage during one training iteration. This memory usage is reported using the `peak_usage_bytes` key.

docs/providers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,6 @@ def skyline_iteration_provider(model):
9595
optimizer.step()
9696
return iteration
9797
```
98-
One important thing to highlight is our use of a wrapper `ModelWithLoss` module. Skyline only provides breakdowns for operations that run inside the module returned by the model provider. We included the loss function in this wrapper module to have Skyline include it in the breakdown. We could have also placed the loss function call in the `iteration` function.
98+
One important thing to highlight is our use of a wrapper `ModelWithLoss` module. DeepView.Profile only provides breakdowns for operations that run inside the module returned by the model provider. We included the loss function in this wrapper module to have DeepView.Profile include it in the breakdown. We could have also placed the loss function call in the `iteration` function.
9999

100100
You can place these provider functions either in a new file or directly in `model.py`. Whichever file contains the providers will be your project's entry point file. In this example, we defined the providers in a separate file called `entry_point.py` inside `my_project`.

docs/remote.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# Remote Profiling
22

33
## Terminology
4-
- **Client:** The local machine where you run the Skyline plugin.
5-
- **Server:** The remote machine where you want to run the Skyline profiler.
4+
- **Client:** The local machine where you run the DeepView.Explore plugin.
5+
- **Server:** The remote machine where you want to run the DeepView.Profile.
66

77
## Prerequisites
88
**SSH Access.**
99
At a minimum, you need SSH access to a server that allows SSH tunnelling. If the server machine exposes ports then it does not need to support SSH tunnelling.
1010

11-
**Skyline and Habitat.**
12-
Install Skyline and (optionally Habitat) on your server to allow remote profiling.
11+
**DeepView.Profile and DeepView.Predict.**
12+
Install DeepView.Profile and (optionally DeepView.Predict) on your server to allow remote profiling.
1313

1414
**[VSCode Remote - SSH extension.](https://code.visualstudio.com/docs/remote/ssh)**
15-
This extension allows users to connect to a remote machine and run extensions remotely. The extension handles most of the heavy lifting so it makes it easy to use the Skyline plugin on remote machines.
15+
This extension allows users to connect to a remote machine and run extensions remotely. The extension handles most of the heavy lifting so it makes it easy to use DeepView.Explore on remote machines.
1616

17-
**Installing the Skyline Plugin on the Server**
18-
To install the Skyline plugin on the server, take the following steps.
17+
**Installing the DeepView.Explore on the Server**
18+
To install the DeepView.Explore plugin on the server, take the following steps.
1919
1. Connect to your server via SSH.
2020
2. Get the VSIX file following the installation instructions. Take note the path to the VSIX file.
2121
2. Open VSCode on your client and connect to your server.
@@ -25,7 +25,7 @@ To install the Skyline plugin on the server, take the following steps.
2525
## Starting a Remote Profiling Session
2626

2727
### Starting the Skyline Profiler
28-
The Skyline Profiler needs to running on the server to enable the plugin. You can connect to the server via SSH and start the Skyline profiler by running the `skyline interactive` command as usual.
28+
DeepView.Profile needs to running on the server to enable the plugin. You can connect to the server via SSH and start DeepView.Profile by running the `skyline interactive` command as usual.
2929

3030
```zsh
3131
poetry run skyline interactive
@@ -34,8 +34,8 @@ poetry run skyline interactive
3434
If you want to use a different port, you can use the `--port` flag to tell the profiler to listen on a different port.
3535

3636
```zsh
37-
poetry run skyline interactive
37+
poetry run skyline interactive --port portNumber
3838
```
3939

40-
### Starting the Skyline Plugin
41-
Launch VSCode and open Skyline by running the Skyline command in the command palette (Ctrl-Shift-P on Linux/Windows, ⌘-Shift-P on macOS). Select your project root and begin profiling.
40+
### Starting DeepView.Explore
41+
Launch VSCode and open DeepView.Explore by running the Skyline command in the command palette (Ctrl-Shift-P on Linux/Windows, ⌘-Shift-P on macOS). Select your project root and begin profiling.

docs/run-time-report.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
This page describes the database schema of the run time report that is generated by Skyline's `time` subcommand. Recall
2-
that Skyline's reports (memory and run time) are [SQLite database files](https://www.sqlite.org/).
1+
This page describes the database schema of the run time report that is generated by DeepView.Profile's `time` subcommand. Recall
2+
that DeepView.Profile's reports (memory and run time) are [SQLite database files](https://www.sqlite.org/).
33

44
## Overview
55

6-
Skyline's run time report contains a breakdown of the run times of each operation that runs in one training iteration. Skyline only tracks the
6+
DeepView.Profile's run time report contains a breakdown of the run times of each operation that runs in one training iteration. DeepView.Profile only tracks the
77
operations that execute as a part of either the forward and backward pass.
88

9-
For each tracked operation, Skyline also includes the stack trace leading to that operation. Skyline only includes the stack frames associated with files inside your project (i.e. files under your project's root directory).
9+
For each tracked operation, DeepView.Profile also includes the stack trace leading to that operation. DeepView.Profile only includes the stack frames associated with files inside your project (i.e. files under your project's root directory).
1010

1111
## Tables
1212

@@ -23,7 +23,7 @@ CREATE TABLE run_time_entries (
2323

2424
This table holds the measured run time(s) of each tracked operation. Each entry in this table represents one operation *instance* (i.e. one invocation of an operation). The columns in this table are self-explanatory.
2525

26-
**NOTE:** Skyline reports run times in milliseconds.
26+
**NOTE:** DeepView.Profile reports run times in milliseconds.
2727

2828
**Backward Pass.**
2929
Note that not every operation is necessarily involved in the backward pass. When an operation is not in the backward pass, `backward_ms` will be `NULL`.
@@ -43,7 +43,7 @@ CREATE TABLE stack_frames (
4343

4444
This table holds the stack frames associated with each tracked operation. The `entry_id` column is a foreign key that references the `id` column in `run_time_entries`.
4545

46-
**NOTE** Skyline does not add an explicit foreign key constraint to the `entry_id` column.
46+
**NOTE** DeepView.Profile does not add an explicit foreign key constraint to the `entry_id` column.
4747

4848
**Ordering.**
4949
There may be multiple stack frames associated with any given tracked operation (i.e. any given `entry_id`). The `ordering` column is used to keep track of the ordering among stack frames that share the same `entry_id`. When sorted in ascending order by the `ordering` column, the stack frames will be ordered from most-specific (i.e. *closest* to the operation's call site) to least-specific (i.e. *farthest* from the operation's call site).

examples/gnmt/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This directory contains an implementation of GNMT that was adapted from the
44
code found in the [MLPerf training repository](https://github.com/mlperf/training/tree/master/rnn_translator).
55

6-
To launch an interactive Skyline profiling session for GNMT, run
6+
To launch an interactive DeepView.Profile session for GNMT, run
77
```
88
skyline interactive entry_point.py
99
```

0 commit comments

Comments
 (0)