Giter VIP home page Giter VIP logo

Comments (3)

zhuojw10 avatar zhuojw10 commented on June 18, 2024

TDM3.0训练时是采用beam search得到样本,然后根据样本的子节点max得到该节点的拟合值,但是一个样本假设耗时0.3s,一个batch有2048个样本,那一个batch的耗时不就将近600s?这不会超级耗时吗

不太明白是什么意思,做beam search及取max都可以batch-wise的进行,没有串行的开销。具体细节可以参考我们tf的实现:http://proceedings.mlr.press/v119/zhuo20a.html

from x-deeplearning.

zhjunqin avatar zhjunqin commented on June 18, 2024

beam_search

借楼请教一个问题,如图对一个用户做推荐召回,从上至下,需要做深度模型的推理总共 O(2logNK) 个,按照 N=100万来算,logN=20,按照 K=10来算(通常K都要大于10),总共要做推理 2* 20 * 10=400 次的深度模型计算。

这个计算量跟通常的 youtube DNN +ANN 相比,也大了 400 倍,而且这个还是最差的量级情况下

即使全部都是并行的,整个延迟 p99 的耗时其实是变成了 p(99 *400)

请问大神,这个工程上是怎么实现的

from x-deeplearning.

zhangyuhanjc avatar zhangyuhanjc commented on June 18, 2024

请问3.0在哪里 我只能看到最高1.2版本呀

from x-deeplearning.

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.