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

Error with putting arrays on CPU in cloud TPUs #101

Open
philippe-eecs opened this issue Apr 29, 2024 · 1 comment
Open

Error with putting arrays on CPU in cloud TPUs #101

philippe-eecs opened this issue Apr 29, 2024 · 1 comment

Comments

@philippe-eecs
Copy link

Hi I've been setting up big vision on a v4-32 TPU pod and I run into this error whenever I call u.put_cpu

jaxlib.xla_extension.XlaRuntimeError: INVALID_ARGUMENT: Cannot copy array to non-addressable device TFRT_CPU_0

I'm guessing the CPUs on the TPU pod aren't configured properly? Is there a way around this or a way to fix this issue?

Totally new to TPUs and let me know if you need more information.

@akolesnikoff
Copy link
Contributor

Sorry for the late reply.

How old is the big_vision repo you were using? We had a bug that could explain what you see, but it was fixed around 5 months ago in this commit: 7ace659#diff-bbdd9ea1455413f6aebc74dfed68d82d42c74acc63e722e09fa9015c908b9150.

If you used the code past that version, I recommend getting a minimal reproduction and perhaps asking in the main Jax GitHub.

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

No branches or pull requests

2 participants