-
Hi all, I implemented SVD-based precoding in Sionna, but encountered the issue which I'm struggling to resolve. However, when running the code I encountered the error: I found that when disable XLA optimization for all the code
everything works well. Thus I have a question is there any other way to disable optimization for SVD while keeping the rest of the code with XLA. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! You can in principle put decorators around any part of the model you want. But you cannot put an XLA decorator around the entire model and then selectively exclude parts of the graph from it. So you would need to decorate specific components, e.g., the channel model and the receiver. You could also try to implement SVD in a different manner. If an eigen decomposition would be sufficient, you could use tf.linalg.eigh which works with XLA. I am guessing that you might only need either
|
Beta Was this translation helpful? Give feedback.
Hi!
You can in principle put decorators around any part of the model you want. But you cannot put an XLA decorator around the entire model and then selectively exclude parts of the graph from it. So you would need to decorate specific components, e.g., the channel model and the receiver.
You could also try to implement SVD in a different manner. If an eigen decomposition would be sufficient, you could use tf.linalg.eigh which works with XLA. I am guessing that you might only need either
u
orv
. You could then probably do something like this: