This repository was archived by the owner on May 6, 2025. It is now read-only.

Description
Hello,
When I try to compute the NTK of a model with an embedding layer, I get the following warning:
/usr/local/lib/python3.10/dist-packages/neural_tangents/_src/empirical.py:2215: UserWarning: No Jacobian rule found for gather.
warnings.warn(f'No Jacobian rule found for {primitive}.')
And ntk computation fails, due to OOM errors. This is a reproduction:
https://colab.research.google.com/drive/1Z8ClXo85VjNEoKmWYHsS5dNccZ-Xf_JS?usp=sharing