-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
jit_compile control in BaseImageAugmentationLayer
#1541
Comments
Triage notes:
|
What was the logic to expose this in model compile instead? |
I suppose that if we already let the user to |
/cc @qlzh727 @LukeWood
A sort of "fallback" is something different in XLA and it is light outside (GPU only) that it require to be implemented for every op in TF2XLA that you use in your implementation (then a CPU/TPU HLO implementation it is still required if you want to jit_compile on these devices). As I am quite brand new to XLA internals /cc @cheshire in the case he want to add some advise. |
From Keras 3, |
Is it binary for the library user? e.g. whole model compile or nothing? |
From the doc: https://keras.io/api/models/model_training_apis/
|
But here we were talking about |
Please check and close the issue if there is no question. Thanks |
As |
This is just a follow-up of
keras-team/keras-cv#165 (comment)
@qlzh727 What do you think about adding an extra parameter to the base class for jit_compile?
https://github.com/keras-team/keras/blob/master/keras/layers/preprocessing/image_preprocessing.py#L413-L414
So that we could optionally use something like:
The text was updated successfully, but these errors were encountered: