-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Fmeval support for python 3.11 and 3.12 (#339)
* add support for python 3.11 and 3.12 * add cleanup disk space and test matrix strategy * bump up version number to 1.2.2 --------- Co-authored-by: satish gollaprolu <[email protected]>
- Loading branch information
Showing
8 changed files
with
3,153 additions
and
2,910 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,16 +9,37 @@ env: | |
AWS_DEFAULT_REGION: us-west-2 | ||
|
||
jobs: | ||
test_coverage_python_310: | ||
test_coverage_python: | ||
runs-on: ubuntu-latest | ||
continue-on-error: false | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ['3.10', '3.11', '3.12'] | ||
env: | ||
PYTHONWARNINGS: ignore | ||
steps: | ||
- name: Free Disk Space (Ubuntu) | ||
uses: jlumbroso/[email protected] | ||
with: | ||
# this might remove tools that are actually needed, | ||
# if set to "true" but frees about 6 GB | ||
tool-cache: false | ||
|
||
# all of these default to true, but feel free to set to | ||
# "false" if necessary for your workflow | ||
android: true | ||
dotnet: true | ||
haskell: true | ||
large-packages: true | ||
docker-images: true | ||
swap-storage: true | ||
|
||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Setup Environment | ||
run: | | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "fmeval" | ||
version = "1.2.1" | ||
version = "1.2.2" | ||
description = "Amazon Foundation Model Evaluations" | ||
license = "Apache License 2.0" | ||
authors = ["Amazon FMEval Team <[email protected]>"] | ||
|
@@ -14,40 +14,42 @@ classifiers=[ | |
"Natural Language :: English", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
|
||
|
||
[tool.poetry.dependencies] | ||
python = "^3.10" | ||
urllib3 = ">=2.2.2" | ||
ray = "2.23.0" | ||
urllib3 = ">=2.3.0" | ||
ray = "2.40.0" | ||
semantic-version = "2.10.0" | ||
pyarrow = "*" | ||
pyfunctional = "1.4.3" | ||
torch = ">=2.0.0, !=2.0.1, !=2.1.0" | ||
matplotlib = "^3.8.3" | ||
pyfunctional = "1.5.0" | ||
torch = ">=2.5.0" | ||
matplotlib = "^3.10.0" | ||
# https://discuss.ray.io/t/pandas-importerror-with-ray-data-dataset-show/13486 | ||
pandas = "2.1.4" | ||
pandas = "2.2.3" | ||
nltk = "^3.9.0" | ||
markdown = "*" | ||
IPython = "*" | ||
evaluate = "^0.4.0" | ||
rouge-score = "^0.1.2" | ||
bert-score = "^0.3.13" | ||
scikit-learn = "^1.3.1" | ||
jiwer = "^3.0.3" | ||
transformers = "^4.36.0" | ||
sagemaker = "^2.225.0" | ||
scikit-learn = "^1.6.0" | ||
jiwer = "^3.0.5" | ||
transformers = "^4.47.0" | ||
sagemaker = "^2.237.1" | ||
testbook = "^0.4.2" | ||
ipykernel = "^6.26.0" | ||
mypy-boto3-bedrock = "^1.33.2" | ||
grpcio = "^1.60.0" | ||
aiohttp = "^3.9.2" | ||
ipykernel = "^6.29.5" | ||
mypy-boto3-bedrock = "^1.35.75" | ||
grpcio = "^1.68.1" | ||
aiohttp = "^3.11.11" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
fire = "*" | ||
black = "24.3.0" | ||
pre-commit = "3.3.3" | ||
black = "24.10.0" | ||
pre-commit = "^4.0.0" | ||
pytest = "*" | ||
pytest-pspec = "*" | ||
flake8 = "*" | ||
|
@@ -61,7 +63,7 @@ conventional-pre-commit = "*" | |
optional = true | ||
|
||
[tool.poetry.group.docs.dependencies] | ||
pdoc = "^14.4.0" | ||
pdoc = "^15.0.1" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.