CentML / centml-python-client

Apache License 2.0
1 stars 0 forks source link

Only submit compilation once #54

Open destefy opened 5 months ago

destefy commented 5 months ago

right now, if backend.py:_wait_for_status() succesfully submits a compilation request to the server, but the server fails to compile the model, backend.py will send more compilation requests until it runs out of tries.

We probably don't want to do this, since nothing will have changed about the model we are submitting.

In this way, we may benefit from have a FAILED status state, instead of relying on NOT_FOUND as the state used both at the beginning when nothing's been submitted, but also if a compilation has failed

┆Issue is synchronized with this Notion page by Unito