Repository navigation
upgrade natten to 0.21 version - #41905
kaixuanliu wants to merge 10 commits into
Conversation
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
|
[For maintainers] Suggested jobs to run (before merge) run-slow: dinat |
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
|
@ydshieh Hi, current transformers uses an old version natten(0.14.6) and have many conflicts when we run CI tests for tests/models/dinat, in this PR we upgrade the natten to latest version(0.21.0) and I have updated related APIs, all relavant test cases passed w/ this PR on my side, pls help review. Many thanks! |
|
Just want to point out that But happy to update the dependency however. |
| self.query(hidden_states) | ||
| .view(batch_size, -1, self.num_attention_heads, self.attention_head_size) | ||
| .transpose(1, 2) | ||
| batch_size, height, width, _ = hidden_states.shape |
There was a problem hiding this comment.
could you shortly explain the changes in these lines of changes in this attention block ?
|
other than some torch export issues, I got
on Nvidia A10. It's fine, you don't need to deal with it, but is this test passing on XPU? |
|
@ydshieh Oops, I tested the |
|
I have to let you know the whole So it might be really difficult to check , especially we also have the natten / torch version issues etc. Is it important for XPU to run test with this model? |
@ydshieh , does
That's the reason behind what we are doing, :). If |
|
Personally, I would like to deprecate it. Let me check some numbers and talk to the core maintainers and come back to you. Great jobs the XPU team make this amazing progress! |
|
Yes, we are going to deprecate this dinat (along with some models). |
|
@ydshieh , Thanks for the feedback. Will close this PR. BTW, we want to double check |
|
Hi @kaixuanliu I haven't talked about But I think it's fair that the XPU team not to test it (I have trouble many time with detectron2 too). |
|
BTW, if XPU team fetch the results of I know our artifacts may lack some important information for external to use reliably. We have recently these file collated_reports_xxx, for example that might be helpful to you. Let me know if you have any feedback. |
Thx @ydshieh , we will do this. And one more question, is the dashboard here https://huggingface.co/spaces/transformers-community/transformers-ci-dashboard generated by the test plan you mentioned as https://huggingface.co/datasets/hf-internal-testing/transformers_daily_ci/tree/main/2025-11-13/ci_results_run_models_gpu? Thx very much. |
|
@yao-matrix The dashboard is developed by another team member (and I am less engaged in this part), but yes, it's from the files If you need more details, don't hesitate. |
commented
Nov 18, 2025
|
Don't hesitate to reach out (on github or on slack) in the future when you find something that requires more work and not sure about if it is worth doing that . Apologize again for this not well-commutated hidden states (of not maintained models but not deprecated explicitly) |
commented
Nov 18, 2025
|
It's OK. Thanks for your kindly reminder! Will do it next time :) |
No description provided.