repo_description: Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes.
repo_topics: ai artificial-intelligence data-science deep-learning machine-learning python pytorch
code: import os
  
  _PACKAGE_ROOT = os.path.dirname(__file__)
  _VERSION_PATH = os.path.join(os.path.dirname(_PACKAGE_ROOT), "version.info")
  if not os.path.exists(_VERSION_PATH):
      # relevant for `bdist_wheel`
      _VERSION_PATH = os.path.join(_PACKAGE_ROOT, "version.info")
  with open(_VERSION_PATH, encoding="utf-8") as fopen:
      version = fopen.readlines()[0].strip()
  