Publishing a casting model: what it took to make the weights runnable
The solidification surrogate behind castsolid-gnn is now public under Apache-2.0, weights included. I had expected that to be an afternoon of uploading a checkpoint. It was not. The model had lived in my training setup for months, and a training checkpoint is not something a stranger can run. Here is what stood between the checkpoint and a model someone else can use. A checkpoint carries the training rig with it My internal artifacts were a PyTorch .pt file and two scikit-learn models saved with joblib. All three were written by my own code and read by my own code, so they were full of assumptions I had stopped seeing: how features were normalized, what the architecture config was, which node ordering the mesh used, which scikit-learn version wrote the file. ...