nv-one-logger-core is the foundational logging library within the NVIDIA one-logger ecosystem, providing core logging functionality, including spans, events, and attributes. It enables tracking of GPU application progress and helps identify overhead. The library also integrates with OpenTelemetry (OTEL) for backend telemetry. The current version is 2.3.1, with recent releases indicating an active development cadence.
pip install nv-one-logger-coreVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to initialize the nv-one-logger-core with OpenTelemetry console exporter, create a logger, and use spans to track operations. The `OTEL_EXPORTER_OTLP_ENDPOINT` environment variable can be set for OTLP exporters.
Upgrade to `nv-one-logger-core` version 2.5.0 or later if available, and ensure any dependent libraries like `nv-one-logger-training-telemetry` are also updated to versions that incorporate this fix. (Note: Current `nv-one-logger-core` is 2.3.1, implying a subsequent release will address this).
Ensure `nv-one-logger` is correctly initialized and enabled in all relevant processes/ranks. If logging is intentionally disabled, consider conditionally calling `nv-one-logger` APIs or adjusting framework integrations to avoid unnecessary calls.
Refer to the NVIDIA GitHub repository (NVIDIA/nv-one-logger) for the authoritative project structure and usage patterns to avoid confusion with unrelated libraries.