Skip to content

Commit

Permalink
additional warning allowed for transformers nightly compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
speediedan committed Jun 2, 2024
1 parent 57a283f commit 2c7e4a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fts_examples/stable/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"Please use torch.utils._pytree.register_pytree_node", # temp allow deprecated behavior of transformers
"We are importing from `pydantic", # temp pydantic import migration warning
# allowing below until https://github.com/pytorch/pytorch/pull/123619 is resolved wrt `ZeroRedundancyOptimizer`
"TorchScript support for functional optimizers is",
"`TorchScript` support for functional optimizers is", # required with pt 2.4 nightly 20240601
"`is_compiling` is deprecated", # required with pt 2.4 nightly 20240601 and `transformers` 4.41.2
]
MIN_VERSION_WARNS = "2.0"
MAX_VERSION_WARNS = "2.4"
Expand Down

0 comments on commit 2c7e4a3

Please sign in to comment.