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

data_parallel_intro notebook show array device command prompt error #153

Open
stayyule opened this issue Jan 2, 2025 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@stayyule
Copy link

stayyule commented Jan 2, 2025

Tutorial: scaling/JAX

Describe the bug
When running a.device()
TypeError: 'Device' object is not callable
a.device() is not callable, a.devices() or a.device is working.

To Reproduce (if any steps necessary)
Steps to reproduce the behavior:

  1. Go to /scaling/JAX/data_parallel_intro.ipynb
  2. Run command block Bump pygments from 2.4.2 to 2.7.4 in /docs #4

Expected behavior
Show device name of the array

Screenshots
Screenshot 2025-01-02 134300

Runtime environment (please complete the following information):

  • Local computer
  • Run on CPU only
@stayyule stayyule added the bug Something isn't working label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants