App stuck in training
Do you want to request a feature, report a bug, or ask a question about wit? question
What is the current behavior? App is stuck in training.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Inserted a lot of values into an entity (~10k). App has been in ongoing training since then.
What is the expected behavior? Training should've finished by now.
What is the App ID where you are experiencing this issue (if applicable)? 5af55db6-a9c2-44ad-8188-64168d7105845af55d
I am facing the same issue. All wit.ai apps that I trained in the last 24h are stuck in "Training status: ongoing".
App ID: 5b295ca1-192e-4b3f-9077-5a21398ef46e
same for me
Same here. App ID: 5902737c-e922-4695-bed3-874f70abb502
This is really annoying. We are talking about a production environment here and it is not the first time that something suddenly stops working. This particular problem exists for at least 12 hours now.
Having the same issue. APP ID: 5af6f33a-921c-4f4a-98f2-7140a7f4d873
Looking into it. Adding 5b1f8b7e-fb79-4cb0-ab6d-98b960e403eb to the list
Thanks a lot, @blandinw.
Please check 5a2934a4-a921-48f2-8439-960637f89aba too.
Me too -> 583273ad-575f-4ad3-a801-fe95d236ce57
Quick update:
- the training jobs are not dropped, and will be processed eventually (we're seeing between 20 minutes and 8 hours of lag at the moment)
- some bad users are hogging the training queue, impacting other users
- we used to drop these very heavy training jobs
- we deployed a new training system which is more reliable and does not drop heavy training jobs easily
- ironically, now we're better at making sure training jobs are never lost, but it means the bad jobs are never lost too
- we'll take steps to 1) mitigate the current situation and remove lag caused by bad users and 2) tweak the system to explicitly drop these bad users
Thanks to this new training system, we'll be able to open up APIs and add UI elements in our web console to give more visibility as to what's happening with your apps, when it will be trained, when it was trained last, etc. (coming very soon)
@blandinw Thanks for the explanation. What constitutes a "bad user"? Maybe some of us are doing something wrong by mistake that would be avoidable if we knew about it?
I have always thought that there should be some kind of "training off/on" switch - if we're making bigger changes to our model, or planning to train many many things from our inbox, we could turn training off while we're changing stuff, and then turn it back on once we're done, effectively causing just one training job instead of multiple ones.
But maybe thats not how the training system works and the idea wouldn't help...
@hactar thanks for the idea and positive energy!
Bad users are people uploading datasets endlessly and/or creating a very large number of entities. We do not want to put the burden on users to self-regulate in terms of training volume. The system will be smart enough to handle all these scenarios.
What happened here is very situational, the system had just been deployed and did not have enough data to make good decisions about scheduling.
In any case, the problem is fixed now and all apps should be properly trained. We identified a series of steps to make the system smarter that we'll implement in the following days and weeks. As a team, we're excited to be shipping this as this will fix many of the issues we faced with the old system + give more visibility to users via the API and web UI.
I have the same problem. App ID : 5a0d8271-1624-4fdb-847f-ffa194228762
Currently still in training after 4 days? App ID: 5af55db6-a9c2-44ad-8188-64168d710584
I am experiencing the "stuck in training" issue again. APP ID: 5b295ca1-192e-4b3f-9077-5a21398ef46e . I did not experience that issue for the last two days, but it started again today.
Thanks for the patience everyone! We've recently deployed new infra on this, which though it's painful now will become much more robust in the feature. I'll reopen this for now, and keep addressing training issues until we get to a full fix
Our app -> 583273ad-575f-4ad3-a801-fe95d236ce57 is back in the slow training loop when we added a single keyword. We are getting responses, very slowly, from previous keywords and intents, but if we use the new keyword, it never responds.
just restarted your training.
@l5t can you tell me what's triggering it? It's back in the loop again, and I was just testing things it was already trained on.
Hey team, this week we landed an update to the UI, which should show you much more information for training. This includes:
- The Training State:
- Is it scheduled? If yes, the time it is scheduled to train
- Is the training happening now? If yes, the time it took to train your app last time
This can help bring more clarity to errors here. If training is scheduled too far into the future for your app for example. Or, if it is ongoing, and it says the last time it took 20 seconds, but you see it much longer, we know there's some bug.
Please include what you see on that state
