Download src/crayon/concurrency/__init__.py from Xerv-AI/CRAYON-tokenizer: direct link, hf CLI and curl.
- Browser
- Download file 474 Bytes
-
https://huggingface.co/Xerv-AI/CRAYON-tokenizer/resolve/main/src/crayon/concurrency/__init__.py
- Command line
-
hf download hf://Xerv-AI/CRAYON-tokenizer/src/crayon/concurrency/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Xerv-AI/CRAYON-tokenizer/resolve/main/src/crayon/concurrency/__init__.py
474 Bytes
| """ | |
| Crayon Concurrency Module. | |
| This module implements the high-throughput parallelization strategies described in | |
| Section 7 of the XERV Crayon Engineering Treatise. It includes: | |
| 1. Pipeline Architecture (Instruction-level parallelism concept applied to tokenization) | |
| 2. Thread-Local Isolation (GIL-aware resource management) | |
| """ | |
| from .pipeline import PipelineTokenizer | |
| from .thread_local import ThreadLocalTokenizer | |
| __all__ = ["PipelineTokenizer", "ThreadLocalTokenizer"] |