Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRU Prediction + Gradient Optimizer XLA Incompatible #20

Open
frehe opened this issue Nov 30, 2022 · 1 comment
Open

GRU Prediction + Gradient Optimizer XLA Incompatible #20

frehe opened this issue Nov 30, 2022 · 1 comment

Comments

@frehe
Copy link
Member

frehe commented Nov 30, 2022

Running the control breaks when running on the CartPoleSimulator:

  • MPC Controller
  • A gradient optimizer (tensorflow)
  • GRU prediction model
  • XLA (JIT) compilation mode
@frehe
Copy link
Member Author

frehe commented Nov 30, 2022

The problem is that there is some transpose operation when doing the GRU prediction, which XLA cannot intepret at compile time, probably because it cannot predict the dimensions after applying that op. But would need further digging to find the line of code where this is happening

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant