-
代码如下:
```python
model=AutoModelForSequenceClassification.from_pretrained("/root/autodl-fs/models/glm-4-voice-9b", num_labels=4,id2label=id2label,device_map=None, label2id=label2id,trust_remote_code=…
-
### Describe the bug
When I use flux's img2img controlnet for inference, a channel error occurs.
### Reproduction
```python
import numpy as np
import torch
import cv2
from PIL import Image
…
-
### 🐛 Describe the bug
I want to compile a model with torch.compile
One of the snippets I've used is
```python
print(type(self.upsample_scale), self.upsample_scale, "self.upsample_scal…
-
Hello,
Thanks for the great work. I wanted to use the initial example on the `README.md`:
```python
from datasets import load_dataset
from setfit import SetFitModel, Trainer, TrainingArgument…
-
Running predict on a model containing an Attention layer causes a RuntimeError due to a dimension issue.
- Keras 3.6.0 (issue occurs with 3.5.0 too)
- Backend is Torch with GPU support (2.5.1+cu12…
-
When running the pytest I get a number of Fs. Most likely due to the install? Had to do some manual hands-on, the out-of-box pip install didn't work.
I am running on WSL2 Unbuntu 22 (with Nvidia GPU).…
-
### Описание бага
Текущий бандл запускает тесты через `node:test`.
В интеграционных и е2е тестах с помощью `playwright`, когда мы запускаем энтрипоинт, тесты не стартуют из-за ошибки импорта объек…
-
### Your current environment
Following the code example provided [here](https://github.com/vllm-project/vllm/blob/main/examples%2Foffline_inference_embedding.py), I modified the model to Llama-2-7b…
-
### Your current environment
The output of `python collect_env.py`
```text
PyTorch version: 2.5.1+cu124
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N…
-
### What happened?
I installed devbox as per the documentation and then added few global packages. After that when I ran `devbox global list` I was getting the following warning
```
Warning: devb…