exo icon indicating copy to clipboard operation
exo copied to clipboard

[BOUNTY - $100] DummyInferenceEngine

Open AlexCheema opened this issue 1 year ago • 7 comments

  • We support several InferenceEngine implementations including MLX, tinygrad and PyTorch
  • Sometimes you want to test everything except the inference itself
  • It would be helpful to have a DummyInferenceEngine implementation that can simulate some of the characteristics of inference without actually loading a model / running an inference
  • I'll leave it up to you to decide which parameters the DummyInferenceEngine takes but some things I think would be useful to customise are: the outputs (can be static or sampled from some distribution), the latency (can be implemented as an asyncio.sleep).
  • InferenceEngine implementations are required to be asynchronous so please no blocking code like time.sleep

AlexCheema avatar Oct 10 '24 19:10 AlexCheema

gonna take care of this one.

ji-cryptocafe avatar Oct 10 '24 22:10 ji-cryptocafe

@ji-cryptocafe Any updates? Also, @AlexCheema is it still available If yes can you assign me this?

rahat2134 avatar Oct 18 '24 18:10 rahat2134

@ji-cryptocafe Any updates? Also, @AlexCheema is it still available If yes can you assign me this?

Assigned. I haven't seen a good implementation of this yet.

AlexCheema avatar Oct 18 '24 18:10 AlexCheema

@AlexCheema submitted mine yesterday here https://github.com/exo-explore/exo/pull/331#issuecomment-2421805542 I was 3 days away due to holidays. @rahat2134 you are welcome to build upon it or make a new one. i have also seen someone else made another implementation, more complex and versatile.

ji-cryptocafe avatar Oct 19 '24 09:10 ji-cryptocafe

@AlexCheema this issue has been resolved! How can I get the bounty? Thanks.

p.s - I have already mailed you.

rahat2134 avatar Oct 24 '24 02:10 rahat2134

@AlexCheema this issue has been resolved! How can I get the bounty? Thanks.

p.s - I have already mailed you.

@AlexCheema PTAL!

rahat2134 avatar Oct 25 '24 12:10 rahat2134

@AlexCheema, Please reply, I have the need of the bounty(money).

rahat2134 avatar Oct 27 '24 07:10 rahat2134

Replied over mail. Needed your ethereum address. The full bounty has been paid now.

AlexCheema avatar Oct 28 '24 00:10 AlexCheema

@AlexCheema submitted mine yesterday here #331 (comment) I was 3 days away due to holidays. @rahat2134 you are welcome to build upon it or make a new one. i have also seen someone else made another implementation, more complex and versatile.

Can you please mail me to claim the bounty as you submitted a complete solution.

[email protected]

AlexCheema avatar Oct 28 '24 00:10 AlexCheema