-
### Describe the bug
I found that the **CPU** memory increase happens when accelerate calls "loss.backward()" (https://github.com/huggingface/accelerate/blob/main/src/accelerate/accelerator.py#L198…
-
### 🐛 Describe the bug
`torch.pca_lowrank` and `torch.svd_lowrank` does not work with automatic mixed precision, even if the inputs are 32 bit.
```python
import torch
x = torch.rand(1000, 3, d…
-
### 🐛 Describe the bug
OS: Linux Ubuntu 22.04
GPU: Nvidia T4
pytorch: 2.1.0.dev20230817+cu118
`torch.jit.trace()` generates C++ cuda code which contains bad constants - for example `-3.4028234…
-
### 🐛 Describe the bug
The following code can triger a segment fault `in torch._grid_sampler_2d_cpu_fallback`:
````python
import torch
input = torch.rand([16, 5, 8, 16], dtype=torch.float32).cuda(…
-
Hello Tensorflow Support
I am contacting you because I am getting the following error while converting a model created with Keras embedded in Tensorflow to Tensorflow Lite.
The model I created use…
-
### Steps to Reproduce
Run the CLI version of moonshot. Then create a new session with the `toxic_sentence_generator` attack module, and `real-toxicity-prompt-template1` as the prompt template. Use…
-
### Your current environment
```text
The output of `python collect_env.py`
```
### 🐛 Describe the bug
I used the openai compatible server deployed with vllm:
```bash
python -m vllm.entr…
-
# Prerequisites
Please answer the following questions for yourself before submitting an issue.
- [x] I am running the latest code. Development is very rapid so there are no tagged versions as of…
-
### 🐛 Describe the bug
I encountered an error while using `torch.jit.trace()` to trace a model that performs weight clamping during the forward pass. The simplified code is as follows:
```python
…
-
### 🐛 Describe the bug
When creating a custom model with `nn.Module` and compiling it with `torch.compile()`, the output of `torch.func.functional_call()` remains the same even if providing differe…