Correct the settings
in https://gitlab.inria.fr/scripta/escriptorium/-/blob/master/app/escriptorium/settings.py#L314
We need to change:
KRAKEN_TRAINING_DEVICE = os.getenv('KRAKEN_TRAINING_DEVICE', 'cpu')
KRAKEN_TRAINING_LOAD_THREADS = int(os.getenv('KRAKEN_TRAINING_LOAD_THREADS', 0))
to
KRAKEN_TRAINING_DEVICE = os.getenv('KRAKEN_TRAINING_DEVICE', 'gpu')
KRAKEN_TRAINING_LOAD_THREADS = int(os.getenv('KRAKEN_TRAINING_LOAD_THREADS', 64))
And try to see if it makes training faster (it should) and simply, if it works. This setting is only valid for "traces6" since "lectaurep.inria.paris.fr" doesn't have any gpu.
Why 64? Because... dh-projects/kraken-models#3 (comment 403658)