Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Trace' has no attribute 'launches' #36

Open
danikhan632 opened this issue Sep 28, 2024 · 3 comments
Open

'Trace' has no attribute 'launches' #36

danikhan632 opened this issue Sep 28, 2024 · 3 comments
Assignees

Comments

@danikhan632
Copy link

I get this error on keren/v2.0 branch

File "/home/dan/Desktop/new_branch/triton-viz/examples/vec_add.py", line 137, in
triton_viz.launch()
File "/home/dan/Desktop/new_branch/triton-viz/triton_viz/visualizer/interface.py", line 11, in launch
program_records, tt, failures = triton_viz.collect_grid()
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'triton_viz' has no attribute 'collect_grid'

I modifed this line to be this I but then I get this error:
program_records, tt, failures = triton_viz.visualizer.collect_grid()

File "triton-viz/examples/vec_add.py", line 137, in
triton_viz.launch()
File "triton-viz/triton_viz/visualizer/interface.py", line 12, in launch
program_records, tt, failures = triton_viz.visualizer.collect_grid()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "triton-viz/triton_viz/visualizer/draw.py", line 77, in collect_grid
for launch in Trace.launches:
^^^^^^^^^^^^^^
AttributeError: type object 'Trace' has no attribute 'launches'

@mark14wu
Copy link
Collaborator

I'm working on this problem right now. This should be a legacy problem which didn't get refactored in v2.0. Thanks!

@danikhan632
Copy link
Author

I'm working on this problem right now. This should be a legacy problem which didn't get refactored in v2.0. Thanks!

I'm trying to rebase onto this branch, do you have a band-aid solution to get something to work?

@mark14wu
Copy link
Collaborator

mark14wu commented Sep 28, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants