Comments (8)
@jrhemstad I didn't notice anywhere it being mentioned that we can mix logger objects from different logging libraries itself? Maybe I'm misreading its docs?
You can mix logger objects because the libraries are totally independent. The spdlog
that is in librmm.so
is totally independent of libcuml.so
.
Furthermore, the logger object I'm using in RMM isn't registered with spdlog
's global registry of loggers because I don't want it to be visible or used externally. So there is no way you can possibly interact or conflict with the logger used in RMM short of totally rewriting the code.
from cuml.
Sometime ago I worked in things relative to append logging infrastructure to RAPIDS:
Repository:
https://github.com/burlachenkok/cuml/commits/Work_on_RAPML_29
Change:
burlachenkok@5dc14b9
from cuml.
Marking this as a Tech Debt item so as to help as plan for future clean-up releases.
from cuml.
@jrhemstad has recently filed a PR under RMM proposing to use spdlog as the underlying logging library.
Since we depend on RMM, we should do either one of the following:
- check if we can safely mix loggers, in case we want to go ahead with glog
- use spdlog instead of glog
Personal opinion: I'd favor spdlog.
from cuml.
I looked at glog and didn't like it because it wasn't header only. That's less of a big deal for a compiled library like cuML. This was more important for RMM since we're planning to make it header only.
See https://github.com/gabime/spdlog/wiki/How-to-use-spdlog-in-DLLs about mixing loggers in different libraries. They shouldn't collide at all.
from cuml.
@jrhemstad I didn't notice anywhere it being mentioned that we can mix logger objects from different logging libraries itself? Maybe I'm misreading its docs?
from cuml.
Great. Thanks for the confirmation @jrhemstad
from cuml.
Closing this one as PR #1867 has now been merged.
from cuml.
Related Issues (20)
- jetson nx orin[QST]
- [BUG] kneighbors_graph with ivfflat
- [QST] Possible to reduce the number of project dependencies?
- [FEA] Support `set_output` for transformers.
- [BUG] sklearn is a hard dependency after #5630 HOT 1
- [BUG] Memory leak when instantiating NearestNeighbors
- [FEA] Support missing_value in FIL
- [BUG] Incorrect `if` test in `model_selection/_split.py`?
- [BUG] Hang of dask pytests in ARM CUDA 11.4 GHA HOT 1
- [DOC] ImportError: cannot import name 'make_column_transformer' from 'cuml.preprocessing'
- [BUG] OneHotEncoder doesn't work in neither string nor numeric columns
- [FEA] Support `feature_names_in_` attribute
- [BUG] Failed to execute HalvingRandomSearchCV: It is very likely that your model is misconfigured HOT 1
- [QST] UMAP memory usage: out_of_memory MemoryError HOT 3
- [BUG] Transient illegal memory access when performing umap.transform() HOT 1
- [BUG] **`_process_generic` defined in `base_helpers` but needed in `base_return_types`, circular import restricted** HOT 2
- [QST] I am not able to find feature selection methods in cuML. HOT 1
- [BUG] Pipeline of MinMaxScaler and KMeans with DataFrame input produces incorrect results
- [FEA] nan_euclidean or custom metric added as a metric in NearestNeighbors HOT 2
- [BUG] the UMAP implementation much worse than on CPU HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuml.