Skip to content

Conversation

wconstab
Copy link
Contributor

@wconstab wconstab commented May 3, 2024

Stack from ghstack (oldest at bottom):

The conditional expression forces evaluation of a symbolic quantity,
which is not a problem in eager but prevents tracing/export and blocks
using Pipeline Parallelism via tracing frontend.

Tensor.contiguous operator already handles returning self if the
striding of self is already contiguous.

Fixes pytorch/PiPPy#1108

[ghstack-poisoned]
Copy link
Collaborator

@awgu awgu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can close #217 too when this lands?

Copy link
Contributor

@kwen2501 kwen2501 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, why not.

@wconstab
Copy link
Contributor Author

i think i abandoned this becuase even with this fix the PP tracer would not work due to other issues with the fused-rmsnorm custom op registration.

did we figure out a solution there? or are we totally giving up on fused_rmsnorm and switching to compile?

cc @lessw2020

@wconstab
Copy link
Contributor Author

abandoned

@wconstab wconstab closed this Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants