diff --git a/.github/workflows/_build_wheels.yaml b/.github/workflows/_build_wheels.yaml index 41e7dc54b..ce92afad0 100644 --- a/.github/workflows/_build_wheels.yaml +++ b/.github/workflows/_build_wheels.yaml @@ -92,7 +92,7 @@ jobs: matrix: torch: ['2.1.1'] py: ['3.8', '3.9', '3.10', '3.11'] - variant: ['cu118'] + variant: ['cu121'] with: torch: ${{ matrix.torch }} py: ${{ matrix.py }} diff --git a/.github/workflows/_publish.yaml b/.github/workflows/_publish.yaml index 11593c758..0a3ac6f8e 100644 --- a/.github/workflows/_publish.yaml +++ b/.github/workflows/_publish.yaml @@ -72,7 +72,7 @@ jobs: matrix: torch: ['2.1.1'] py: ['3.8', '3.9', '3.10', '3.11'] - variant: ['cu118'] + variant: ['cu121'] max-parallel: 1 with: os: 'linux' diff --git a/CHANGELOG.md b/CHANGELOG.md index 7adb17d6a..4698f97e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,13 @@ All notable changes to fairseq2 are documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). -## [0.2] - TBD -- Introduced LLaMA and LLaMA 2 models -- Introduced GLUFeedForwardNetwork +## [0.2.0] - 2023-11-29 +- Introduced LLaMA and LLaMA 2 +- Introduced Mistral 7B +- Introduced LoRA fine-tuning +- Revised the sequence generator API +- Introduced support for lazy padding and attention masks +- Many smaller improvements to existing APIs ## [0.1.1] - 2023-09-07 - Improvements to the build system and CI pipelines diff --git a/VERSION b/VERSION index 679c772d0..0ea3a944b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.0.dev0 +0.2.0 diff --git a/fairseq2n/python/setup.py b/fairseq2n/python/setup.py index de958e10b..8584ea24f 100644 --- a/fairseq2n/python/setup.py +++ b/fairseq2n/python/setup.py @@ -136,7 +136,7 @@ def get_inputs(self) -> List[str]: "install_cmake": install_cmake, }, name="fairseq2n", - version="0.2.0.dev0", + version="0.2.0", description="FAIR Sequence Modeling Toolkit (Native)", long_description="https://github.com/facebookresearch/fairseq2", long_description_content_type="text/plain", diff --git a/fairseq2n/python/src/fairseq2n/__init__.py b/fairseq2n/python/src/fairseq2n/__init__.py index b6f680ecb..a8db57ce9 100644 --- a/fairseq2n/python/src/fairseq2n/__init__.py +++ b/fairseq2n/python/src/fairseq2n/__init__.py @@ -13,7 +13,7 @@ from pathlib import Path from typing import List, Optional, Tuple -__version__ = "0.2.0.dev0" +__version__ = "0.2.0" # Keeps the shared libraries that we load using our own extended lookup logic diff --git a/setup.py b/setup.py index 4b2e4c610..33b6207fc 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ from setuptools import find_packages, setup -version = "0.2.0.dev0" +version = "0.2.0" # If this is a local development install, allow nightly fairseq2n builds to # take precedence. diff --git a/src/fairseq2/__init__.py b/src/fairseq2/__init__.py index 37b1f9732..f215f7cce 100644 --- a/src/fairseq2/__init__.py +++ b/src/fairseq2/__init__.py @@ -8,7 +8,7 @@ # We import fairseq2n to report any initialization error eagerly. import fairseq2n -__version__ = "0.2.0.dev0" +__version__ = "0.2.0" # If ``True``, indicates that we are run under Sphinx.