Skip to content
Open
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ New dependencies can be added by adding a script in the “scripts” directory
similar to the existing scripts.

As DCGM needs to support some older Linux distributions on various CPU
architectures, the image provide custom builds of GCC compilers that produce
architectures, the image provides custom builds of GCC compilers that produce
binaries which depend on older versions of the GLibc libraries. The DCGM build
image will also contain all 3rd party libraries that are precompiled using those
custom GCC builds.
Expand Down Expand Up @@ -79,11 +79,11 @@ building 3 versions of GCC toolset for all supported platforms. Once the image
has been built, it can be reused to build DCGM.

### Generating a DCGM build
Once the build image is created, you can use the run `build.sh` to produce builds. A simple debian build of release (non-debug) code for an x86_64 system can be made with:
Once the build image is created, you can run `build.sh` to produce builds. A simple Debian build of release (non-debug) code for an x86_64 system can be made with:

`./build.sh -r --deb`

The rpm will be placed in `_out/Linux-amd64-release/datacenter-gpu-manager_2.1.4_amd64.deb`; it can now be installed as needed. The script includes options for building just the binaries (default), tarballs (--packages), or RPM (--rpm) as well. A complete list of options can been seen using `./build.sh -h`.
The .deb package will be placed in `_out/Linux-amd64-release/` (e.g. `datacenter-gpu-manager_<version>_amd64.deb`); it can now be installed as needed. The script includes options for building just the binaries (default), tarballs (--packages), or RPM (--rpm) as well. A complete list of options can be seen using `./build.sh -h`.

### Running the Test Framework
DCGM includes an extensive test suite that can be run on any system with one or more supported GPUs. After successfully building DCGM tarballs, a `datacenter-gpu-manager-tests` package is created alongside the normal DCGM package. There are multiple ways to run the tests but the most straightforward steps are the following:
Expand Down
4 changes: 2 additions & 2 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ NVIDIA Data Center GPU Manager (DCGM) is a suite of tools for managing and monit

# Architecture

As previously stated, DCGM is a tool used to monitor the health and telemetry of NVIDIAGPUs and their related components. We use a modular design to accomplish this task. The core of DCGM consists of:
As previously stated, DCGM is a tool used to monitor the health and telemetry of NVIDIA GPUs and their related components. We use a modular design to accomplish this task. The core of DCGM consists of:
- APIs for interacting with the DCGM agent (nv-hostengine).
- A cache for the known telemetry.
- Modules that perform different functions:
Expand Down Expand Up @@ -54,7 +54,7 @@ DCGM follows semver best practices, so the nature of the change will determine w
- Insufficient time: changes that cannot be reviewed in time will be deferred to another release. Similarly, if a change is risky it must be adopted early enough in the release cycle to ensure that it hasn’t caused any regressions. Risky changes submitted later in a release cycle will also be deferred to the next release.
- Incompleteness: for example, a change that updates C APIs, but doesn’t modify the Python bindings would be considered incomplete.
- Changes that are not signed cannot be accepted.
- Code must meet the DCGM coding best practices mentioned in dcgm_best_practices.md, as well as following the style that is checked for by the pre-commit hooks if properly configured.
- Code must meet the DCGM coding best practices mentioned in [coding_best_practices.md](coding_best_practices.md), as well as following the style that is checked for by the pre-commit hooks if properly configured.

## The Mechanics of Contributing
1. Create a github issue which explains the change that you desire to make.
Expand Down