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
As the README states, AsyncIO support works fine by prepending async_ to the method name.
I already do this across many functions, and it works perfectly. However, I discovered a bug when creating training asynchronously. It always fails with the error:
ReplicateError(type=None, title=None, status=404, detail='The requested resource could not be found.', instance=None)
As you can see, it is correct, but it’s somewhat odd as it requires the model to be passed along with the destination. This might create confusion internally. If you use this in sync mode instead, you’ll notice that the signature is different. As you can see, no model is passed here.
The async approach needs to be investigated as it’s currently broken. It’s a shame since I’m using everything else asynchronously, but this one function has to remain synchronous to work.
Thank you
The text was updated successfully, but these errors were encountered:
@houmie Thank you for the report! You're absolutely right. The sync and async versions are too divergent and the async version is clearly not doing the right thing.
As the README states, AsyncIO support works fine by prepending
async_
to the method name.I already do this across many functions, and it works perfectly. However, I discovered a bug when creating training asynchronously. It always fails with the error:
ReplicateError(type=None, title=None, status=404, detail='The requested resource could not be found.', instance=None)
See below:
As you can see, it is correct, but it’s somewhat odd as it requires the model to be passed along with the destination. This might create confusion internally. If you use this in sync mode instead, you’ll notice that the signature is different. As you can see, no model is passed here.
The async approach needs to be investigated as it’s currently broken. It’s a shame since I’m using everything else asynchronously, but this one function has to remain synchronous to work.
Thank you
The text was updated successfully, but these errors were encountered: