Anindya
Explore posts from serversMModular
•Created by Anindya on 6/14/2024 in #questions
How to declare a function type in a trait?
yes, I am thinking of not adding try block but then you saying just using a raise would work with an if?
10 replies
MModular
•Created by Anindya on 6/14/2024 in #questions
How to declare a function type in a trait?
Hi, so there was one more problem I am facing
So, in any how I was not able to initialize my func_module which is taken from func.py file. I got to insert it under try block other wise giving me error, and once that done, I am getting this kind of error:
10 replies
MModular
•Created by Anindya on 6/14/2024 in #questions
How to declare a function type in a trait?
I see, but still it is a good start, thanks and now I am starting to see the cons of strong typings .. ughh
10 replies
MModular
•Created by Anindya on 6/14/2024 in #questions
How to declare a function type in a trait?
Thanks for the answer, so is it not possible to be more flexible with this apperoach in any ways?
10 replies
RRunPod
•Created by Anindya on 3/14/2024 in #⚡|serverless
Streaming is not quite working
And this is how the handler code looks like:
Even tried out with
"return_aggregate_stream": True,
and here is how my client code looks like which is a simple POST request
what is happening is, in my server side, I can see that it is doing streaming but on client side, I am getting responses when streaming finishes4 replies
RRunPod
•Created by Anindya on 3/14/2024 in #⚡|serverless
Streaming is not quite working
Here is how my inference code looks like
4 replies