Please the following post here with some information:
The easiest way is to set up a slimmed down version of your training script with just an inferencer in it and a dataset of the cases you want to test on (then use solver.eval()).
The ov.py in inferencers has some more direct inference methods that avoid the use of the Modulus trainer which could be useful if you prefer a more traditional PyTorch inference script.