Revert "[dynamo] generalization"

This reverts commit b92876edbb4b8a0c5d9cfd01f55a80e3ff34945a.
Revert "[dynamo]generalization"

This reverts commit ba7b9ec673f6fbbef90919ed217ca7da1605cc5e.