# What are the basis of this warning: \[DynamicPPL\] attempt to link a linked vi?

**URL:** https://discourse.julialang.org/t/what-are-the-basis-of-this-warning-dynamicppl-attempt-to-link-a-linked-vi/98919
**Category:** New to Julia
**Tags:** question, warning, turing
**Created:** [May 16, 2023, 9:10am UTC](https://discourse.julialang.org/t/what-are-the-basis-of-this-warning-dynamicppl-attempt-to-link-a-linked-vi/98919 "2023-05-16T09:10:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sahil\_Khan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sahil_khan/32/47573_2.png) [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)
#### Post date: [May 16, 2023, 9:10am UTC](https://discourse.julialang.org/t/what-are-the-basis-of-this-warning-dynamicppl-attempt-to-link-a-linked-vi/98919/1 "2023-05-16T09:10:35Z")

</div>

I’m stuck because of this warning for several days now. I don’t see any obvious issue in my code. I have been through posts, one of recommendation was to use **Turing.setadbackend(:zygote)** though it didn’t work for me. I’m still facing the issue.

Can someone explain its basis why we see this warning while inference?

---

<div class="post-metadata">

### Author: ![lrnv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lrnv/32/19373_2.png) [@lrnv](https://discourse.julialang.org/u/lrnv)
#### Post date: [May 16, 2023, 9:29am UTC](https://discourse.julialang.org/t/what-are-the-basis-of-this-warning-dynamicppl-attempt-to-link-a-linked-vi/98919/2 "2023-05-16T09:29:02Z")

</div>

It will be very hard to help you without having a piece of code to run. Could you design a simple minimal working exemple that produces the error you are refering to ?

---

<div class="post-metadata">

### Author: ![Sahil\_Khan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sahil_khan/32/47573_2.png) [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)
#### Post date: [May 16, 2023, 10:22am UTC](https://discourse.julialang.org/t/what-are-the-basis-of-this-warning-dynamicppl-attempt-to-link-a-linked-vi/98919/3 "2023-05-16T10:22:58Z")

</div>

Thanks for your reply !!

Issue is that I cant share the code and for building a small example I must first know basis of warning. Thats why I’m asking what it even mean : attempt to link a linked vi?
