Running your first analysis#
Follow the instructions depending on your setup:
Local workstation#
Choose an project you want to profile or an example provided in the DeepView.Profile repo
Launch the profiler.
Run the following command
python3 -m deepview_profile interactive --port <PORTNUMBER>
Note that the default port number is 60120
Launch the VSCode Extension
Open VSCode and follow the steps below
Press
Ctrl-Shift-P
and select DeepView.Profile.Select the project directory containing the entry point
entry_point.py
. Finally, click onBegin Analysis
to analyze it with DeepView.Note if you changed the port used by the profiler, you need to update the port used by the extension. Go to the extension settings for DeepView and update the port number.
Screenshots of launching the VSCode Extension
Remote GPU with SSH access#
Choose an project you want to profile or an example provided in the DeepView.Profile repo
Launch the profiler in your remote workstation.
Run the following command
python3 -m deepview_profile interactive --port <PORTNUMBER>
Note that the default port number is 60120
Launch the VSCode extension
Open VSCode on your local workstation and follow the steps below
Press
Ctrl-Shift-P
and select DeepView.Profile.Select the project directory containing the entry point
entry_point.py
. Finally, click onBegin Analysis
to analyze it with DeepView.Note if you changed the port used by the profiler, you need to update the port used by the extension. Go to the extension settings for DeepView and update the port number.
Screenshots of launching the VSCode Extension
Other use cases (containers, HPC clusters)#
Coming soon