XlaLaunch and xla.compile()

32 views
Skip to first unread message

Moshe Maor

unread,
Nov 9, 2021, 5:05:19 AM11/9/21
to XLA development
Hi all, 
It seems like XlaLaunch XLA op is used only when the script is using the python xla.compile() method. Is that correct? 
Also, it seems like xla.compile() is not required for the regular XLA flows of either autoclustering or forced compilation of a tf.function. 
Actually it seems like only some internal TF testing are using xla.compile()
Is that correct? 
If so - are these will eventually get deprecated? 
Thanks,
Moshe 

George Karpenkov

unread,
Nov 11, 2021, 10:48:12 PM11/11/21
to Moshe Maor, XLA development
Hi Moshe,

xla.compile is already marked as deprecated, jit_compile=True is the preferred alternative.

George

--
You received this message because you are subscribed to the Google Groups "XLA development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xla-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xla-dev/c3e64803-7e85-4e19-a640-1451026a02c6n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages