I've identified a problem in the EncoderDecoderConfig class within the architecture module of the torchscale package.
The EncoderDecoderConfig class currently does not contain the normalize_output element. This missing element is causing some functionality of the package to not work as expected. Specifically, when the EncoderDecoder class is used with a EncoderDecoderConfig object, the lack of the normalize_output element can lead to incorrect behavior.
I recommend adding the normalize_output element to the EncoderDecoderConfig class. I believe that this change will resolve the issue and make the EncoderDecoder class function as expected.
Furthermore, I have added a new GitHub Action in pull request #31 to help prevent issues like this in the future.
I've identified a problem in the
EncoderDecoderConfig
class within thearchitecture
module of thetorchscale
package.The
EncoderDecoderConfig
class currently does not contain thenormalize_output
element. This missing element is causing some functionality of the package to not work as expected. Specifically, when theEncoderDecoder
class is used with aEncoderDecoderConfig
object, the lack of thenormalize_output
element can lead to incorrect behavior.I recommend adding the
normalize_output
element to theEncoderDecoderConfig
class. I believe that this change will resolve the issue and make theEncoderDecoder
class function as expected.Furthermore, I have added a new GitHub Action in pull request #31 to help prevent issues like this in the future.