ViperEkura
a29bdfae46
refactor: rework attention backend resolution
- explicit attn_backend() context wins over ASTR_BACKEND env
- polymorphic available()/supports_call() replace isinstance dispatch
- cache singleton backend instances to avoid hot-path allocation
- training (fwd=None) resolves cuda > flash > torch by capability
- flash dense supports mask-free calls only; masked training falls back to torch
2026-08-23 14:47:02 +08:00
..
2026-08-19 20:55:13 +08:00
2026-08-19 16:17:40 +08:00
2026-08-23 14:47:02 +08:00
2026-08-23 14:47:02 +08:00
2026-08-20 11:34:59 +08:00
2026-08-01 09:20:54 +08:00
2026-08-19 16:17:40 +08:00
2026-08-05 22:20:29 +08:00
2026-08-22 21:08:06 +08:00
2026-07-30 09:38:20 +08:00
2026-08-20 11:34:59 +08:00
2026-08-19 20:55:13 +08:00
2026-07-30 09:38:20 +08:00
2026-08-20 01:37:00 +08:00
2026-05-24 20:35:44 +08:00
2026-07-28 10:36:17 +08:00