Skip to content

SparseML v1.6.0

Compare
Choose a tag to compare
@jeanniefinks jeanniefinks released this 11 Dec 21:23
· 1 commit to release/1.6 since this release
aac6b90

New Features:

Changes:

  • SparseML upgraded for SparseZoo V2 model file structure changes, which expands the number of supported files and reduces the number of bytes that need to be downloaded for model checkpoints, folders, and files. (#1719)

  • Docker builds updated to consistently rebuild for new releases and nightlies. (#1506, #1531, #1543, #1537, #1665, #1684)

  • README and documentation updated to include: Slack Community name change, Contact Us form introduction, Python version changes; corrections for YOLOv5 torchvision, transformers, and SparseZoo broken links; and installation command. (#1536, #1577, #1578, #1610, #1617, #1612, #1602, #1659, #1721, #1725 , #1726, #1785)

  • Improved support for large ONNX files to improve loading performance and limit memory performance issues, especially for LLMs. (#1515, #1540, #1514, #1586)

  • Transformers datasets can now be created without a model needing to be passed in. (#1544, #1545)

  • Torchvision training and sparsification pipelines updated to enable patch versions of torchvision as installable dependencies, whereas before the version was restricted to 0.14.0 and now supports 0.14.x. (#1556)

  • Image classification training and sparsification pipelines for torchvision now support arguments for RGB emans and standard deviations to be passed in, enabling overriding of the default ImageNet values that were hardcoded. (#1546)

  • YOLOv5 training and sparsification pipelines migrated to install from nm-yolov5 on PyPI and remove the autoinstall from the nm-yolov5 GitHub repository that would happen on invocation of the relevant pathways, enabling more predictable environments. (#1518, #1564, #1566)

  • Transformers training and sparsification pipelines migrated to install from nm-transformers on PyPI and remove the autoinstall from the nm-transformers GitHub repository that would happen on invocation of the relevant pathways, enabling more predictable environments. (#1518, #1553, #1564, #1566, #1730)

  • Deprecated and no longer supported:

    • Keras pathways (#1585, #1607)
    • TensorFlow pathways (#1606, #1607)
    • Python 3.7 (#1611)
    • sparseml.benchmark commands and utilities; may be refactored in a future release (#1625)
    • SSD ResNet models sparsification and model loading; will be removed in a future release (#1739)
  • Pydantic version pinned to <2.0 preventing potential issues with untested versions. (#1645)

  • Automatic link checking added to GitHub actions. (#1525)

Resolved Issues:

  • ONNX export for MobileBERT results in an exported ONNX model that previously had poor performance in DeepSparse. (#1539)

  • OpenCV is now installed for image classification pathways when running pip install sparseml[torchvision]. Before it would crash with a missing dependency error of opencv unless installed. (#1575)

  • Scipy version dependency issues resolved with scikit-image which would result in incompatibility errors on install of scikit-image for computer vision pathways. (#1570)

  • Transformers export pathways for quantized models addressed where the export would improperly crash and not export for all transformers models. (#1654)

  • Transformers data support for jsonl files through the question answering pathways was resulting in a JSONDecodeError; these are now loading correctly. (#1667, #1669)

  • Unit and integration tests updated to remove temporary test files and limit test file creation which were not being properly deleted. (#1609, #1668, #1672, #1696)

  • Image classification pipelines no longer crash with an extra argument error when using CIFAR10 or CIFAR100 datasets. (#1671)

Known Issues:

  • The compile time for dense LLMs can be very slow. Compile time to be addressed in forthcoming release.
  • Docker images are not currently pushing. A resolution is forthcoming for functional Docker builds. [RESOLVED]