Text Generation
Transformers
English
alpaca
bloom
LLM

Error while generating

#3
by mustapha - opened

Hello there,
Is this normal ? I get an error while generating in colab (turing T4 GPU). Is this GPU architecture related ?

image.png

Hello @mustapha
Can you try:

model = PeftModel.from_pretrained(model, peft_model_id, device_map={"":0})

instead of

model = PeftModel.from_pretrained(model, peft_model_id)

of the example script?

@ybelkada Yes it worked

mrm8488 changed discussion status to closed
mrm8488 changed discussion status to open

Sign up or log in to comment