mlx.core.new_stream# new_stream(device: Device) → Stream# Make a new stream on the given device. The stream can only be used on the thread where it was created on, using it in any other thread would result in errors.