-
### 🐛 Describe the bug
```
import torch
import torch.nn.functional as F
def test_log_softmax(device):
print(f"Testing on {device}")
input_tensor = torch.randn(3, 4, 5, device=device)…
-
### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.44.2
- Platform: Linux-6.1.85+-x86_64-with-glibc2.35
- Python ver…
-
### Your current environment
```text
The output of `python collect_env.py`
```
Collecting environment information...
PyTorch version: 2.0.1+cu117
Is debug build: False
CUDA used to build PyTorc…
-
## 🐛 Bug
Since [version 1.6](https://github.com/pytorch/pytorch/releases/tag/v1.6.0) models are exported with the same serialisation format that is used by TorchScript:
> the same as the TorchScri…
-
### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.46.0
- Platform: Windows-10-10.0.22631-SP0
- Python version: 3.10…
-
### 🐛 Describe the bug
I found the example that specifying a CUDA stream using a with-context does not work as expected.
```python
with torch.cuda.stream(my_stream):
dist.all_reduc…
-
### Your current environment
The output of `python collect_env.py`
```text
PyTorch version: 2.4.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N…
-
### 🐛 Describe the bug
1. **XPU OP Examples**
57 passed in 58.84s
2. **XPU OP Extended UT**
4 failed, 1233 passed, 309 skipped, 128 deselected, 14 xfailed in 186.95s (0:03:06)
- [x] FAILED te…
-
### 🐛 Describe the bug
Running torch.divide with 0 as the denominator does not throw ZeroDivisionError on GPU, neither does it result in inf. Executing on CPU throws ZeroDivisionError as expected.
…
-
# 🐛 Bug
## To Reproduce
Install torch (direct from https://pytorch.org/get-started/locally/ )
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/…