mlcommons / mlcommons/chakra

wiki -Chakra Execution Trace Collection have some errors

Open
#192 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
196
Forks
84
PR merge metrics
No merged PRs in 30d

Description

Describe the Bug

A clear and concise description of what the bug is.
https://github.com/mlcommons/chakra/wiki/Chakra-Execution-Trace-Collection-%E2%80%90-A-Comprehensive-Guide-on-Merging-PyTorch-and-Kineto-Traces
There is something wrong with the tutorial sample code. Following the tutorial will cause an error

Steps to Reproduce

Steps to reproduce the behavior.
Please include the version information where the bug was observed.
Follow the tutorial and chakra link will have the following problem:

json.decoder.JSONDecodeError: Unterminated string starting at: line 985848 column 28 (char 151257080)

Expected Behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.
Here et repeats start

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the linked Chakra Execution Trace Collection wiki tutorial and follow its sample steps to reproduce the JSONDecodeError. Inspect the trace-merging sample around the reported failure, then update the tutorial so the documented steps complete without the unterminated-string error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.