Open tyn513 opened 1 month ago
I have installed the latest pytorch, but still get the error:
Traceback (most recent call last): File "/Users/tangyinan/Chakra/redpajama.py", line 29, in from torch.profiler import ExecutionGraphObserver ImportError: cannot import name 'ExecutionGraphObserver' from 'torch.profiler' (/Users/tangyinan/anaconda3/lib/python3.10/site-packages/torch/profiler/init.py)
@tyn513, sorry for the delayed response. Please take a look at the wiki page and refer to the USER_GUIDE.md to see if it helps. USER_GUIDE.md is more up-to-date. Could you please try ExecutionTraceObserver instead of ExecutionGraphObserver?
@tyn513, sorry for the delayed response. Please take a look at the wiki page and refer to the USER_GUIDE.md to see if it helps. USER_GUIDE.md is more up-to-date. Could you please try ExecutionTraceObserver instead of ExecutionGraphObserver?
Thank you so much for your reply. I have read the USER_GUIDE.md, but it is still hard to get started. For example, I don't know how to get the inputs before generating Chakra ET.
Actually, the only thing I need is the resolvable and visualizable Chakra ET of training LLM (e.g. llama or something else) on several nodes. Could you please share some generated Chakra ET?
Looking forward to your reply!
it too tough to get start
may i ask is there any tutorial or example for this project?
for example, how can i get the pytorch et from cluster, and how to convert it to chakra et? how to visualize the chakra et? how to install the tools such as mystique or execution graph observer?
It is a good tool, but it is hard for beginer.