Metadata-Version: 2.1
Name: spacy_ray
Version: 0.1.4
Summary: Parallel and distributed training with spaCy and Ray
Home-page: https://spacy.io
Author: Explosion
Author-email: contact@explosion.ai
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

<a href="https://explosion.ai"><img src="https://explosion.ai/assets/img/logo.svg" width="125" height="125" align="right" /></a>

# spacy-ray: Parallel and distributed training with spaCy and Ray

> ⚠️ This repo is still a work in progress and requires the new **spaCy v3.0**.

[Ray](https://ray.io/) is a fast and simple framework for building and running **distributed applications**. This very lightweight extension package lets you use Ray for parallel and distributed training with [spaCy](https://spacy.io). If `spacy-ray` is installed in the same environment as spaCy, it will automatically add `spacy ray` commands to your spaCy CLI.

The main command is `spacy ray train` for
parallel and distributed training, but we expect to add `spacy ray pretrain` and `spacy ray parse` as well.

[![Azure Pipelines](https://img.shields.io/azure-devops/build/explosion-ai/public/19/master.svg?logo=azure-pipelines&style=flat-square)](https://dev.azure.com/explosion-ai/public/_build?definitionId=19)
[![Current Release Version](https://img.shields.io/github/v/release/explosion/spacy-ray.svg?include_prereleases&sort=semver&style=flat-square&logo=github)](https://github.com/explosion/spacy-ray/releases)
[![PyPi Version](https://img.shields.io/pypi/v/spacy-ray.svg?include_prereleases&sort=semver&style=flat-square&logo=pypi&logoColor=white)](https://pypi.python.org/pypi/spacy-ray)

## 🚀 Quickstart

You can install `spacy-ray` from pip:

```bash
pip install spacy-ray
```

To check if the command has been registered successfully:

```bash
python -m spacy ray --help
```

Train a model using the same API as `spacy train`:

```bash
python -m spacy ray train config.cfg --n-workers 2
```


