codelabs
codelabs copied to clipboard
Concrete function generation (for tflite) no longer works with new tensorflow and keras_nlp packages
## Expected Behavior The below code segment should run: ``` @tf.function def generate(prompt, max_length): return gpt2_lm.generate(prompt, max_length) concrete_func = generate.get_concrete_function(tf.TensorSpec([], tf.string), 100) ``` ## Actual Behavior Error: ``` Traceback (most...
Related issue: https://github.com/google/jax/issues/15627 Test=https://colab.sandbox.google.com/github/zehuiw/codelabs/blob/tflite-jax-colab/ODML/jax_to_tflite.ipynb After this colab is checked in, I will update the tutorials on tensorflow.org and link this colab.
_This issue was automatically created by [Allstar](https://github.com/ossf/allstar/)._ **Security Policy Violation** Project is out of compliance with Binary Artifacts policy: binaries present in source code **Rule Description** Binary Artifacts are an...
Bumps [webpack](https://github.com/webpack/webpack) from 5.69.1 to 5.94.0. Release notes Sourced from webpack's releases. v5.94.0 Bug Fixes Added runtime condition for harmony reexport checked Handle properly data/http/https protocols in source maps Make...
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 6.0.0 to 6.0.2. Release notes Sourced from serialize-javascript's releases. v6.0.2 fix: serialize URL string contents to prevent XSS (#173) f27d65d Bump @babel/traverse from 7.10.1 to 7.23.7 (#171)...