-
Notifications
You must be signed in to change notification settings - Fork 712
[STABLE FORCED_ALIGN ABI PORT] Remove Accessor use in forced_align #4022
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/audio/4022
Note: Links to docs will display an error until the docs builds have been completed. ❌ 38 New Failures, 2 Cancelled JobsAs of commit 724606a with merge base 0c22347 ( NEW FAILURES - The following jobs have failed:
CANCELLED JOBS - The following jobs were cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Note: this commit now depends on the |
This PR passes all tests for |
Hello, is there a chance to get any features or improvements from #3787 merged? on the other side, I managed to remove the torch dependency completely from the FA api, so I guess it's doable, only the input |
Hi @MahmoudAshraf97 , we're currently trying to migrate these ops to be ABI-stable, which is our current top priority. Unfortunately, we won't have the bandwidth to consider improvements like in #3787 at the moment, sorry. It's possible that we'll be able to re-consider in the future, but the near-term goal is for torchaudio to be stable while minimizing maintenance requirements. |
In preparation for migration to the stable ABI, this Pr removes Accessor use in
forced_align
. It does this by making its own version of an Accessor, assuming that strides are 1 and that everything is contiguous. This PR may need some additional improvements, but I leave that decision to you.Accessor
andMutAccessor
classes which are basically the same, but differ based on whether their input isconst
or not. I tried to combine them both into a single templatizedAccessor
, but it didn't seem to work, so I went with the ugly solution. If you want, I can try harder to get the templated version to work.