Upload google_translategemma-12b-it_1.txt with huggingface_hub
Browse files16 unmodified lines171819202021222324222324252627272829303031323322 unmodified lines565758595916 unmodified lines
ERROR: Traceback (most recent call last): File "/tmp/google_translategemma-12b-it_1bGolEG.py", line 26, in <module> File "/tmp/google_translategemma-12b-it_1n974lG.py", line 26, in <module> pipe = pipeline("image-text-to-text", model="google/translategemma-12b-it") File "/tmp/.cache/uv/environments-v2/b56b4359def432d5/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1229, in pipeline return pipeline_class(model=model, framework=framework, task=task, **kwargs) File "/tmp/.cache/uv/environments-v2/b56b4359def432d5/lib/python3.13/site-packages/transformers/pipelines/image_text_to_text.py", line 191, in __init__ File "/tmp/.cache/uv/environments-v2/b56b4359def432d5/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1028, in pipeline return pipeline_class(model=model, task=task, **kwargs) File "/tmp/.cache/uv/environments-v2/b56b4359def432d5/lib/python3.13/site-packages/transformers/pipelines/image_text_to_text.py", line 127, in __init__ super().__init__(*args, **kwargs) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/tmp/.cache/uv/environments-v2/b56b4359def432d5/lib/python3.13/site-packages/transformers/pipelines/base.py", line 1044, in __init__ File "/tmp/.cache/uv/environments-v2/b56b4359def432d5/lib/python3.13/site-packages/transformers/pipelines/base.py", line 861, in __init__ self.model.to(self.device) ~~~~~~~~~~~~~^^^^^^^^^^^^^ File "/tmp/.cache/uv/environments-v2/b56b4359def432d5/lib/python3.13/site-packages/transformers/modeling_utils.py", line 4343, in to File "/tmp/.cache/uv/environments-v2/b56b4359def432d5/lib/python3.13/site-packages/transformers/modeling_utils.py", line 3587, in to return super().to(*args, **kwargs) ~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/tmp/.cache/uv/environments-v2/b56b4359def432d5/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1381, in to22 unmodified lines ^^^^^^^^^^^^^ ) ^torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 114.00 MiB. GPU 0 has a total capacity of 22.30 GiB of which 78.69 MiB is free. Process 70173 has 22.22 GiB memory in use. Of the allocated memory 21.75 GiB is allocated by PyTorch, and 233.66 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 114.00 MiB. GPU 0 has a total capacity of 22.30 GiB of which 78.69 MiB is free. Process 189073 has 22.22 GiB memory in use. Of the allocated memory 21.75 GiB is allocated by PyTorch, and 233.66 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)google_translategemma-12b-it_1.txt+7-7