Skip to content

Commit

Permalink
Caps max allowed version of transformers for vila.
Browse files Browse the repository at this point in the history
v4.34.0 release did a complete refactor of the tokenizer
module, see:

huggingface/transformers#23909

Something about the difference is causing vila to
produce literally billions of lines of log warning messages
to Datadog in prod. I don't know if these warnings are
meaningful, but they are expensive.
  • Loading branch information
Christopher Wilhelm committed Oct 17, 2023
1 parent fbaf85b commit 4f958ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ hf_predictors = [
]
vila_predictors = [
'vila>=0.5,<0.6',
'transformers',
'transformers<4.34.0',
]
mention_predictor = [
'transformers[torch]',
Expand Down

0 comments on commit 4f958ab

Please sign in to comment.