drop TF1 vernacular, relax TF/Keras and Torch requirements…

- do not restrict TF version, but depend on tf-keras and
  set `TF_USE_LEGACY_KERAS=1` to avoid Keras 3 behaviour
- relax Numpy version requirement up to v2
- relax Torch version requirement
- drop TF1 session management code
- drop TF1 config in favour of TF2 config code for memory growth
- training.*: also simplify and limit line length
- training.train: always train with TensorBoard callback
This commit is contained in:
Robert Sachunsky 2026-01-20 04:18:55 +01:00
parent e2754da4f5
commit 3c3effcfda
8 changed files with 289 additions and 294 deletions

View file

@ -1,2 +1,2 @@
torch <= 2.0.1
torch
transformers <= 4.30.2