Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates the tutorial and other documentation #23

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ gpu_tracker
###########
Description
-----------
The ``gpu_tracker`` package provides a ``Tracker`` class that tracks (profiles) the usage of compute time, maximum RAM, and maximum GPU RAM.
The ``gpu_tracker`` package provides a ``Tracker`` class and a commandline-interface that tracks (profiles) the usage of compute time, maximum RAM, and maximum GPU RAM.
The compute time is a measurement of the real time taken by the task as opposed to the CPU-utilization time.
The GPU tracking is for Nvidia GPUs and uses the ``nvidia-smi`` command, assuming the Nvidia drivers have been installed.
Computational resources are tracked throughout the duration of a context manager or the duration of explicit calls to the ``start()`` and ``stop()`` methods of the ``Tracker`` class.
Expand Down
2 changes: 1 addition & 1 deletion docs/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CLI
The ``gpu-tracker`` command-line interface allows tracking computational-resource-usage of an arbitrary shell command.
For example, one may want to profile a command that runs a script or a command ran in a high-performance-computing job.
Below is the help message shown from ``gpu-tracker --help``.
See the :ref:`tutorial-label` for examples of using the CLI.
See the CLI section of the :ref:`tutorial-label` for examples of using the CLI.

.. literalinclude:: ../src/gpu_tracker/__main__.py
:start-at: Usage:
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def setup(app):

autodoc_typehints = 'both'
autoclass_content = 'both'
autodoc_member_order = 'bysource'
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']

Expand Down
Loading
Loading