For an experiment to output a model in the Gradient system the resulting model files need to be written to the specified or default model path.
Using the PS_MODEL_PATH environment variable is the easiest way to make sure you are outputting to the correct location.
model_dir = os.path.abspath(os.environ.get('PS_MODEL_PATH'))# You can also use gradient_sdk:from gradient_sdk.utils import model_dir
--modelPath /artifacts is currently the default for singlenode experiments. Output your model files there to appear in your Model Repository so that you can deploy it using Deployments
Multinode: The default model path for multinode experiments is /storage/models/<experiment_id>/