# Inference without explicitly adding gp.conditional() when running sample\_posterior\_predictive

**URL:** <https://discourse.pymc.io/t/inference-without-explicitly-adding-gp-conditional-when-running-sample-posterior-predictive/15948>\
**Category:** General\
**Created:** [October 11, 2024, 4:26am UTC](https://discourse.pymc.io/t/inference-without-explicitly-adding-gp-conditional-when-running-sample-posterior-predictive/15948 "2024-10-11T04:26:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yamaguchi](https://avatars.discourse-cdn.com/v4/letter/y/c2a13f/32.png) [@Yamaguchi](https://discourse.pymc.io/u/Yamaguchi)\
**Post date:** [October 11, 2024, 4:26am UTC](https://discourse.pymc.io/t/inference-without-explicitly-adding-gp-conditional-when-running-sample-posterior-predictive/15948/1 "2024-10-11T04:26:01Z")

</div>

Hi all,

When using a class like pymc.gp.Latent, I want to perform inference without explicitly adding gp.conditional() when running sample\_posterior\_predictive.  
Can this be done with current pymc?

I would be thankful if you could help me with this question.
