-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Eliminate the CI warnings caused from the migration of gelu activation in TensorFlow #8063
Conversation
It seems that the gelu function was moved from the addons to the core of tensorflow. The warnings come because we are still using it from the addons package, and they warn us that it will be gone soon. So potentially we just need to stop using the gelu function from the addon package and instead use the gelu function that you mentioned Is this helpful and gives you new ideas? @Imod7 |
I tried to call the
For |
Try to figure out if it is already there in the version of tensorflow we are using at the moment. Is it somewhere else in our version? If not, what's the minimum version that we would need to upgrade to? Who is most concerned with the tf version? Do they already have plans to upgrade? Do they see issues with upgrading? |
@twerkmeister very good feedback and very good "important-things-to-have-in-mind" type of questions! 💯 Thank you! |
You can find it here https://github.com/RasaHQ/rasa/blob/main/poetry.lock |
@twerkmeister @wochinge You were both right! 💯
So, that is why the "If not, what's the minimum version that we would need to upgrade to?" "Who is most concerned with the tf version? Do they already have plans to upgrade? Do they see issues with upgrading?" |
Do you have concerns updating TensorFlow @Ghostvv @dakshvar22 @koernerfelicia ? From what I gather we'd also need to update the following for these:
|
Unfortunately afaik our update is blocked by a bug in tensorflow. TF said they plan to fix this for the 2.5 release |
@koernerfelicia Do you know if the 2.4 branch also fixes above warnings? |
Not sure, @Ghostvv might know? If not, I can try and checkout the 2.4 branch and see what happens. Also, to be clear and avoid misunderstandings, TF doesn't expect to fix the bug I mentioned above for 2.4, so our update will not happen until 2.5 |
I don't know about the warnings |
@twerkmeister @Imod7 I'd suggest to apply your fix to research's |
Thanx @wochinge Ok then I will change the source branch from I guess this standard warning message (while trying to change source branch) |
How are you changing the source branch? You got two options:
|
Ok, then I can go with the second option! However, if you |
This doesn't change your branch and the commits on it at all. It just changes the target of the pull request. Example: If you now do a PR against |
Description:
This PR is part of the effort to close this Issue#7738 hence to reduce the amount of warnings that are raised when running all tests in the CI. From the first investigation, it seems that this warning (
DeprecationWarning: gelu activation has been migrated to core TensorFlow
) for which the current PR was opened, has the most occurrences (it appears in total in 2142 tests as seen in the log file below).Potential related issues/PRs to this migration:
Warnings as they appear in the CI log file (3_Run Tests (ubuntu-latest, 3.8).txt):
Proposed changes:
gelu activation
is called. So if an update is done, these are the calls (at least these ones) that will need to be updated.Status (please check what you already did):
black
(please check Readme for instructions)