Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Is it possible to make onnx-go run distributedly? #147

Closed
BruceWangNo1 opened this issue Oct 7, 2019 · 10 comments
Closed

Is it possible to make onnx-go run distributedly? #147

BruceWangNo1 opened this issue Oct 7, 2019 · 10 comments

Comments

@BruceWangNo1
Copy link

Is your feature request related to a problem? Please describe.
I am a graduate student who needs a graduation project. I am thinking about whether it is necessary and feasible to make the program run distributedly.

Describe the solution you'd like
Possibly with the help of github.com/chrislusf/gleam ?

@owulveryck
Copy link
Owner

Hello,

Thanks for your interest in onnx-go.
This is a good subject and an excellent idea!

IMHO, onnx-go by itself would not benefit from a distributed execution (it's "only" a parsing mechanism that reconstructs a graph). But, the execution backend would.

By now, the most advanced backend is Gorgonia, and Gorgonia would benefit from a distributed computation system.

brief sidenote: Gorgonia's architecture is extensible. It uses an Expression Graph that is computed by a VM. The VM is an interface.

Last week I created a distributed VM based on go-routines and channels. I think it can be a good starting point for distributed computing.
My idea is to eventually end with something similar to the pregel algo used in spark.

More info here:

https://github.com/gorgonia/gorgonia/blob/1969ec3b19e8c3f9a3ffe9a854571223d4e16054/x/vm/vm_gomachine.go#L14-L25

I am also present on the #gorgonia channel on the #gopherslack. Feel free to join and/or to send me PM there. I would be glad to help you.

@BruceWangNo1
Copy link
Author

BruceWangNo1 commented Oct 7, 2019 via email

@BruceWangNo1
Copy link
Author

Hi Olivier, what is "#gorgonia channel on the #gopherslack?"

@owulveryck
Copy link
Owner

It's a channel on gophers.slack.com. You don't need any invitation to join this.

This URL should be direct access to the channel https://app.slack.com/client/T029RQSE6/CP1GMBUP2

@BruceWangNo1
Copy link
Author

Thanks for the clarification. Slack prompted "Contact the workspace administrator for an invitation," though.

@owulveryck
Copy link
Owner

owulveryck commented Oct 7, 2019

An invitation is now required for gophers.slack.com?

Besides, can we close this issue?

@BruceWangNo1
Copy link
Author

BruceWangNo1 commented Oct 7, 2019 via email

@BruceWangNo1
Copy link
Author

If it is possible, could you please invite me to gophers.slack.com? @owulveryck

@owulveryck
Copy link
Owner

owulveryck commented Oct 13, 2019 via email

@BruceWangNo1
Copy link
Author

Thanks

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

No branches or pull requests

2 participants