Skip to content

Move import _torch_sox inside function calls #361

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

Closed
wants to merge 8 commits into from

Conversation

vincentqb
Copy link
Contributor

@vincentqb vincentqb commented Dec 4, 2019

Import sox only when sox is used at runtime, e.g. sox_effects or loading files, from #355. As noted here, repeated imports of _torch_sox do seem to properly hit cache.

@vincentqb vincentqb force-pushed the soximport branch 2 times, most recently from 72354d0 to 34cfc89 Compare December 4, 2019 22:12
@vincentqb vincentqb closed this Dec 5, 2019
@vincentqb
Copy link
Contributor Author

Pushed work to #355

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant