Remix.run Logo
tweedler290 an hour ago

This is really cool!

Had a question on the MoE: in kimmi-K2/model.py, the router does torch.topk(..., k=self.num_experts) while every other MoE uses k=self.top_k. The ctor's top_k=8 is never stored either.. Is that intentional dense routing or should that be self.top_k?

anuj0456 an hour ago | parent | next [-]

thanks for pointing out. its a bug

anuj0456 an hour ago | parent | prev [-]

fixed