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

PyTorch Tracing Sweeps #13373

Closed
3 tasks done
Tracked by #13795
eyonland opened this issue Oct 2, 2024 · 1 comment
Closed
3 tasks done
Tracked by #13795

PyTorch Tracing Sweeps #13373

eyonland opened this issue Oct 2, 2024 · 1 comment

Comments

@eyonland
Copy link
Contributor

eyonland commented Oct 2, 2024

For these PyTorch Sweep the tracing files have already been created. See the markdown files in https://github.com/tenstorrent/pytorch2.0_ttnn/tree/main/docs/operations for all tracing that was done. The md files for the eltwise ops need to be transformed and put in a the location https://github.com/tenstorrent/tt-metal/tree/main/tests/sweep_framework/sweeps/eltwise/aten/ for now so that we can easily identify them.
A video describing the tracing and what we need to use is described here : https://tenstorrent.zoom.us/rec/share/UI9t4RYxxcdLAMXlUM7jbNsECr5XE_zjdbatFRpUCYhPUDv61AKvKrEq0gOap-zl.Nvl8-dLXnkZlWslj Passcode:
Jasmina took the time to list all the ops (including eltwise) here: https://docs.google.com/spreadsheets/d/1xqBex_wjnqiCiweTWSgf-xnWljKjiUHoDDzdE7EPxzI/edit?gid=0#gid=0 to help us track them.

Our goal here is to generate the sweeps, collect the number of passing/failures vs totals, and then update the appropriate locations within the referenced links here: https://docs.google.com/spreadsheets/d/1RzpC1upgh-UR_y5Lk8nWpSOOmvX-xTEOf2vJFCB5jNk/edit?gid=2026993254#gid=2026993254
Note: The number of failures we get from these sweeps will determine the priority of our bugs. Specifically, these bugs become our top priority outside of P0s
Ideally only one or two people work on this. We need to try an get this done within two days. To hit this goal we will need to think smart and possibly leverage ChatGPT like Atul did, or we use python or something else to quickly crank out these sweeps and run them.

Sweep test Results Tracker: Link

mouliraj-mcw added a commit that referenced this issue Oct 9, 2024
mouliraj-mcw added a commit that referenced this issue Oct 9, 2024
mouliraj-mcw added a commit that referenced this issue Oct 9, 2024
* #13373: Add sweeps for relu_pytorch2

* #13373: Add sweep test for sin_pytorch2

* #13373: Add sweep test for maximum_pytorch2

* #13373: Add sweep test for minimum_pytorch2

* #13373: Add sweep test for tanh_pytorch2

* #13373: Add sweep test for silu_pytorch2

* #13373: Add sweep test for rsub_pytorch2

* #13373: Add sweep test for sigmoid_pytorch2

* #13373: Add sweep test for rsqrt_pytorch2

* #13373: Add sweep test for where_pytorch2

* #13373: Add sweep test for tril_pytorch2

* #13373: Update files

* #13373: Add sweep for pow_scalar_pytorch2, pow_tensor_pytorch2

* #13373: Update golden functions
VirdhatchaniKN added a commit that referenced this issue Oct 16, 2024
VirdhatchaniKN added a commit that referenced this issue Oct 16, 2024
VirdhatchaniKN added a commit that referenced this issue Oct 16, 2024
VirdhatchaniKN added a commit that referenced this issue Oct 16, 2024
VirdhatchaniKN added a commit that referenced this issue Oct 16, 2024
VirdhatchaniKN added a commit that referenced this issue Oct 16, 2024
* #13373: PyTorch Tracing Sweeps for set 2

* #13373: Update golden function

* #13421: Update

* #13421: Update where sweep
@eyonland
Copy link
Contributor Author

Closing this issue given that we are tracking the progress of the fixes through #13521

ct-clmsn pushed a commit to ct-clmsn/tt-metal that referenced this issue Nov 12, 2024
…t#13421)

* tenstorrent#13373: PyTorch Tracing Sweeps for set 2

* tenstorrent#13373: Update golden function

* tenstorrent#13421: Update

* tenstorrent#13421: Update where sweep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants