spaCy/website/docs/api
Daniël de Kok 1f05f56433
Add the spacy.models_with_nvtx_range.v1 callback (#9124)
* Add the spacy.models_with_nvtx_range.v1 callback

This callback recursively adds NVTX ranges to the Models in each pipe in
a pipeline.

* Fix create_models_with_nvtx_range type signature

* NVTX range: wrap models of all trainable pipes jointly

This avoids that (sub-)models that are shared between pipes get wrapped
twice.

* NVTX range callback: make color configurable

Add forward_color and backprop_color options to set the color for the
NVTX range.

* Move create_models_with_nvtx_range to spacy.ml

* Update create_models_with_nvtx_range for thinc changes

with_nvtx_range now updates an existing node, rather than returning a
wrapper node. So, we can simply walk over the nodes and update them.

* NVTX: use after_pipeline_creation in example
2021-10-20 11:59:48 +02:00
..
architectures.md Minor updates to spacy-transformers docs for v1.1.0 (#9496) 2021-10-18 14:55:02 +02:00
attributeruler.md Update docs [ci skip] 2020-10-09 10:36:06 +02:00
cli.md Doc fixes in convert API (#9350) 2021-10-06 13:13:18 +09:00
corpus.md Integrate file readers 2020-10-02 01:36:06 +02:00
cython-classes.md Update docs, types and API consistency 2020-08-17 16:45:24 +02:00
cython-structs.md Update docs, types and API consistency 2020-08-17 16:45:24 +02:00
cython.md Update docs [ci skip] 2020-09-12 17:05:10 +02:00
data-formats.md Add notes on preparing training data to docs (#8964) 2021-08-16 17:37:21 +02:00
dependencymatcher.md doc fixes 2020-09-12 17:38:54 +02:00
dependencyparser.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
doc.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
docbin.md Fix point typo on docbin docs (#9097) 2021-08-31 10:55:44 +02:00
entitylinker.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
entityrecognizer.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
entityruler.md 🏷 Add Mypy check to CI and ignore all existing Mypy errors (#9167) 2021-10-14 15:21:40 +02:00
example.md Extend score_spans for overlapping & non-labeled spans (#7209) 2021-04-08 12:19:17 +02:00
index.md Update v3 docs 2020-07-03 16:48:21 +02:00
kb.md Tidy up docs 2021-06-28 12:08:15 +02:00
language.md 🏷 Add Mypy check to CI and ignore all existing Mypy errors (#9167) 2021-10-14 15:21:40 +02:00
legacy.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
lemmatizer.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
lexeme.md fix 's typo's across code base (#8384) 2021-06-15 10:57:08 +02:00
lookups.md Update docs, types and API consistency 2020-08-17 16:45:24 +02:00
matcher.md Support list values and INTERSECTS in Matcher (#8784) 2021-08-02 19:39:26 +02:00
morphologizer.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
morphology.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
phrasematcher.md 🏷 Add Mypy check to CI and ignore all existing Mypy errors (#9167) 2021-10-14 15:21:40 +02:00
pipe.md adding new="3" mentions in the doc 2021-01-29 11:26:37 +01:00
pipeline-functions.md Remove transformers model max length section (#6807) 2021-01-25 19:59:34 +08:00
scorer.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
sentencerecognizer.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
sentencizer.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
span.md fix docs for Span constructor arguments (#9023) 2021-08-25 16:06:22 +02:00
spancategorizer.md 🏷 Add Mypy check to CI and ignore all existing Mypy errors (#9167) 2021-10-14 15:21:40 +02:00
spangroup.md Warn and document spangroup.doc weakref (#8980) 2021-08-20 11:06:19 +02:00
stringstore.md Update docs, types and API consistency 2020-08-17 16:45:24 +02:00
tagger.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
textcategorizer.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
tok2vec.md Tidy up docs 2021-06-28 12:08:15 +02:00
token.md Fix UD POS docs links (fix #9013) (#9407) 2021-10-11 11:51:19 +02:00
tokenizer.md Tidy up docs 2021-06-28 12:08:15 +02:00
top-level.md Add the spacy.models_with_nvtx_range.v1 callback (#9124) 2021-10-20 11:59:48 +02:00
transformer.md Update docs for spacy-transformers v1.1 data classes (#9361) 2021-10-18 14:16:58 +02:00
vectors.md Document Assigned Attributes of Pipeline Components (#9041) 2021-09-01 12:09:39 +02:00
vocab.md 🏷 Add Mypy check to CI and ignore all existing Mypy errors (#9167) 2021-10-14 15:21:40 +02:00