I'm working on a simple training example with functorch, and the graph generated by make_fx seems to be embedding the passed in arguments and returning them rather than actually taking in the arguments from the user.
Note the same values being returned regardless of what is passed in as an argument. Also note the return of the embedded constant in the module's graph:
I'm working on a simple training example with functorch, and the graph generated by
make_fx
seems to be embedding the passed in arguments and returning them rather than actually taking in the arguments from the user.Here's the repro:
And here's the output:
Note the same values being returned regardless of what is passed in as an argument. Also note the return of the embedded constant in the module's graph: