-
### 📚 Documentation
Hi lightning team,
I am trying to implement finetuning of a custom model I have pretrained weights of.
It's a transformer architecture with a classification head on it.
I f…
-
File "/workdir/user_repository/inference/local_deploy_demo.py", line 41, in load_model
self.model = AutoModelForCausalLM.from_pretrained(path, device_map="auto", trust_remote_code=True,
File…
-
## 📚 Documentation
For typos and doc fixes, please go ahead and:
```py
.. code-block:: python
:emphasize-lines: 3,5
def some_function():
interesting = False
print 'Thi…
-
When running on 2 or 3 GPU's everything works fine. When running on 4 GPU's however, during the first epoch:
```
Epoch step: 1 Loss 9.134843 Tokens per Sec: 161.252618
Traceback (most recent call l…
-
**Describe the bug**
I have a transformer-xl (Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context) gpt-xl ( 41 layer ), and the code is implemented by myself; After transfer to o…
-
### Your current environment
```text
The output of `python collect_env.py`
```
Collecting environment information...
PyTorch version: 2.4.0+cu121
Is debug build: False
CUDA used to build PyTorc…
-
I am trying to run Synthesizing speech by TTS:
https://docs.coqui.ai/en/latest/
(llm) spandey2@imu-nex-sprx92-max1-sut:~/1worldsync_finetuning$ cat tts.py
```
import torch
from TTS.api import…
-
**Here is how to run this on Mac with Apple Silicon**
In a terminal window:
```
git clone https://github.com/open-mmlab/PIA.git PIA-cpu
cd PIA-cpu
conda create -n pia-cpu python=3.10.13
cond…
-
### Describe the bug
I am using manual streaming mode in colab, and it shows the error
```
CalledProcessError Traceback (most recent call last)
[/usr/local/lib/python3.10/…
-
C:\ProgramData\anaconda3\envs\yolo\python.exe H:\MIST-main\Synapse_train.py
Traceback (most recent call last):
File "C:\ProgramData\anaconda3\envs\yolo\lib\site-packages\transformers\utils\import…