Bump version numbers for Flair release 0.14.0 #2332
Annotations
10 errors and 1 warning
flair/models/sequence_tagger_model.py#L341
ruff
pytest_ruff.RuffError: flair/models/sequence_tagger_model.py:16:56: F401 [*] `flair.file_utils.unzip_file` imported but unused
|
14 | from flair.datasets import DataLoader, FlairDatapointDataset
15 | from flair.embeddings import TokenEmbeddings
16 | from flair.file_utils import cached_path, hf_download, unzip_file
| ^^^^^^^^^^ F401
17 | from flair.models.sequence_tagger_utils.crf import CRF
18 | from flair.models.sequence_tagger_utils.viterbi import ViterbiDecoder, ViterbiLoss
|
= help: Remove unused import: `flair.file_utils.unzip_file`
|
tests/model_test_utils.py#L106
TestEntityLinker.test_train_load_use_model[False]
FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.
|
tests/model_test_utils.py#L104
TestRelationClassifier.test_train_load_use_model[False]
FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.
|
tests/model_test_utils.py#L106
TestRelationExtractor.test_train_load_use_model[False]
FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.
|
tests/model_test_utils.py#L106
TestSequenceTagger.test_train_load_use_model[False]
FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.
|
tests/models/test_sequence_tagger.py#L74
TestSequenceTagger.test_train_load_use_tagger_flair_embeddings[False]
FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.
|
tests/models/test_sequence_tagger.py#L93
TestSequenceTagger.test_train_load_use_tagger_with_trainable_hidden_state[False]
FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.
|
tests/models/test_sequence_tagger.py#L115
TestSequenceTagger.test_train_load_use_tagger_disjunct_tags[False]
FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.
|
tests/model_test_utils.py#L106
TestTarsClassifier.test_train_load_use_model[False]
FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.
|
tests/model_test_utils.py#L106
TestTarsTagger.test_train_load_use_model[False]
FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading