-
### 🐛 Describe the bug
There's an inconsistent results when the `CrossEntropyLoss` is placed in `cpu` and in `gpu`.
When the loss module is in `cpu`, if its weight value is updated by an in-place op…
-
This example in https://github.com/snok/drf-openapi-tester isn't flagged with a TC100 when it should be. The `Response` annotation will otherwise lead to a runtime error.
```python
from typing imp…
-
1. Currently, the pylint azure-cli-extensions is using is 1.9.0, which is behind azdev's pylint==2.3.0. Many features can not enable.
2. Currently, the flake8 azure-cli-extensions is using is 3.5.0. …
-
We currently use `Self`, `Never`, and `NotRequired` from `typing_extensions` all of which are accepted starting with Python 3.11.
This is a placeholder issue to remember to update these cases to ut…
-
### 🐛 Describe the bug
This is trying to do a BE task to unblock https://github.com/pytorch/pytorch/pull/130977. The problem is very similar to https://github.com/pytorch/pytorch/pull/120261, though …
-
**Describe the bug**
After update to version 0.0.5, library seems to not being able to locate typing related dependencies.
**To Reproduce**
Steps to reproduce the behavior(reproduced on Python 3.…
-
### Naming convention
- class: upper camel case
- method/field: lower camel case
- file name: no space, no dash, no underscore, only lower case, single word if possible
- ...
### Exception raising
Ne…
-
# Summary
Elpy sometimes locates the wrong Python executable when creating the virtual environment. In my case, it finds the `python3` binary in `/usr/bin/` rather than `/usr/local/bin`, even thoug…
-
Type: Bug
# Behaviour
## Expected vs. Actual
In a multi-root workspace, where different interpreters are configured for different projects, I would expect that the import suggestions for each proje…
-
I have ruff setup in neovim as a LSP using `ruff server --preview` .
However, if there is an indentation issue E999 in the code ruff cannot format or fix until all E999's have been manually fixed.
…