Open rkooo567 opened 2 months ago
@rkooo567 can you elaborate? I'm not sure from the example what you mean. Which line in the example shows the issue?
@stephanie-wang it looks like if we pass a tuple as an argument everything other than dag ref is ignored (in this case i, activations.append((actor.g.bind(inp), i))
)
Oh got it, thanks! Hmm should we just disallow passing DAG ref inside other data structures for now? Otherwise I guess the other option is to serialize with placeholders for the DAG refs and then deserialize for each DAG invocation.
What happened + What you expected to happen
not sure if it is intended. But we cannot pass non-dag-value to be an input of other dag.
Versions / Dependencies
master
Reproduction script
Issue Severity
None