Git Product home page Git Product logo

Comments (4)

laekov avatar laekov commented on August 10, 2024

FastMoE is a training system, while Switch Transformer is a model. You can implement a equivalent switch transformer model with the functions provided by FastMoE (some of them like routing strategy are still being developed).

For performance metric (training speed), I think the only metric that can bridge different hardware is utilization, i.e. training throughput / peak throughput of the cluster. Unfortunately, I do not see the switch tansformer team report their utilization.

For figure 7, the T5 is 6-7x faster is compared on per step basis, which equals to figure 7 left. We did not calculate the actual speed up because we do not want to fix the loss value which means the model is okay. You may find out the speedup from figure 7 left, which should be similar to the result in switch transformer.

from fastmoe.

Tiiiger avatar Tiiiger commented on August 10, 2024

hi @laekov ,

Thank you for the answer! Should have made the question clearer: how do you compare the MoE model implemented in the FastMoE paper to switch transformer implemented in mesh-tensorflow?

Are you suggesting that switch transformer (considering both the model and the system) because it has a better routing strategy?

I got th 6-7x number from the figure 5 in the switch transformer paper, where the x-axis is time, not steps.

from fastmoe.

laekov avatar laekov commented on August 10, 2024

hi @laekov ,

Thank you for the answer! Should have made the question clearer: how do you compare the MoE model implemented in the FastMoE paper to switch transformer implemented in mesh-tensorflow?

Are you suggesting that switch transformer (considering both the model and the system) because it has a better routing strategy?

I got th 6-7x number from the figure 5 in the switch transformer paper, where the x-axis is time, not steps.

FastMoE is of course not that strong as switch transformer and mtf, as we are only beginning to implement the system that can train an MoE model.

We mentioned the model in our arxiv article to show that FastMoE can train real models, but we do not suggest that either the model or the system is stronger or comparable with Google's. We do hope that FastMoE can be stronger in the future, but currently, we have neither strong human resource nor abundant hardware resource.

I was looking at figure 8 in switch's article when I said training step. You are right that switch transformer shows 7x speedup in training time against its baseline.

from fastmoe.

Tiiiger avatar Tiiiger commented on August 10, 2024

Got it! thank you : )

from fastmoe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.