Skip to content

fix module saving

fix module saving #163

Triggered via push February 21, 2024 20:32
Status Failure
Total duration 1m 9s
Artifacts

python.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 4 warnings
Ruff (E713): adapters/src/adapters/composition.py#L155
adapters/src/adapters/composition.py:155:20: E713 Test for membership should be `not in`
Ruff (E731): adapters/src/adapters/head_utils.py#L745
adapters/src/adapters/head_utils.py:745:5: E731 Do not assign a `lambda` expression, use a `def`
Ruff (E731): adapters/src/adapters/heads/model_mixin.py#L710
adapters/src/adapters/heads/model_mixin.py:710:17: E731 Do not assign a `lambda` expression, use a `def`
Ruff (F401): adapters/tests/test_encoder_decoder.py#L7
adapters/tests/test_encoder_decoder.py:7:55: F401 `transformers.testing_utils.torch_device` imported but unused
Ruff (F401): wtpsplit/evaluation/intrinsic.py#L9
wtpsplit/evaluation/intrinsic.py:9:20: F401 `skops.io` imported but unused
Ruff (F401): wtpsplit/evaluation/intrinsic_pairwise.py#L11
wtpsplit/evaluation/intrinsic_pairwise.py:11:20: F401 `skops.io` imported but unused
Ruff (F401): wtpsplit/extract_batched.py#L6
wtpsplit/extract_batched.py:6:23: F401 `tqdm.auto.tqdm` imported but unused
Ruff (F401): wtpsplit/train/train.py#L6
wtpsplit/train/train.py:6:8: F401 `time` imported but unused
Ruff (F401): wtpsplit/train/train.py#L24
wtpsplit/train/train.py:24:8: F401 `pdb` imported but unused
Ruff (F401): wtpsplit/train/train.py#L38
wtpsplit/train/train.py:38:41: F401 `wtpsplit.train.utils.cleanup_cache_files` imported but unused
Ruff (E713): adapters/src/adapters/composition.py#L155
adapters/src/adapters/composition.py:155:20: E713 Test for membership should be `not in`
Ruff (E731): adapters/src/adapters/head_utils.py#L745
adapters/src/adapters/head_utils.py:745:5: E731 Do not assign a `lambda` expression, use a `def`
Ruff (E731): adapters/src/adapters/heads/model_mixin.py#L710
adapters/src/adapters/heads/model_mixin.py:710:17: E731 Do not assign a `lambda` expression, use a `def`
Ruff (F401): adapters/tests/test_encoder_decoder.py#L7
adapters/tests/test_encoder_decoder.py:7:55: F401 `transformers.testing_utils.torch_device` imported but unused
Ruff (F401): wtpsplit/evaluation/intrinsic.py#L9
wtpsplit/evaluation/intrinsic.py:9:20: F401 `skops.io` imported but unused
Ruff (F401): wtpsplit/evaluation/intrinsic_pairwise.py#L11
wtpsplit/evaluation/intrinsic_pairwise.py:11:20: F401 `skops.io` imported but unused
Ruff (F401): wtpsplit/extract_batched.py#L6
wtpsplit/extract_batched.py:6:23: F401 `tqdm.auto.tqdm` imported but unused
Ruff (F401): wtpsplit/train/train.py#L6
wtpsplit/train/train.py:6:8: F401 `time` imported but unused
Ruff (F401): wtpsplit/train/train.py#L24
wtpsplit/train/train.py:24:8: F401 `pdb` imported but unused
Ruff (F401): wtpsplit/train/train.py#L38
wtpsplit/train/train.py:38:41: F401 `wtpsplit.train.utils.cleanup_cache_files` imported but unused
build (3.9)
The operation was canceled.
build (3.10)
The operation was canceled.
build (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (3.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (3.9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.