RuntimeError: NoParametersFound

The compiler issues the RuntimeError: NoParametersFound exception when the model that you compile is not FHE compatible. This is usually caused by compiling neural networks or linear models with too many parameters using high bit-width quantization.

Two solutions can help you avoid this error :

  • reduce the connectivity of the neurons in your NN model or to lower the number of parameters of your linear model (through PCA for example).
  • reduce the quantization bitwidth (typically the n_bits parameter of Concrete ML models)