Giter Club home page Giter Club logo

Comments (13)

navdeep-G avatar navdeep-G commented on May 26, 2024

This is already in, no?

from h2o4gpu.

mdymczyk avatar mdymczyk commented on May 26, 2024

@navdeep-G for C/C++ yes but we still need something in Python (and possibly R?).

from h2o4gpu.

navdeep-G avatar navdeep-G commented on May 26, 2024

Yep. We should have it for those APIs.

from h2o4gpu.

mdymczyk avatar mdymczyk commented on May 26, 2024

I'm not sure what's the best practice for R but in Python we probably can just use the standard import logging. We just need to map the verbosity number to a String level representation (INFO, DEBUG etc.). Ideally we'd add a Python/R call to our C/C++ backend which would map int -> String according to what is hardcoded in the C code (there are definitions for those in the logger files) so we don't have to hardcode that for example 500 is DEBUG several times in C, Python and R code.

from h2o4gpu.

terrytangyuan avatar terrytangyuan commented on May 26, 2024

We just need to expose the verbosity in Python API and then we can modify it as an option in R. We can also use futile.logger package if needed.

from h2o4gpu.

navdeep-G avatar navdeep-G commented on May 26, 2024

Yes, only needs to be in python and we can use reticulate to invoke it in R

from h2o4gpu.

pseudotensor avatar pseudotensor commented on May 26, 2024

python already has logging, used in DAI alot: https://docs.python.org/3/library/logging.html

from h2o4gpu.

mdymczyk avatar mdymczyk commented on May 26, 2024

@pseudotensor yes, we just need to replace the print statements in our code for those logger calls and set the log level appropriately based on the verbosity level.

from h2o4gpu.

navdeep-G avatar navdeep-G commented on May 26, 2024

I can start working on this soon if that’s okay with you guys.

from h2o4gpu.

pseudotensor avatar pseudotensor commented on May 26, 2024

Copy/paste the logger setup arno did for DAI. It's non-trivial to set it up and now it's very nice for DAI.

from h2o4gpu.

mdymczyk avatar mdymczyk commented on May 26, 2024

This isn't really very high priority, we can do this after we have tSVD in DAI and are done with preparations for GTC I think.

from h2o4gpu.

navdeep-G avatar navdeep-G commented on May 26, 2024

Sounds good. Not sure what the process of tsvd in DAI is but can check.

from h2o4gpu.

pseudotensor avatar pseudotensor commented on May 26, 2024

Agreed on priority, just laying out what would be done to someone doesn't do crazy amounts of independent work.

We should try cusolver in DAI, easy to try, just busy getting release out.

from h2o4gpu.

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.