Any advantage of GShard over Mesh Tensorflow for MoE?

Đang mở
#244 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ó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
12/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
machine-learning

Hướng nghiên cứu

The issue asks for a comparison of GShard and Mesh TensorFlow, including possible overhead differences and design or hyperparameter changes, but names no Lingvo files or tests. Start by reviewing the referenced GShard paper and the project's Mesh TensorFlow and GShard documentation; done means providing a sourced comparison that answers those questions.

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

Mô tả

Thank you very much for open-sourcing GShard!

I'm currently using MoE from Mesh Tensorflow. The design of MoE used in MTF is equivalent to that of GShard iiuc.

According to GShard paper, GShard has an advantage that one can seamlessly incorporate MoE into the TF codeset without rewriting as in MTF.

Mesh TensorFlow [23] helps the user to build large models with SPMDstyle per-operator partitioning, by rewriting the computation in a Python library on top of TensorFlow; in comparison, our approach partitions the graph in the compiler based on light-weight annotations without requiring the user to rewrite the model.

Is there any other advantage of GShard over MTF such as reducing the overhead of MTF (if any) for a larger number of experts?

If there is any substantial change in the design (e.g. hyperparameters) from MTF, please let me know :)

Ngôn ngữ chính
Python
Star
2.9k
Fork
452
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 tensorflow/lingvo

Tất cả issue của tensorflow/lingvo

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.