You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for making this issue! Can you provide some more context about what you're trying to do (i.e., elaborating more about "making your functions share the same resources (e.g. one GPU)")?
So for example if you use something like Ignite with PyTorch, what you often do is construct trainer functions that are later called to actually do the training. It would be nice if the resource allocation could propagate from the trainer factory function to the actual trainer function.
Is it possible to define a remote function through closures?
In the example below I want get_func and my_func to share the same resources (e.g. one GPU):
I think just decorating
get_func
won't be enough and I guess below won't work either?The text was updated successfully, but these errors were encountered: