Skip to content

Commit

Permalink
Pin transformers version <4.47 (#2447)
Browse files Browse the repository at this point in the history
* pin transformers to <4.47

* update version
  • Loading branch information
kashif authored Dec 6, 2024
1 parent c1e9ea8 commit 4c71daf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@
from setuptools import find_packages, setup


__version__ = "0.12.1" # expected format is one of x.y.z.dev0, or x.y.z.rc1 or x.y.z (no to dashes, yes to dots)
__version__ = "0.12.2" # expected format is one of x.y.z.dev0, or x.y.z.rc1 or x.y.z (no to dashes, yes to dots)

REQUIRED_PKGS = [
"accelerate>=0.34.0",
"datasets>=2.21.0",
"rich", # rich shouldn't be a required package for trl, we should remove it from here
"transformers>=4.46.0",
"transformers<4.47.0",
]
EXTRAS = {
# Windows support is partially supported with DeepSpeed https://github.com/microsoft/DeepSpeed/tree/master#windows
Expand Down
2 changes: 1 addition & 1 deletion trl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "0.12.1"
__version__ = "0.12.2"

from typing import TYPE_CHECKING

Expand Down

0 comments on commit 4c71daf

Please sign in to comment.