Skip to content

Commit f6b3cb3

Browse files
atheo89mtchoum1
authored andcommitted
Bump transformers version to 4.52.1
1 parent a778098 commit f6b3cb3

File tree

3 files changed

+48
-34
lines changed

3 files changed

+48
-34
lines changed

Makefile

Lines changed: 46 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -390,48 +390,62 @@ validate-rstudio-image: bin/kubectl
390390

391391
# This recipe used mainly from the Pipfile.locks Renewal Action
392392
# Default Python version
393+
# PYTHON_VERSION ?= 3.11
394+
# ROOT_DIR := $(shell pwd)
395+
# ifeq ($(PYTHON_VERSION), 3.11)
396+
# BASE_DIRS := \
397+
# jupyter/minimal/ubi9-python-$(PYTHON_VERSION) \
398+
# jupyter/datascience/ubi9-python-$(PYTHON_VERSION) \
399+
# jupyter/pytorch/ubi9-python-$(PYTHON_VERSION) \
400+
# jupyter/tensorflow/ubi9-python-$(PYTHON_VERSION) \
401+
# jupyter/trustyai/ubi9-python-$(PYTHON_VERSION) \
402+
# jupyter/rocm/tensorflow/ubi9-python-$(PYTHON_VERSION) \
403+
# jupyter/rocm/pytorch/ubi9-python-$(PYTHON_VERSION) \
404+
# codeserver/ubi9-python-$(PYTHON_VERSION) \
405+
# rstudio/rhel9-python-$(PYTHON_VERSION) \
406+
# rstudio/c9s-python-$(PYTHON_VERSION) \
407+
# runtimes/minimal/ubi9-python-$(PYTHON_VERSION) \
408+
# runtimes/datascience/ubi9-python-$(PYTHON_VERSION) \
409+
# runtimes/pytorch/ubi9-python-$(PYTHON_VERSION) \
410+
# runtimes/tensorflow/ubi9-python-$(PYTHON_VERSION) \
411+
# runtimes/rocm-tensorflow/ubi9-python-$(PYTHON_VERSION) \
412+
# runtimes/rocm-pytorch/ubi9-python-$(PYTHON_VERSION)
413+
# else ifeq ($(PYTHON_VERSION), 3.12)
414+
# BASE_DIRS := \
415+
# jupyter/minimal/ubi9-python-$(PYTHON_VERSION) \
416+
# jupyter/datascience/ubi9-python-$(PYTHON_VERSION) \
417+
# jupyter/pytorch/ubi9-python-$(PYTHON_VERSION) \
418+
# jupyter/tensorflow/ubi9-python-$(PYTHON_VERSION) \
419+
# jupyter/trustyai/ubi9-python-$(PYTHON_VERSION) \
420+
# jupyter/rocm/pytorch/ubi9-python-$(PYTHON_VERSION) \
421+
# codeserver/ubi9-python-$(PYTHON_VERSION) \
422+
# runtimes/minimal/ubi9-python-$(PYTHON_VERSION) \
423+
# runtimes/datascience/ubi9-python-$(PYTHON_VERSION) \
424+
# runtimes/pytorch/ubi9-python-$(PYTHON_VERSION) \
425+
# runtimes/tensorflow/ubi9-python-$(PYTHON_VERSION) \
426+
# runtimes/rocm-pytorch/ubi9-python-$(PYTHON_VERSION)
427+
# # runtimes/rocm-tensorflow/ubi9-python-$(PYTHON_VERSION)
428+
# # jupyter/rocm/tensorflow/ubi9-python-$(PYTHON_VERSION)
429+
# # rstudio/rhel9-python-$(PYTHON_VERSION)
430+
# # rstudio/c9s-python-$(PYTHON_VERSION)
431+
# else
432+
# $(error Invalid Python version $(PYTHON_VERSION))
433+
# endif
434+
393435
PYTHON_VERSION ?= 3.11
394436
ROOT_DIR := $(shell pwd)
395437
ifeq ($(PYTHON_VERSION), 3.11)
396438
BASE_DIRS := \
397-
jupyter/minimal/ubi9-python-$(PYTHON_VERSION) \
398-
jupyter/datascience/ubi9-python-$(PYTHON_VERSION) \
399-
jupyter/pytorch/ubi9-python-$(PYTHON_VERSION) \
400-
jupyter/tensorflow/ubi9-python-$(PYTHON_VERSION) \
401-
jupyter/trustyai/ubi9-python-$(PYTHON_VERSION) \
402-
jupyter/rocm/tensorflow/ubi9-python-$(PYTHON_VERSION) \
403-
jupyter/rocm/pytorch/ubi9-python-$(PYTHON_VERSION) \
404-
codeserver/ubi9-python-$(PYTHON_VERSION) \
405-
rstudio/rhel9-python-$(PYTHON_VERSION) \
406-
rstudio/c9s-python-$(PYTHON_VERSION) \
407-
runtimes/minimal/ubi9-python-$(PYTHON_VERSION) \
408-
runtimes/datascience/ubi9-python-$(PYTHON_VERSION) \
409-
runtimes/pytorch/ubi9-python-$(PYTHON_VERSION) \
410-
runtimes/tensorflow/ubi9-python-$(PYTHON_VERSION) \
411-
runtimes/rocm-tensorflow/ubi9-python-$(PYTHON_VERSION) \
412-
runtimes/rocm-pytorch/ubi9-python-$(PYTHON_VERSION)
439+
jupyter/trustyai/ubi9-python-$(PYTHON_VERSION)
440+
413441
else ifeq ($(PYTHON_VERSION), 3.12)
414442
BASE_DIRS := \
415-
jupyter/minimal/ubi9-python-$(PYTHON_VERSION) \
416-
jupyter/datascience/ubi9-python-$(PYTHON_VERSION) \
417-
jupyter/pytorch/ubi9-python-$(PYTHON_VERSION) \
418-
jupyter/tensorflow/ubi9-python-$(PYTHON_VERSION) \
419-
jupyter/trustyai/ubi9-python-$(PYTHON_VERSION) \
420-
jupyter/rocm/pytorch/ubi9-python-$(PYTHON_VERSION) \
421-
codeserver/ubi9-python-$(PYTHON_VERSION) \
422-
runtimes/minimal/ubi9-python-$(PYTHON_VERSION) \
423-
runtimes/datascience/ubi9-python-$(PYTHON_VERSION) \
424-
runtimes/pytorch/ubi9-python-$(PYTHON_VERSION) \
425-
runtimes/tensorflow/ubi9-python-$(PYTHON_VERSION) \
426-
runtimes/rocm-pytorch/ubi9-python-$(PYTHON_VERSION)
427-
# runtimes/rocm-tensorflow/ubi9-python-$(PYTHON_VERSION)
428-
# jupyter/rocm/tensorflow/ubi9-python-$(PYTHON_VERSION)
429-
# rstudio/rhel9-python-$(PYTHON_VERSION)
430-
# rstudio/c9s-python-$(PYTHON_VERSION)
443+
jupyter/trustyai/ubi9-python-$(PYTHON_VERSION)
431444
else
432445
$(error Invalid Python version $(PYTHON_VERSION))
433446
endif
434447

448+
435449
# Default value is false, can be overiden
436450
# The below directories are not supported on tier-1
437451
INCLUDE_OPT_DIRS ?= false

jupyter/trustyai/ubi9-python-3.11/Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ torch = {version = "==2.6.0+cu126", index = "pytorch"}
1717
# More information available at:
1818
# - https://pypi.org/project/trustyai/
1919
# - https://github.com/trustyai-explainability/trustyai-explainability-python/blob/main/requirements.txt
20-
transformers = "~=4.50.0"
20+
transformers = "~=4.52.1"
2121
datasets = "~=3.4.1"
2222
accelerate = "~=1.5.2"
2323
trustyai = "~=0.6.1"

jupyter/trustyai/ubi9-python-3.12/Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ torch = {version = "==2.6.0+cu126", index = "pytorch"}
1717
# More information available at:
1818
# - https://pypi.org/project/trustyai/
1919
# - https://github.com/trustyai-explainability/trustyai-explainability-python/blob/main/requirements.txt
20-
transformers = "~=4.50.0"
20+
transformers = "~=4.52.1"
2121
datasets = "~=3.4.1"
2222
accelerate = "~=1.5.2"
2323
trustyai = "~=0.6.2"

0 commit comments

Comments
 (0)