File size: 2,133 Bytes
420365d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | allocated GPUs: 0 1
NVIDIA RTX 5000 Ada Generation
NVIDIA RTX 5000 Ada Generation
^^^^^^^^^^^^^^^^^^^^^^^
File "/nfs/roberts/project/pi_skr2/bjc75/conda_envs/lorapop/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nfs/roberts/project/pi_skr2/bjc75/conda_envs/lorapop/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nfs/roberts/project/pi_skr2/bjc75/conda_envs/lorapop/lib/python3.12/site-packages/transformers/models/qwen2/modeling_qwen2.py", line 46, in forward
down_proj = self.down_proj(self.act_fn(self.gate_proj(x)) * self.up_proj(x))
^^^^^^^^^^^^^^^
File "/nfs/roberts/project/pi_skr2/bjc75/conda_envs/lorapop/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nfs/roberts/project/pi_skr2/bjc75/conda_envs/lorapop/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bjc75/other/finetuning/src/run/../../src/lorapop/deltas.py", line 44, in forward
y = y + F.linear(z, self.bUc).to(y.dtype)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 4.75 GiB. GPU 0 has a total capacity of 31.47 GiB of which 1.04 GiB is free. Including non-PyTorch memory, this process has 30.43 GiB memory in use. Of the allocated memory 21.37 GiB is allocated by PyTorch, and 8.69 GiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
|