Diagnostics CLI reference#

areno env and areno check help diagnose setup problems before a user hits low-level Python, MLX, CUDA, or PyTorch errors.

areno env is a descriptive support report. It does not initialize the AReno engine or load model weights. Use it when collecting information for an issue.

areno env

For machine-readable issue reports:

areno env --json

The report includes AReno and Python versions, platform details, selected environment variables, and runtime dependencies for the host platform. On Apple Silicon (macOS with native arm64 or aarch64 Python), it reports mlx, mlx-lm, mlx-vlm, and Metal availability without probing PyTorch or CUDA. The JSON report contains dependencies and metal instead of the CUDA-specific torch, cuda, and gpus fields.

On Linux, the CUDA report includes:

  • AReno version

  • Python version and executable

  • OS, platform, and architecture

  • PyTorch version, CUDA build, CUDA runtime, and CUDA availability

  • CUDA driver information from nvidia-smi when available

  • visible GPU count, names, and compute capability

  • CUDA_HOME and inferred CUDA toolkit location

  • nvcc path and version

  • flash-attn import status and version

  • flash-linear-attention import status and version

  • areno_accel import status

  • selected environment variables such as MAX_JOBS, CUDA_VISIBLE_DEVICES, and TORCH_CUDA_ARCH_LIST

areno check#

areno check validates whether the machine is ready to run AReno training and serving. It classifies each check as OK, WARN, or FAIL and prints concrete next steps for failures.

areno check

Example output:

AReno check: not ready

OK   Python >= 3.10
     found 3.11.8
OK   PyTorch CUDA build
     torch.version.cuda=12.4
OK   CUDA_HOME
     not set (not required for runtime; areno_accel imports)

CUDA_HOME and nvcc are only warnings when AReno needs to build its CUDA extension. If the installed areno_accel extension imports successfully, they are not required for runtime readiness.

All platforms check Python version, platform support, and writable cache/log locations. Apple Silicon checks mlx and mlx-lm imports and Metal availability. Missing or broken mlx-vlm produces a warning because it is needed for multimodal models. PyTorch, NVIDIA GPUs, CUDA tools, FlashAttention, FLA, and areno_accel are not required on MLX; ARENO_BUILD_EXT=0 is not a failure on this platform. Intel Macs and Python running under Rosetta are not supported by the native MLX backend.

Linux CUDA checks include:

  • Python version

  • supported platform

  • PyTorch import and version

  • PyTorch CUDA build

  • torch.cuda.is_available()

  • NVIDIA GPU visibility

  • CUDA_HOME and nvcc

  • optional runtime dependency imports

  • areno_accel import

  • writable cache/log locations

WARN items usually indicate degraded or incomplete setup. FAIL items mean AReno is not ready to run the checked training/inference backend. The command exits with status 1 when any check fails, otherwise 0. A successful check confirms basic runtime prerequisites; it does not load a model or validate a training or serving workload.