Skip to content

Conversation

mthrok
Copy link
Contributor

@mthrok mthrok commented May 27, 2020

Binds get_info function via torchscript instead of pybind.
Introduces the intermediate struct SoxAudioInfo that is passed from C++ extension to Python,
This is due to the fact that unlike pybind11, torchscript does not allow to expose arbitral C struct to Python (sox_encodinginfo_t and sox_signalinfo_t).

This PR is built on / blocked by #625 .

@mthrok mthrok changed the title Make get_info torchscript-able WIP: Make get_info torchscript-able May 27, 2020
@mthrok mthrok closed this Jun 1, 2020
mpc001 pushed a commit to mpc001/audio that referenced this pull request Aug 4, 2023
The RNNModel puts the embedding table and the decoder parameters on
a remote parameter server, and locally holds parameters for the LSTM
module. The RNNModel overrides the forward() function to pass input
and intermediate outputs across workers. And it also added a
parameter_rrefs to return a list of RRefs of the model parameters.
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