Skip to content

Commit 7ab04ce

Browse files
authored
Update to suport Python 3.12 (#495)
Signed-off-by: Ryan Wolf <[email protected]>
1 parent 57f0e3c commit 7ab04ce

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
os: [ubuntu-latest]
22-
python-version: ["3.10"]
22+
python-version: ["3.12"]
2323
steps:
2424
- uses: actions/checkout@v4
2525
- name: Optionally free up space on Ubuntu

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# See https://github.com/rapidsai/ci-imgs for ARG options
2-
# NeMo Curator requires Python 3.10, Ubuntu 22.04/20.04, and CUDA 12 (or above)
2+
# NeMo Curator requires Python 3.12, Ubuntu 22.04/20.04, and CUDA 12 (or above)
33
ARG CUDA_VER=12.5.1
44
ARG LINUX_VER=ubuntu22.04
5-
ARG PYTHON_VER=3.10
5+
ARG PYTHON_VER=3.12
66
ARG IMAGE_LABEL
77
ARG REPO_URL
88
ARG CURATOR_COMMIT
@@ -33,7 +33,7 @@ ARG CUDA_VER
3333

3434
# Install the minimal libcu* libraries needed by NeMo Curator
3535
RUN conda create -y --name curator -c nvidia/label/cuda-${CUDA_VER} -c conda-forge \
36-
python=3.10 \
36+
python=3.12 \
3737
cuda-cudart \
3838
libcufft \
3939
libcublas \

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ This section explains how to install NeMo Curator and use the Python library, Py
6969

7070
Before installing NeMo Curator, ensure that the following requirements are met:
7171

72-
- Python 3.10
72+
- Python 3.10 or higher
7373
- Ubuntu 22.04/20.04
7474
- NVIDIA GPU (optional)
7575
- Volta™ or higher ([compute capability 7.0+](https://developer.nvidia.com/cuda-gpus))

docs/user-guide/image/gettingstarted.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Install NeMo Curator
1212
---------------------
1313
To install the image curation modules of NeMo Curator, ensure you meet the following requirements:
1414

15-
* Python 3.10
15+
* Python 3.10 or higher
1616
* Ubuntu 22.04/20.04
1717
* NVIDIA GPU
1818
* Volta™ or higher (compute capability 7.0+)

pyproject.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,23 @@ name = "nemo_curator"
2121
description = "Scalable Data Preprocessing Tool for Training Large Language Models"
2222
readme = { file = "README.md", content-type = "text/markdown" }
2323
authors = [
24+
{ name = "Ryan Wolf", email = "[email protected]" },
2425
{ name = "Joseph Jennings", email = "[email protected]" },
2526
{ name = "Mostofa Patwary", email = "[email protected]" },
2627
{ name = "Sandeep Subramanian", email = "[email protected]" },
2728
{ name = "Shrimai Prabhumoye", email = "[email protected]" },
2829
{ name = "Ayush Dattagupta", email = "[email protected]" },
2930
{ name = "Vibhu Jawa", email = "[email protected]" },
3031
{ name = "Jiwei Liu", email = "[email protected]" },
31-
{ name = "Ryan Wolf", email = "[email protected]" },
3232
{ name = "Sarah Yurick", email = "[email protected]" },
3333
]
3434
classifiers = [
3535
"Development Status :: 3 - Alpha",
3636
"Programming Language :: Python :: 3",
3737
"Programming Language :: Python :: 3.10",
38+
"Programming Language :: Python :: 3.12",
3839
]
39-
requires-python = ">=3.10, <3.11"
40+
requires-python = ">=3.10"
4041
dependencies = [
4142
"awscli>=1.22.55",
4243
"beautifulsoup4",

0 commit comments

Comments
 (0)