ablate 20261030-154127
Browse files
ablate/20261030-154127/ablate_results.json
CHANGED
|
@@ -170,6 +170,31 @@
|
|
| 170 |
"attn_implementation": "auto"
|
| 171 |
},
|
| 172 |
"error": "DryRunError: args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_library/custom_ops.py\", line 442, in backend_impl\n result = self._backend_fns[device_type](*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_compile.py\", line 54, in inner\n return disable_fn(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_dynamo/eval_frame.py\", line 1552, in _fn\n return fn(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_library/custom_ops.py\", line 503, in wrapped_fn\n return fn(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^\n File \"/root/.cache/huggingface/hub/kernels--kernels-community--flash-attn2/snapshots/4d494bf4367844337a5dc583227598225019a062/build/torch-stable-abi210-cu132-x86_64-linux/flash_attn_interface.py\", line 186, in _flash_attn_varlen_forward\n out, softmax_lse, S_dmask, rng_state = flash_attn.varlen_fwd(\n ^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_ops.py\", line 1350, in __call__\n return self._op(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: mha_varlen_fwd, /build/source/flash_attn/flash_api.cpp:581, FlashAttention only support fp16 and bf16 data type\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
}
|
| 174 |
},
|
| 175 |
"round": 4,
|
|
|
|
| 170 |
"attn_implementation": "auto"
|
| 171 |
},
|
| 172 |
"error": "DryRunError: args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_library/custom_ops.py\", line 442, in backend_impl\n result = self._backend_fns[device_type](*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_compile.py\", line 54, in inner\n return disable_fn(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_dynamo/eval_frame.py\", line 1552, in _fn\n return fn(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_library/custom_ops.py\", line 503, in wrapped_fn\n return fn(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^\n File \"/root/.cache/huggingface/hub/kernels--kernels-community--flash-attn2/snapshots/4d494bf4367844337a5dc583227598225019a062/build/torch-stable-abi210-cu132-x86_64-linux/flash_attn_interface.py\", line 186, in _flash_attn_varlen_forward\n out, softmax_lse, S_dmask, rng_state = flash_attn.varlen_fwd(\n ^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_ops.py\", line 1350, in __call__\n return self._op(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: mha_varlen_fwd, /build/source/flash_attn/flash_api.cpp:581, FlashAttention only support fp16 and bf16 data type\n"
|
| 173 |
+
},
|
| 174 |
+
"combined-behaviour-x3": {
|
| 175 |
+
"stage": {
|
| 176 |
+
"batch_size": 16,
|
| 177 |
+
"max_seq_length": 256,
|
| 178 |
+
"max_steps": 120,
|
| 179 |
+
"save_steps": 10000,
|
| 180 |
+
"eval_steps": 40,
|
| 181 |
+
"learning_rate": 2e-05,
|
| 182 |
+
"temperature": 0.05,
|
| 183 |
+
"hardness_mode": null,
|
| 184 |
+
"hardness_strength": 0.0,
|
| 185 |
+
"warmup_ratio": 0.2,
|
| 186 |
+
"collapse_guard": 0.5,
|
| 187 |
+
"source_loss_weights": {
|
| 188 |
+
"behaviour_swe_twins": 3.0,
|
| 189 |
+
"behaviour_nl2code": 3.0,
|
| 190 |
+
"behaviour_code2code": 3.0
|
| 191 |
+
}
|
| 192 |
+
},
|
| 193 |
+
"data": "combined",
|
| 194 |
+
"model": {
|
| 195 |
+
"attn_implementation": "auto"
|
| 196 |
+
},
|
| 197 |
+
"error": "DryRunError: args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_library/custom_ops.py\", line 442, in backend_impl\n result = self._backend_fns[device_type](*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_compile.py\", line 54, in inner\n return disable_fn(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_dynamo/eval_frame.py\", line 1552, in _fn\n return fn(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_library/custom_ops.py\", line 503, in wrapped_fn\n return fn(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^\n File \"/root/.cache/huggingface/hub/kernels--kernels-community--flash-attn2/snapshots/4d494bf4367844337a5dc583227598225019a062/build/torch-stable-abi210-cu132-x86_64-linux/flash_attn_interface.py\", line 186, in _flash_attn_varlen_forward\n out, softmax_lse, S_dmask, rng_state = flash_attn.varlen_fwd(\n ^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_ops.py\", line 1350, in __call__\n return self._op(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: mha_varlen_fwd, /build/source/flash_attn/flash_api.cpp:581, FlashAttention only support fp16 and bf16 data type\n"
|
| 198 |
}
|
| 199 |
},
|
| 200 |
"round": 4,
|
ablate/20261030-154127/logs/train-combined-behaviour-x3.log
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2026-10-30 15:44:30,256 INFO httpx2: HTTP Request: HEAD https://huggingface.co/Alibaba-NLP/gte-modernbert-base/resolve/main/adapter_config.json "HTTP/1.1 404 Not Found"
|
| 2 |
+
2026-10-30 15:44:30,288 INFO httpx2: HTTP Request: GET https://huggingface.co/api/models/Alibaba-NLP/gte-modernbert-base "HTTP/1.1 200 OK"
|
| 3 |
+
2026-10-30 15:44:30,326 INFO httpx2: HTTP Request: GET https://huggingface.co/api/models/Alibaba-NLP/gte-modernbert-base "HTTP/1.1 200 OK"
|
| 4 |
+
2026-10-30 15:44:30,372 INFO httpx2: HTTP Request: GET https://huggingface.co/api/organizations/kernels-community/overview "HTTP/1.1 200 OK"
|
| 5 |
+
2026-10-30 15:44:30,401 INFO httpx2: HTTP Request: GET https://huggingface.co/api/kernels/kernels-community/flash-attn2/refs "HTTP/1.1 200 OK"
|
| 6 |
+
2026-10-30 15:44:30,402 WARNING kernels._versions: You are using version 3 of 'kernels-community/flash-attn2', but version 4 is available.
|
| 7 |
+
2026-10-30 15:44:30,437 INFO httpx2: HTTP Request: GET https://huggingface.co/api/kernels/kernels-community/flash-attn2/tree/4d494bf4367844337a5dc583227598225019a062/build?recursive=false&expand=false "HTTP/1.1 200 OK"
|
| 8 |
+
|
| 9 |
+
[transformers] You do not have `flash_attn` installed, using `kernels-community/flash-attn2` from the `kernels` library instead!
|
| 10 |
+
|
| 11 |
+
2026-10-30 15:44:30,835 INFO httpx2: HTTP Request: GET https://huggingface.co/api/models/Alibaba-NLP/gte-modernbert-base "HTTP/1.1 200 OK"
|
| 12 |
+
2026-10-30 15:44:30,892 INFO httpx2: HTTP Request: GET https://huggingface.co/api/models/Alibaba-NLP/gte-modernbert-base/tree/main/additional_chat_templates?recursive=false&expand=false "HTTP/1.1 404 Not Found"
|
| 13 |
+
2026-10-30 15:44:30,926 INFO httpx2: HTTP Request: GET https://huggingface.co/api/models/Alibaba-NLP/gte-modernbert-base/tree/main?recursive=true&expand=false "HTTP/1.1 200 OK"
|
| 14 |
+
2026-10-30 15:44:31,069 INFO sentence_transformers.base.model: No device provided, using cuda:0
|
| 15 |
+
2026-10-30 15:44:31,310 INFO sentence_transformers.base.model: Loaded 7 prompts with these keys: ['nl2code', 'code2nl', 'code2code', 'techqa', 'text2sql', 'code_edit', 'multiturn']
|
| 16 |
+
2026-10-30 15:44:36,272 INFO code_embed_v3.train: mini_batch_size=auto -> 256 at seq_len 256
|
| 17 |
+
2026-10-30 15:44:36,272 INFO code_embed_v3.train: unpadded inputs: True, mini batch: 256 rows / 65536 tokens
|
| 18 |
+
2026-10-30 15:44:36,273 WARNING sentence_transformers.base.training_args: The `warmup_ratio` argument is deprecated in Transformers v5+, and will also be removed from Sentence Transformers once support for Transformers v4 is dropped. Since you're using Transformers v5+, please use `warmup_steps` (as a float) to specify the warmup ratio instead.
|
| 19 |
+
2026-10-30 15:44:36,299 INFO sentence_transformers.sentence_transformer.evaluation.information_retrieval: Information Retrieval Evaluation of the model on the dev-code2code dataset:
|
| 20 |
+
[transformers] Casting fp32 inputs back to torch.float32 for flash-attn compatibility.
|
| 21 |
+
Traceback (most recent call last):
|
| 22 |
+
File "<frozen runpy>", line 198, in _run_module_as_main
|
| 23 |
+
File "<frozen runpy>", line 88, in _run_code
|
| 24 |
+
File "/root/code-embed-v3/src/code_embed_v3/cli.py", line 875, in <module>
|
| 25 |
+
main()
|
| 26 |
+
File "/root/code-embed-v3/src/code_embed_v3/cli.py", line 871, in main
|
| 27 |
+
a.fn(a)
|
| 28 |
+
File "/root/code-embed-v3/src/code_embed_v3/cli.py", line 450, in _cmd_train
|
| 29 |
+
run_stage(
|
| 30 |
+
File "/root/code-embed-v3/src/code_embed_v3/train.py", line 472, in run_stage
|
| 31 |
+
baseline = float(evaluator(model)["sequential_score"])
|
| 32 |
+
^^^^^^^^^^^^^^^^
|
| 33 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/sentence_transformers/base/evaluation/sequential.py", line 44, in __call__
|
| 34 |
+
evaluation = evaluator(model, output_path, epoch, steps)
|
| 35 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 36 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/sentence_transformers/sentence_transformer/evaluation/information_retrieval.py", line 255, in __call__
|
| 37 |
+
scores = self.compute_all_metrics(model, output_path=output_path, *args, **kwargs)
|
| 38 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 39 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/sentence_transformers/sentence_transformer/evaluation/information_retrieval.py", line 344, in compute_all_metrics
|
| 40 |
+
query_embeddings = self.embed_inputs(
|
| 41 |
+
^^^^^^^^^^^^^^^^^^
|
| 42 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/sentence_transformers/sentence_transformer/evaluation/information_retrieval.py", line 486, in embed_inputs
|
| 43 |
+
return encode_fn(
|
| 44 |
+
^^^^^^^^^^
|
| 45 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/sentence_transformers/util/decorators.py", line 46, in wrapper
|
| 46 |
+
return func(*args, **kwargs)
|
| 47 |
+
^^^^^^^^^^^^^^^^^^^^^
|
| 48 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/sentence_transformers/sentence_transformer/model.py", line 370, in encode_query
|
| 49 |
+
return self.encode(
|
| 50 |
+
^^^^^^^^^^^^
|
| 51 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 158, in inference_mode
|
| 52 |
+
return func(*args, **kwargs)
|
| 53 |
+
^^^^^^^^^^^^^^^^^^^^^
|
| 54 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/sentence_transformers/util/decorators.py", line 46, in wrapper
|
| 55 |
+
return func(*args, **kwargs)
|
| 56 |
+
^^^^^^^^^^^^^^^^^^^^^
|
| 57 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/sentence_transformers/sentence_transformer/model.py", line 895, in encode
|
| 58 |
+
all_embeddings = self._inference(inputs, device=device, **inference_kwargs)
|
| 59 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 60 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 158, in inference_mode
|
| 61 |
+
return func(*args, **kwargs)
|
| 62 |
+
^^^^^^^^^^^^^^^^^^^^^
|
| 63 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/sentence_transformers/sentence_transformer/model.py", line 963, in _inference
|
| 64 |
+
out_features = self(features, **kwargs)
|
| 65 |
+
^^^^^^^^^^^^^^^^^^^^^^^^
|
| 66 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1787, in _wrapped_call_impl
|
| 67 |
+
return self._call_impl(*args, **kwargs)
|
| 68 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 69 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1798, in _call_impl
|
| 70 |
+
return forward_call(*args, **kwargs)
|
| 71 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 72 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/sentence_transformers/base/model.py", line 600, in forward
|
| 73 |
+
input = module(input, **module_kwargs)
|
| 74 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 75 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1787, in _wrapped_call_impl
|
| 76 |
+
return self._call_impl(*args, **kwargs)
|
| 77 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 78 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1798, in _call_impl
|
| 79 |
+
return forward_call(*args, **kwargs)
|
| 80 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 81 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/sentence_transformers/base/modules/transformer.py", line 1647, in forward
|
| 82 |
+
model_output = model_method(**filtered_kwargs)
|
| 83 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 84 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/utils/generic.py", line 1081, in wrapper
|
| 85 |
+
output = func(self, *args, **kwargs)
|
| 86 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 87 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/utils/output_capturing.py", line 287, in wrapper
|
| 88 |
+
outputs = func(self, *args, **kwargs)
|
| 89 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 90 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/models/modernbert/modeling_modernbert.py", line 458, in forward
|
| 91 |
+
hidden_states = encoder_layer(
|
| 92 |
+
^^^^^^^^^^^^^^
|
| 93 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/modeling_layers.py", line 111, in __call__
|
| 94 |
+
return super().__call__(*args, **kwargs)
|
| 95 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 96 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1787, in _wrapped_call_impl
|
| 97 |
+
return self._call_impl(*args, **kwargs)
|
| 98 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 99 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1798, in _call_impl
|
| 100 |
+
return forward_call(*args, **kwargs)
|
| 101 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 102 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/models/modernbert/modeling_modernbert.py", line 314, in forward
|
| 103 |
+
attn_output, _ = self.attn(
|
| 104 |
+
^^^^^^^^^^
|
| 105 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1787, in _wrapped_call_impl
|
| 106 |
+
return self._call_impl(*args, **kwargs)
|
| 107 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 108 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1798, in _call_impl
|
| 109 |
+
return forward_call(*args, **kwargs)
|
| 110 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 111 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/models/modernbert/modeling_modernbert.py", line 275, in forward
|
| 112 |
+
attn_output, attn_weights = attention_interface(
|
| 113 |
+
^^^^^^^^^^^^^^^^^^^^
|
| 114 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/integrations/flash_attention.py", line 88, in flash_attention_forward
|
| 115 |
+
attn_output = _flash_attention_forward(
|
| 116 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 117 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/transformers/modeling_flash_attention_utils.py", line 846, in _flash_attention_forward
|
| 118 |
+
out = flash_varlen_fn(q, k, v, cu_seqlens_q=cu_seq_lens_q, cu_seqlens_k=cu_seq_lens_k, **flash_kwargs)
|
| 119 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 120 |
+
File "/root/.cache/huggingface/hub/kernels--kernels-community--flash-attn2/snapshots/4d494bf4367844337a5dc583227598225019a062/build/torch-stable-abi210-cu132-x86_64-linux/flash_attn_interface.py", line 1499, in flash_attn_varlen_func
|
| 121 |
+
return FlashAttnVarlenFunc.apply(
|
| 122 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 123 |
+
File "/root/.cache/huggingface/hub/kernels--kernels-community--flash-attn2/snapshots/4d494bf4367844337a5dc583227598225019a062/build/torch-stable-abi210-cu132-x86_64-linux/flash_attn_interface.py", line 961, in forward
|
| 124 |
+
out_padded, softmax_lse, S_dmask, rng_state = _flash_attn_varlen_forward(
|
| 125 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 126 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_library/custom_ops.py", line 877, in __call__
|
| 127 |
+
return self._opoverload(*args, **kwargs)
|
| 128 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 129 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_ops.py", line 916, in __call__
|
| 130 |
+
return self._op(*args, **kwargs)
|
| 131 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 132 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_library/custom_ops.py", line 442, in backend_impl
|
| 133 |
+
result = self._backend_fns[device_type](*args, **kwargs)
|
| 134 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 135 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_compile.py", line 54, in inner
|
| 136 |
+
return disable_fn(*args, **kwargs)
|
| 137 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 138 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_dynamo/eval_frame.py", line 1552, in _fn
|
| 139 |
+
return fn(*args, **kwargs)
|
| 140 |
+
^^^^^^^^^^^^^^^^^^^
|
| 141 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_library/custom_ops.py", line 503, in wrapped_fn
|
| 142 |
+
return fn(*args, **kwargs)
|
| 143 |
+
^^^^^^^^^^^^^^^^^^^
|
| 144 |
+
File "/root/.cache/huggingface/hub/kernels--kernels-community--flash-attn2/snapshots/4d494bf4367844337a5dc583227598225019a062/build/torch-stable-abi210-cu132-x86_64-linux/flash_attn_interface.py", line 186, in _flash_attn_varlen_forward
|
| 145 |
+
out, softmax_lse, S_dmask, rng_state = flash_attn.varlen_fwd(
|
| 146 |
+
^^^^^^^^^^^^^^^^^^^^^^
|
| 147 |
+
File "/root/code-embed-v3/.venv/lib/python3.12/site-packages/torch/_ops.py", line 1350, in __call__
|
| 148 |
+
return self._op(*args, **kwargs)
|
| 149 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 150 |
+
RuntimeError: mha_varlen_fwd, /build/source/flash_attn/flash_api.cpp:581, FlashAttention only support fp16 and bf16 data type
|