The Python package is currently written to use different default flags compared to the main tpplc compiler. In particular, the default inference method is smc-bpf, and its resample option is set to aligned. Unfortunately --resample is not valid for non-smc inference methods, and the Python code always adds --resample if the user didn't specify it, which the tpplc compiler complains about.