Running your first analysis#

Follow the instructions depending on your setup:

Local workstation#

  1. Choose an project you want to profile or an example provided in the DeepView.Profile repo

  2. Launch the profiler.

    • Run the following command

    python3 -m deepview_profile interactive --port <PORTNUMBER>
    
    • Note that the default port number is 60120

  3. 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 on Begin 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

Running the VSCode extension

Remote GPU with SSH access#

  1. Choose an project you want to profile or an example provided in the DeepView.Profile repo

  2. 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

  3. 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 on Begin 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

Running the VSCode extension

Other use cases (containers, HPC clusters)#

Coming soon