Skip to content

data_parallel_intro notebook show array device command prompt error #153

Open
@stayyule

Description

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

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions