How can I train a model with TVM?

As far as I know, TVM is not focussed on training right now, though in theory it could be adapted for it.

You can see earlier threads discussing the topic [thread 1, thread 2]

Facebook was working on a PyTorch+TVM integration for a while that could accelerate training, but the project is archived now.

As thread 2 shows, OctoML is working on something, but afaik it’s not polished and available yet.

You can also see there are some talks at this years TVM Conference 2021 (Dec 15th-17th) which discuss training.