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
@johnml1135@ddaspit In machine/jobs/build_nmt_engine.py/run()/clearml_check_canceled(), there is the following line: if task.get_status() in {"stopped", "stopping"}:. However, according to the clearml task documentation, the only values for TaskStatusEnum are [“created”, “in_progress”, “stopped”, “closed”, “failed”, “completed”, “queued”, “published”, “publishing”, “unknown”]. There is no stopping status listed here. Should I go ahead and remove the check for the stopping status?
The text was updated successfully, but these errors were encountered:
I'm sure there was a reason why I checked for stopping, I just can't remember why. Maybe I encountered it in my testing. The only thing I can find is that the status_message gets set to stopping when task cancellation is first triggered. Here we are checking get_status() and not the status_message, so it shouldn't ever get set to stopping. If we remove it, we need to make sure that build cancellation still works. There are two ways that you can cancel a NMT build: from the Serval API and from the ClearML UI.
@johnml1135 @ddaspit In
machine/jobs/build_nmt_engine.py/run()/clearml_check_canceled()
, there is the following line:if task.get_status() in {"stopped", "stopping"}:
. However, according to the clearml task documentation, the only values forTaskStatusEnum
are[“created”, “in_progress”, “stopped”, “closed”, “failed”, “completed”, “queued”, “published”, “publishing”, “unknown”]
. There is nostopping
status listed here. Should I go ahead and remove the check for thestopping
status?The text was updated successfully, but these errors were encountered: