Error on running out of sample sampling

Thank you. I tried that and got this error. Still trying to work the issue.

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/tmp/ipykernel_5902/588633001.py in <module>
     46                        'monthly_m_': test_monthly_fourier,
     47                        'eaches':eaches_test}, model = partial_pooled_model)
---> 48 test_ppc = pm.sample_posterior_predictive(trace, partial_pooled_model,keep_size=False)

/opt/conda/lib/python3.7/site-packages/pymc/sampling.py in sample_posterior_predictive(trace, samples, model, var_names, keep_size, random_seed, progressbar, return_inferencedata, extend_inferencedata, predictions, idata_kwargs, compile_kwargs)
   1874 
   1875     assert samples is not None
-> 1876     if samples < len_trace * nchain:
   1877         warnings.warn(
   1878             "samples parameter is smaller than nchains times ndraws, some draws "

TypeError: '<' not supported between instances of 'Model' and 'int'