Skip to content

Conversation

stephen-huan
Copy link
Contributor

@stephen-huan stephen-huan commented Dec 9, 2024

Fixes #142328. The implied cast-then-sqrt order matches the behavior of the halide backend.

def _helper_sqrt(self, expr):
return f"hl.sqrt({self.cast_float(self._print(expr))})"

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov

Copy link

pytorch-bot bot commented Dec 9, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/142352

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (2 Unrelated Failures)

As of commit f782afd with merge base 2cc01cc (image):

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Copy link

linux-foundation-easycla bot commented Dec 9, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: stephen-huan / name: Stephen Huan (f782afd)

@stephen-huan
Copy link
Contributor Author

@pytorchbot label "topic: not user facing"

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Dec 9, 2024
@ezyang
Copy link
Contributor

ezyang commented Dec 9, 2024

Do you mind popping your minimal reproducer into the test suite too? Thanks!

@ezyang
Copy link
Contributor

ezyang commented Dec 9, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Dec 9, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: inductor-rocm / rocm6.2-py3.10-inductor / test (inductor, 2, 2, linux.rocm.gpu.2)

Details for Dev Infra team Raised by workflow job

@stephen-huan
Copy link
Contributor Author

stephen-huan commented Dec 9, 2024

Added a simple test copied from the issue. I would like to use run_and_get_code / get_code / get_triton_code etc. but I couldn't get it to reproduce the error (maybe I'm doing something silly?). Since it's a syntax error, simply running the code will trigger the error. The added test fails before the commit in the PR and works afterwards.

Merge failure seems unrelated?

@ezyang
Copy link
Contributor

ezyang commented Dec 10, 2024

That's fine, running without crashing is good enough for me

@ezyang
Copy link
Contributor

ezyang commented Dec 10, 2024

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@ezyang
Copy link
Contributor

ezyang commented Dec 11, 2024

@pytorchbot merge -f "unrelated failures only"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

compiled function called on .grad tensors w/ different shapes SyntaxError: invalid decimal literal

4 participants