tensorflow / tensorflow/tensorboard
Feature Request: C++ logging from non-TensorFlow frameworks
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 1
Description
TensorBoard logging can be done from a variety of ML frameworks, including PyTorch with torch.utils.tensorboard. The FileWriter and protos exposed from TensorBoard provide an API contract that can be easily accessed in Python code to log everything from scalars and histograms to model graphs.
However, things get complicated with C++. Any proto specifications or code would need to be built as a static or dynamic library and referenced by frameworks at build as well as runtime.
A couple of questions:
- How much interest is there in the community for TensorBoard logging from non-Python languages and non-TensorFlow libraries?
- Should proto files exist in a separate TensorFlow/TensorBoard repository so they can be pinned, updated, etc. across logging implementations or just be copied as needed into other code bases?
- Is there value in a shared C++ logging implementation and a precompiled library to match?
We are exploring C++ logging for PyTorch with libtorch and so wanted to get community involvement on this topic. Comments welcome!
cc @nfelt @manivaradarajan @GalOshri @natalialunova @lanpa @sanekmelnikov @caraya10 @jspisak
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are identified. Start by reviewing the questions about proto ownership, cross-language logging, and a shared C++ implementation, then establish a concrete scope and acceptance criteria. Done would require an agreed direction and an implementation plan for C++ logging outside TensorFlow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, pytorch
- Domain
- backend-api-design, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100