Skip to content
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

Add support for PyTorch #8

Open
mlajtos opened this issue Mar 4, 2017 · 2 comments
Open

Add support for PyTorch #8

mlajtos opened this issue Mar 4, 2017 · 2 comments

Comments

@mlajtos
Copy link
Owner

mlajtos commented Mar 4, 2017

Generating executable code is a top priority. PyTorch is currently the top DL framework (because of the define-by-run nature), so naturally it would be very suiting to combine the two.

Moniel should provide easy way to define weird architectures and PyTorch is cabable of representing them. However, user must be able to interfere with the generated code, because high-level description often does not capture all the neccesities of the idea.

@mlajtos
Copy link
Owner Author

mlajtos commented Mar 9, 2017

Since code is the best representation for computational graphs, output should be generated Python code using PyTorch infrastructure. Again, output WILL NOT be any JSON/YAML/PB stuff, but actual runnable code.

Since user will be able to change generated code (or maybe inject it from Moniel?), result will be the best of the both worlds.

@mlajtos
Copy link
Owner Author

mlajtos commented Jun 23, 2017

There is a proof-of-concept code that constructs code that resembles PyTorch, but there are a few questions that need to be discussed:

  • Generate torch.nn.Modules or just dump everything in one block of code?
  • How to handle Tensors in a functional way? Something like tf.get_variable..?
  • ...more to come

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

No branches or pull requests

1 participant