In order to keep the build healthy, I am adding an ignore for this identified security vulnerability:
https://bandit.readthedocs.io/en/1.7.10/plugins/b704_pytorch_load_save.html
But the follow-up should be to add a dependency for safetensors and use it for loading and saving model weights.