[Bug]: Generate button throws error about RuntimeError: tensors must be 2-D
thesobercoder opened this issue · 3 comments
thesobercoder commented
When I click on the generate button, it shows me an error saying RuntimeError: tensors must be 2-D
. I'm running it on an Apple Mac Studio with M1 Max 32C GPU and 32 GB RAM. I cloned the repository and enabled the plugin just today.
legendPerceptor commented
Same issue. Tried just now.
piiq commented
mac launch script ships torch 1.12. i see the same behaviour on my macbook.
i've tried updating torch to 1.13.1 and the error was resolved
try it to see of it helps
in your webui folder activate the virtual environment and install newer torch
source venv/bin/activate
pip install -U "torch>=1.13,<2"
abdllhbyrktr commented
Please select the device for text generation as "cpu" in the settings of Promptgen.
@thesobercoder @legendPerceptor