Skip to content

ShardedDeviceArray access should be threadsafe #2759

@skye

Description

@skye

This used to be the case, but I broke it in 07571ae here: https://github.com/google/jax/blob/master/jax/interpreters/pxla.py#L499 (self._npy_value may be accessed by another thread before it's populated). I'm planning to fix this today or Monday.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions