Skip to content
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

JAX Backend: Convolutional Layer Kernel Deleted During Training with RematScope #20936

Open
divyashreepathihalli opened this issue Feb 20, 2025 · 0 comments
Assignees
Labels

Comments

@divyashreepathihalli
Copy link
Collaborator

When using the JAX backend with version 0.4.28, I'm encountering an "Array has been deleted" error during training when a convolutional layer is placed within a RematScope. The deleted array is the convolutional kernel (weights) of the layer.

This issue seems to be specific to convolutional layers, as using a dense layer within the RematScope works without errors. The training function is already jit-compiled.

JAX version: 0.4.28
Link to failed invocation: https://btx.cloud.google.com/invocations/d2e33ea2-b22c-44ad-8eb8-ca105455c926/targets/keras%2Fgithub%2Fubuntu%2Fgpu%2Fjax%2Fpresubmit/log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants