Download code/offload/dspark/spark/remote_dspark/__init__.py from ProprietaryLegal/dsv41-sampled-drafting: direct link, hf CLI and curl.
- Browser
- Download file 683 Bytes
-
https://huggingface.co/ProprietaryLegal/dsv41-sampled-drafting/resolve/main/code/offload/dspark/spark/remote_dspark/__init__.py
- Command line
-
hf download hf://ProprietaryLegal/dsv41-sampled-drafting/code/offload/dspark/spark/remote_dspark/__init__.py
-
curl -L -o __init__.py https://huggingface.co/ProprietaryLegal/dsv41-sampled-drafting/resolve/main/code/offload/dspark/spark/remote_dspark/__init__.py
683 Bytes
| # SPDX-License-Identifier: Apache-2.0 | |
| """Remote DSpark drafter, Spark side (DSV41-OFFLOAD lane O3). | |
| Selected only by VLLM_DSPARK_REMOTE (see config.py); with it unset the image's own | |
| speculator runs unchanged. Contract: offload/dspark/CONTRACT.md. Modules: | |
| wire message codec (no torch) state window/slot bookkeeping (no torch) | |
| transport TCP stub + transport API o1_adapter lane O1's ofl library | |
| client session / HELLO / STEP config environment | |
| gather rank-0 row gather, ring, staging (torch) | |
| speculator the vLLM speculators (capacity / resilience / shadow) | |
| mock_worker reference worker for tests (and for lane O2) | |
| """ | |