Skip to content

cherry pick arch detect fix #18

cherry pick arch detect fix

cherry pick arch detect fix #18

Triggered via pull request May 7, 2024 20:24
Status Failure
Total duration 34s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Ruff (B008): bitsandbytes/archive_functional.py#L173
bitsandbytes/archive_functional.py:173:51: B008 Do not perform function call `torch.device` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
Ruff (E741): bitsandbytes/archive_functional.py#L249
bitsandbytes/archive_functional.py:249:9: E741 Ambiguous variable name: `l`
Ruff (RUF013): bitsandbytes/archive_functional.py#L682
bitsandbytes/archive_functional.py:682:18: RUF013 PEP 484 prohibits implicit `Optional`
Ruff (RUF013): bitsandbytes/archive_functional.py#L860
bitsandbytes/archive_functional.py:860:18: RUF013 PEP 484 prohibits implicit `Optional`
Ruff (RUF013): bitsandbytes/archive_functional.py#L870
bitsandbytes/archive_functional.py:870:18: RUF013 PEP 484 prohibits implicit `Optional`
Ruff (RUF013): bitsandbytes/archive_functional.py#L880
bitsandbytes/archive_functional.py:880:18: RUF013 PEP 484 prohibits implicit `Optional`
Ruff (RUF013): bitsandbytes/archive_functional.py#L982
bitsandbytes/archive_functional.py:982:18: RUF013 PEP 484 prohibits implicit `Optional`
Lint
Process completed with exit code 1.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.