code: def get_checkpoints_download_path():
      global _CHECKPOINTS_DOWNLOAD_PATH
  
      if _CHECKPOINTS_DOWNLOAD_PATH is not None:
          return _CHECKPOINTS_DOWNLOAD_PATH
  
      _CHECKPOINTS_DOWNLOAD_PATH = (
          lab.get_data_path() / "neox_fast" / "slim_weights"
      )
      if not _CHECKPOINTS_DOWNLOAD_PATH.exists():
          _CHECKPOINTS_DOWNLOAD_PATH = (
              lab.get_data_path() / "neox" / "slim_weights"
          )
      inspect(neox_checkpoint_path=_CHECKPOINTS_DOWNLOAD_PATH)
  
      return _CHECKPOINTS_DOWNLOAD_PATH
  
file_path: annotated_deep_learning_paper_implementations/labml_nn/neox/checkpoint.py
imports: from pathlib import Path
  from typing import Dict, Union, Tuple, Optional
  import torch
  from torch import nn
  from labml import monit, lab, logger
  from labml.logger import Text, inspect
  from labml.utils.download import download_file
label_desc: Use image node_id 1 for calling a global function with example usage: get_checkpoints_download_path() and returns: _CHECKPOINTS_DOWNLOAD_PATH, _CHECKPOINTS_DOWNLOAD_PATH