We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I don't really understand the visualizations tbh, so I wanted to turn them off, but viz=False, leads to the following error:
--------------------------------------------------------------------------- UnboundLocalError Traceback (most recent call last) [<ipython-input-44-e13ba08403d2>](https://ucrqhfq45wo-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20240403-060136_RC00_621473488#) in <cell line: 28>() 26 tl.store(z_ptr + n0_range + n1_range * N0, z, mask) 27 ---> 28 test(add_vec_block_kernel, add_vec_block_spec, nelem={"N0": 100, "N1": 90}, viz=False) [<ipython-input-3-91403af2aaed>](https://ucrqhfq45wo-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20240403-060136_RC00_621473488#) in test(puzzle, puzzle_spec, nelem, B, viz) 40 if viz: 41 failures = triton_viz.launch() ---> 42 if not match or failures: 43 print("Invalid Access:", failures) 44 print("Yours:", z) UnboundLocalError: local variable 'failures' referenced before assignment
changing the test code a bit to something like this in the relevant lines worked for me:
failures=None if viz: failures = triton_viz.launch() if not match or failures: if failures: print("Invalid Access:", failures)
The text was updated successfully, but these errors were encountered:
Can you let us know what is unclear about the visualizations? I think that would be useful for us.
Sorry, something went wrong.
No branches or pull requests
I don't really understand the visualizations tbh, so I wanted to turn them off, but viz=False, leads to the following error:
changing the test code a bit to something like this in the relevant lines worked for me:
The text was updated successfully, but these errors were encountered: