-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from roboflow/fix/dependencies
fix Florence2 dependencies
- Loading branch information
Showing
9 changed files
with
134 additions
and
574 deletions.
There are no files selected for viewing
This file was deleted.
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
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,5 +1,7 @@ | ||
from maestro.trainer.common.utils.metrics import ( | ||
BLEUMetric, | ||
CharacterErrorRateMetric, | ||
MeanAveragePrecisionMetric, | ||
TranslationErrorRateMetric, | ||
WordErrorRateMetric, | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,15 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "maestro" | ||
version = "0.2.0rc5" | ||
version = "0.2.0rc6" | ||
description = "Visual Prompting for Large Multimodal Models (LMMs)" | ||
readme = "README.md" | ||
authors = [ | ||
{name = "Roboflow", email = "[email protected]"} | ||
{name = "Piotr Skalski", email = "[email protected]"} | ||
] | ||
maintainers = [ | ||
{name = "Piotr Skalski", email = "[email protected]"} | ||
] | ||
readme = "README.md" | ||
license = {file = "LICENSE"} | ||
keywords = ["roboflow","maestro","transformers", "torch", "accelerate", "multimodal", "lmm", "vision", "nlp", "prompting", "vlm"] | ||
requires-python = ">=3.9,<3.13" | ||
|
@@ -34,18 +37,19 @@ classifiers = [ | |
] | ||
|
||
dependencies = [ | ||
"supervision>=0.24,<0.27", | ||
# "accelerate>=0.33", | ||
# "sentencepiece>=0.2.0", | ||
# "peft>=0.12,<0.14", | ||
# "einops>=0.8.0", | ||
# "timm>=1.0.9", | ||
|
||
# core | ||
"supervision>=0.24.0rc1", | ||
"requests>=2.31.0,<=2.32.3", | ||
"transformers>=4.44.2,<4.48.0", | ||
"torch~=2.4.0", | ||
"accelerate>=0.33,<1.1", | ||
"sentencepiece~=0.2.0", | ||
"peft>=0.12,<0.14", | ||
"flash-attn~=2.6.3; sys_platform != 'darwin'", | ||
"einops~=0.8.0", | ||
"timm~=1.0.9", | ||
"typer~=0.12.5", | ||
"jiwer~=3.0.4", | ||
"typer>=0.12.5", | ||
"jiwer>=3.0.4", | ||
"evaluate>=0.4.3", | ||
"sacrebleu>=2.3.0" | ||
] | ||
|
||
[project.urls] | ||
|
@@ -68,7 +72,12 @@ dev = [ | |
"pre-commit>=3.8,<4.1", | ||
"mypy>=1.11.2,<1.14.0", | ||
"ruff>=0.6.5,<0.8.0", | ||
"tox>=4.18.1,<4.24.0" | ||
"tox>=4.18.1,<4.22.0" | ||
] | ||
florence_2 = [ | ||
"transformers>=4.43.0", | ||
"torch>=2.4.0", | ||
"flash-attn>=2.7.0.post2; sys_platform != 'darwin'" | ||
] | ||
|
||
[project.scripts] | ||
|
Oops, something went wrong.