Add torch fallbacks for KDA and GDN layers.

Đang mở
#406 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python, pytorch
Lĩnh vực
machine-learning

Hướng nghiên cứu

The payload names only tests/test_attention.py as the place the KDA and GDN unit tests need to match the existing attention structure, and points to #395 for context, which is not included. Start by reading that test file and the existing attention test pattern, then locate the KDA and GDN layer implementations. Done means each layer has a torch fallback path and its tests follow the same structure as the other attention tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

See comments in #395.

  • add torch fallbacks
  • adapt kda and gdn unit tests to adhere to attention structure (Fast-LLM/tests/test_attention.py)

Postponed because this is not on the critical path.

Ngôn ngữ chính
Python
Star
337
Fork
52
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ServiceNow/Fast-LLM

Tất cả issue của ServiceNow/Fast-LLM

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.