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

times grid bug (XLA) #81

Open
a17brah opened this issue Oct 7, 2022 · 1 comment
Open

times grid bug (XLA) #81

a17brah opened this issue Oct 7, 2022 · 1 comment

Comments

@a17brah
Copy link

a17brah commented Oct 7, 2022

Hi,

I noticed a problem with the time grid in euler_sample when XLA compilation (with dynamic shape for times) is used.

image

https://colab.research.google.com/drive/1kg8RChmJ3TxdONBHE1lIdCAmZKIXwGcY#scrollTo=pohADCcoTZMh

Thank you

@a17brah a17brah changed the title times grid error with XLA times grid bug (XLA) Oct 7, 2022
@cyrilchim
Copy link
Contributor

Hi,

Thanks for reporting. This is related to the way XLA deals with dynamic shapes. I'll update once fixed. You can use num_time_steps instead of time_step in process.sample_paths for now.

Cyril

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

2 participants