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

Intermediate Representation #20

Open
sdesrozis opened this issue Mar 17, 2021 · 5 comments
Open

Intermediate Representation #20

sdesrozis opened this issue Mar 17, 2021 · 5 comments

Comments

@sdesrozis
Copy link

sdesrozis commented Mar 17, 2021

We are currently thinking about a visual representation of building blocks composing an application : PyTorch objects, handlers, metrics, engines, etc. The idea is to provide a graphical helper to organise events and dataflow. In my knowledge, it is an original approach that could be complementary to our code generator (from templates).

To do this, the visual representation (from a graphical tool, in the spirit of PyFlow https://github.com/wonderworks-software/PyFlow) should be described in a specific representation used by a code generator. This representation could be similar to the intermediate representation (IR) used in compilation (e.g llvm, gcc). It helps optimisation, and code generation.

I wonder about merging our effort to have a unique representation. I mean

  • Templates -> IR -> code
  • Graphic Tool -> IR -> code

What do you think about that ?

Some insights

@trsvchn
Copy link
Member

trsvchn commented Mar 18, 2021

How it started: rendering Jinja
How it's going: developing IgniteScript
:)

Ok, jokes aside, now.
Personally, I like the idea, and I didn't see similar project for DL/ML. There is ludwig, but its w/o UI. It's a smth new to me and I am going to check the provided links (thanks to @sdesrozis), after I will let you know what I think.

@ydcjeff
Copy link
Member

ydcjeff commented Mar 18, 2021

Thanks @sdesrozis I now have a clear picture of it. So, we are going to provide building blocks within a graphical tool, right ?
I really like it. I also think that we might not need to write many templates then. Also I am new to this, so very excited about it.

@sdesrozis
Copy link
Author

I think that is quite original. IMO, we need a common representation (IR) for both templates and graphical tool. You are working on the code generator. Really interested to hear you about that when you would have thought about it.

@vfdev-5
Copy link
Member

vfdev-5 commented Mar 19, 2021

@sdesrozis I sent an invite for our next team meeting

@sdesrozis
Copy link
Author

@sdesrozis I sent an invite for our next team meeting

I'm full on Wenesday 24th...

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

4 participants