Giter Club home page Giter Club logo

Comments (3)

buptqitian avatar buptqitian commented on August 28, 2024

I remove the code of Predict.cpp

if (topK >=128 ) {
cout << "Error :Optimized topk Only works for top 128 . "<< topK<< " is greater" <<endl;
return 1;
}

then, I predict with "-k 140"

And i find the result like this:
1 1197,0.935:3793,0.896:2571,0.840:1206,0.814:551,0.810:2987,0.754:1347,0.723:1073,0.714:1274,0.714:608,0.690:1210,0.686:1220,0.683:1270,0.651:8874,0.621:5618,0.620:3578,0.617:968,0.615:1275,0.605:1339,0.603:741,0.603:353,0.598:2115,0.593:2710,0.593:6874,0.592:1527,0.585:1982,0.580:1127,0.562:527,0.559:3471,0.557:1345,0.556:3527,0.537:3114,0.528:553,0.498:5349,0.497:4886,0.496:110,0.488:1748,0.487:1,0.478:1407,0.475:1225,0.474:610,0.466:1288,0.465:1199,0.465:3703,0.449:594,0.436:1968,0.426:1265,0.421:778,0.416:6377,0.412:1148,0.394:235,0.391:1213,0.389:2797,0.386:1241,0.383:111,0.379:7360,0.372:70,0.367:2700,0.361:799,0.359:3300,0.357:750,0.357:1320,0.348:3917,0.341:1610,0.336:2355,0.323:2005,0.322:2997,0.321:1961,0.321:2455,0.317:7022,0.316:2003,0.314:3740,0.313:3671,0.310:2657,0.310:3751,0.302:4855,0.301:4865,0.298:2791,0.293:2028,0.292:16,0.288:1285,0.287:2916,0.283:6659,0.281:4262,0.278:3147,0.276:2139,0.270:5445,0.269:555,0.268:2161,0.266:5378,0.266:364,0.266:3994,0.264:1517,0.263:5782,0.263:1255,0.263:3702,0.260:1394,0.259:1617,0.255:442,0.254:1307,0.252:1974,0.250:7090,0.247:2788,0.247:5254,0.246:5219,0.246:2459,0.243:3018,0.242:745,0.241:6857,0.240:2167,0.234:1653,0.233:2160,0.233:273,0.233:720,0.230:724,0.230:7147,0.229:912,0.229:5971,0.227:40815,0.224:6,0.223:6283,0.219:2529,0.216:5502,0.215:1342,0.214:1101,0.213:2617,0.212:2513,0.211:2019,0.208:2,0.000:2,0.000:2,0.000:2,0.000:2,0.000:2,0.000:2,0.000:2,0.000:2,0.000:2,0.000:2,0.000:2,0.000:

It seems the last 12 prediction is no meaning

from amazon-dsstne.

rgeorgej avatar rgeorgej commented on August 28, 2024

We have an Performing Optimized topK in GPU which only supports upto 128. We need add support for larger numbers or fall back to other implementation(CUB) when the number is too high and we cannot extract the Performance of the GPU

from amazon-dsstne.

scottlegrand avatar scottlegrand commented on August 28, 2024

Optimized took should be able to be extended to 256, 512, and potentially
1024 before needing to fall back to cub. I can help Rejith with this.
On May 17, 2016 2:56 PM, "Rejith Joseph" [email protected] wrote:

We have an Performing Optimized topK in GPU which only supports upto 128.
We need add support for larger numbers or fall back to other
implementation(CUB) when the number is too high and we cannot extract the
Performance of the GPU


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#15 (comment)

from amazon-dsstne.

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.