Environment diagnostics#

doctor(*, require_cuda=False, probe_native_bitpack=False, output=True, stream=None)[source]#

Inspect a Dendra deployment and optionally probe native CUDA bitpacking.

By default this function is read-only with respect to native extensions: it does not compile, load, or launch one. Set probe_native_bitpack=True to explicitly opt into a JIT build/load and a tiny end-to-end kernel smoke test.

class DoctorReport(checks, require_cuda, probe_native_bitpack)[source]#

Structured result returned by doctor().

class DoctorCheck(name, status, message, details=None)[source]#

One independently actionable environment diagnostic.