mlx.core.config.scoped_update

Contents

mlx.core.config.scoped_update#

scoped_update(**configs: int) → ScopedUpdate#

Create a context manager to set configurations for current thread.

See Environment Variables for available configurations.

Parameters:

**configs (dict(str, int)) – Configuration names and values as keyword arguments.