Skip to content

Is 25G VRAM a normal usage ? #14

Description

@Tyrannas

Hello,

Trying you model on a GPU with 16Go VRAM, thought it would be ok since it's only a 3B model but I am getting the folowwing error:

torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 24.55 GiB. GPU 0 has a total capacity of 14.74 GiB of which 6.20 GiB is free.

I only tried the demo you provided:

git clone https://github.com/stanford-oval/churro.git
cd churro
curl -fsSL https://pixi.sh/install.sh | bash
pixi shell -e minimal
python churro_transformers_infer.py my_image.png --max-new-tokens 40

also tried reducing the max new tokens but that does not seem to have any effect.

So I was wondering: is this a normal VRAM usage for the model ?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions