-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Describe the bug
When trying to stitch multiple Deeploy generated modules together, each of them should have their own DeeployNetwork_MEMORYARENA_L1/2/3, DeeployNetwork_input_0/1/2... and DeeployNetwork_output_0/1/2.... Compiler confused these variables from different module and mistakenly share them, leading to the later initialized networks modify these variables from earlier initialized modules. They should be set to static variable.
To Reproduce
Integrate two Deeploy generated modules with different input/output offset. Initialze them one by one. We can see the second initialzied module will modfiy the DeeployNetwork_input_0 variable in the first initialzied module.
Expected behavior
These variable should be isolated in different Deeploy generated modules. They should be set as static.
Additional context
No.