Comments (5)
- How does kineto get pytroch functions name?
Kineto uses CUPTI to get the CUDA Runtime and launch names as well the as CUDA kernel names. Kineto interacts with PyTorch Profiler (inside of pytorch/pytorch repo), which helps Kineto get the PyTorch runtime function names. We also have a feature called Python Tracing, enabled by with_stack=True
, which turns on the python tracer, and collects all the python runtime stacks too.
- What is the purpose of KINETO_USE_DAEMON=1 ?
This is a new OSS feature meant to enable on-demand profiling. When the dynolog daemon is enable via this env var, the daemon can directly request Kineto to perform a GPU trace collection. The env variable does not affect whether Kineto is on or not, since Kineto can be used via PyTorch Profiler API calls.
from kineto.
@stricklandye The first issue, as far as I understand, is that pytorch profiler pushes events to kineto actively, not by CUPTI itself.
from kineto.
@shinytang6 Thanks for your reply. Could you please tell me where is the source code related to this? i.e. Pytroch Profiler pushes events to kineto. :D
from kineto.
@shinytang6 Thanks for your reply. Could you please tell me where is the source code related to this? i.e. Pytroch Profiler pushes events to kineto. :D
maybe you can check this:
https://github.com/pytorch/pytorch/blob/e1f159e6b2c0b5d2d169569c490f182771ac643b/torch/csrc/profiler/collection.cpp#L805
from kineto.
I see. Hope someone else could answer the second questions. I will close this issue in few days.
from kineto.
Related Issues (20)
- Is Kineto planning to support backend extensions? HOT 3
- Error in running sample programs, because "undefined reference to `cudaFree'" HOT 1
- Why PyTorch TensorBoard Profiler (Deprecated) HOT 3
- Fail to profile CUDA activities when ProfilerActivity.CPU is not enabled HOT 3
- The results captured in "DIFF" view are incomplete compared to those in "NORMAL" view HOT 1
- Question about how to run "make test" correctly? HOT 2
- CUPTI symbols are undefined after libkineto build HOT 1
- The trace json file in the "Input Dims" field of aten::conv2d only has input shape and kernel shape
- TB_Plugin_CI failing with AttributeError: module 'mpmath' has no attribute 'rational'
- [Plugin-Bug]The Operators of baseline-run and exp-run are showed in a misaligned order HOT 1
- How to add customized metadata with on demand profiling ? HOT 7
- [RFC] Support XPU Backend With PTI-sdk in Kineto HOT 3
- [Discussion] Which clock should we be using for timestamps? HOT 2
- GPU traces fail when using PyTorch lightning due to square braces in traceName HOT 2
- Support memory profiling feature from on-demand path
- Roctracer crashes when number of samples too high
- TypeError: bad operand type for unary -: 'NoneType' HOT 4
- [Synchronization events] Missing StreamWait event in cases
- KeyError: <torch_tb_profiler.profiler.node.OperatorNode object at 0x7f4a45dc3e80> HOT 1
- Module View cannot show device time HOT 5
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 kineto.