Skip to content

Commit

Permalink
Caps max allowed version of transformers for vila. (#279)
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.

Example logs:
https://app.datadoghq.com/logs?query=service%3Avila-v0%20&cols=host%2Cservice&index=%2A&messageDisplay=inline&refresh_mode=paused&stream_sort=desc&viz=stream&from_ts=1697556761689&to_ts=1697557153857&live=false
  • Loading branch information
cmwilhelm authored Oct 17, 2023
1 parent fbaf85b commit 750dfe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = 'mmda'
version = '0.9.14'
version = '0.9.15'
description = 'MMDA - multimodal document analysis'
authors = [
{name = 'Allen Institute for Artificial Intelligence', email = '[email protected]'},
Expand Down 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 750dfe6

Please sign in to comment.