divakantpandey commited on
Commit
a29a34c
·
verified ·
1 Parent(s): c2b514d

pilot pilot-1

Browse files
Files changed (1) hide show
  1. pilot/pilot-1/status.json +2 -1
pilot/pilot-1/status.json CHANGED
@@ -142,5 +142,6 @@
142
  "temperature": 0.015,
143
  "warmup_ratio": 0.05
144
  }
145
- }
 
146
  }
 
142
  "temperature": 0.015,
143
  "warmup_ratio": 0.05
144
  }
145
+ },
146
+ "fatal": "Traceback (most recent call last):\n File \"/workspace/code-embed-v3/pilot.py\", line 236, in main\n ce3(\"eval-ft\", \"behaviour-eval\", \"runs/150m/ft_behaviour/final\", \"--batch-size\", EVAL_BATCH, \"--out\", results(\"behaviour/ft_behaviour.json\"))\n File \"/workspace/code-embed-v3/pilot.py\", line 82, in ce3\n raise RuntimeError(f\"{step} exited {code}:\\n{''.join(tail[-40:])}\")\nRuntimeError: eval-ft exited 1:\n File \"/workspace/code-embed-v3/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py\", line 1798, in _call_impl\n return forward_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/code-embed-v3/.venv/lib/python3.12/site-packages/sentence_transformers/base/modules/transformer.py\", line 1647, in forward\n model_output = model_method(**filtered_kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/utils/generic.py\", line 1081, in wrapper\n output = func(self, *args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/utils/output_capturing.py\", line 287, in wrapper\n outputs = func(self, *args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/models/modernbert/modeling_modernbert.py\", line 458, in forward\n hidden_states = encoder_layer(\n ^^^^^^^^^^^^^^\n File \"/workspace/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/modeling_layers.py\", line 111, in __call__\n return super().__call__(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/code-embed-v3/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py\", line 1787, in _wrapped_call_impl\n return self._call_impl(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/code-embed-v3/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py\", line 1798, in _call_impl\n return forward_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/models/modernbert/modeling_modernbert.py\", line 314, in forward\n attn_output, _ = self.attn(\n ^^^^^^^^^^\n File \"/workspace/code-embed-v3/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py\", line 1787, in _wrapped_call_impl\n return self._call_impl(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/code-embed-v3/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py\", line 1798, in _call_impl\n return forward_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/models/modernbert/modeling_modernbert.py\", line 275, in forward\n attn_output, attn_weights = attention_interface(\n ^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/integrations/sdpa_attention.py\", line 174, in sdpa_attention_forward\n attn_output = torch.nn.functional.scaled_dot_product_attention(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\ntorch.OutOfMemoryError: CUDA out of memory. Tried to allocate 16.00 GiB. GPU 0 has a total capacity of 44.42 GiB of which 12.25 GiB is free. Including non-PyTorch memory, this process has 32.16 GiB memory in use. Of the allocated memory 19.10 GiB is allocated by PyTorch, and 12.76 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://docs.pytorch.org/docs/stable/notes/cuda.html#optimizing-memory-usage-with-pytorch-cuda-alloc-conf)\n\n"
147
  }