Skip to content

Conversation

@hlu1
Copy link
Contributor

@hlu1 hlu1 commented May 11, 2021

Summary:

  • Use expect_contiguous in layer_norm to avoid unnecessary refcount bumps when the tensors are contiguous
  • Clean up some leftovers from the hacky wrappers removal cleanup: use c10::MaybeOwned for bias tensors
  • Skip dispatcher for at::empty in the layer_norm impl in Static Runtime

Test Plan: CI

Differential Revision: D28214298

@facebook-github-bot facebook-github-bot added oncall: jit Add this issue/PR to JIT oncall triage queue cla signed labels May 11, 2021
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented May 11, 2021

💊 CI failures summary and remediations

As of commit 0457723 (more details on the Dr. CI page):


None of the CI failures appear to be your fault 💚



🚧 2 fixed upstream failures:

These were probably caused by upstream breakages that were already fixed.

Please rebase on the viable/strict branch (expand for instructions)

If your commit is older than viable/strict, run these commands:

git fetch https://github.com/pytorch/pytorch viable/strict
git rebase FETCH_HEAD

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D28214298

Summary:
Pull Request resolved: pytorch#58067

- Use expect_contiguous in layer_norm to avoid unnecessary refcount bumps when the tensors are contiguous
- Clean up some leftovers from the hacky wrappers removal cleanup: use c10::MaybeOwned<Tensor> for bias tensors
- Skip dispatcher for at::empty in the layer_norm impl in Static Runtime

Test Plan: CI

Reviewed By: swolchok

Differential Revision: D28214298

fbshipit-source-id: 59a504293f0a599e8e97cab5d9dd7c05985d7eed
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D28214298

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c3d40fd.

krshrimali pushed a commit to krshrimali/pytorch that referenced this pull request May 19, 2021
Summary:
Pull Request resolved: pytorch#58067

- Use expect_contiguous in layer_norm to avoid unnecessary refcount bumps when the tensors are contiguous
- Clean up some leftovers from the hacky wrappers removal cleanup: use c10::MaybeOwned<Tensor> for bias tensors
- Skip dispatcher for at::empty in the layer_norm impl in Static Runtime

Test Plan: CI

Reviewed By: swolchok

Differential Revision: D28214298

fbshipit-source-id: 73150fa62d5c18f41a2264f8e56bbe5e377ad045
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed fb-exported Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants