clean: remove pytest cache and egg-info from HF
Browse files- .pytest_cache/.gitignore +0 -2
- .pytest_cache/CACHEDIR.TAG +0 -4
- .pytest_cache/README.md +0 -8
- .pytest_cache/v/cache/lastfailed +0 -1
- .pytest_cache/v/cache/nodeids +0 -82
- src/uraionspec.egg-info/PKG-INFO +0 -22
- src/uraionspec.egg-info/SOURCES.txt +0 -35
- src/uraionspec.egg-info/dependency_links.txt +0 -1
- src/uraionspec.egg-info/requires.txt +0 -16
- src/uraionspec.egg-info/top_level.txt +0 -1
.pytest_cache/.gitignore
DELETED
|
@@ -1,2 +0,0 @@
|
|
| 1 |
-
# Created by pytest automatically.
|
| 2 |
-
*
|
|
|
|
|
|
|
|
|
.pytest_cache/CACHEDIR.TAG
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
Signature: 8a477f597d28d172789f06886806bc55
|
| 2 |
-
# This file is a cache directory tag created by pytest.
|
| 3 |
-
# For information about cache directory tags, see:
|
| 4 |
-
# https://bford.info/cachedir/spec.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.pytest_cache/README.md
DELETED
|
@@ -1,8 +0,0 @@
|
|
| 1 |
-
# pytest cache directory #
|
| 2 |
-
|
| 3 |
-
This directory contains data from the pytest's cache plugin,
|
| 4 |
-
which provides the `--lf` and `--ff` options, as well as the `cache` fixture.
|
| 5 |
-
|
| 6 |
-
**Do not** commit this to version control.
|
| 7 |
-
|
| 8 |
-
See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.pytest_cache/v/cache/lastfailed
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
{}
|
|
|
|
|
|
.pytest_cache/v/cache/nodeids
DELETED
|
@@ -1,82 +0,0 @@
|
|
| 1 |
-
[
|
| 2 |
-
"tests/test_acceptance.py::TestAcceptanceRule::test_all_accepted",
|
| 3 |
-
"tests/test_acceptance.py::TestAcceptanceRule::test_batch_independence",
|
| 4 |
-
"tests/test_acceptance.py::TestAcceptanceRule::test_bonus_token_exists",
|
| 5 |
-
"tests/test_acceptance.py::TestAcceptanceRule::test_empty_block",
|
| 6 |
-
"tests/test_acceptance.py::TestAcceptanceRule::test_first_rejected",
|
| 7 |
-
"tests/test_acceptance.py::TestAcceptanceRule::test_partial_acceptance",
|
| 8 |
-
"tests/test_acceptance.py::TestExpectedAcceptLength::test_completely_wrong",
|
| 9 |
-
"tests/test_acceptance.py::TestExpectedAcceptLength::test_perfect_match",
|
| 10 |
-
"tests/test_backbone.py::TestDFlashAttention::test_forward_shape",
|
| 11 |
-
"tests/test_backbone.py::TestDFlashAttention::test_gqa_forward",
|
| 12 |
-
"tests/test_backbone.py::TestDFlashAttention::test_gradient_flow",
|
| 13 |
-
"tests/test_backbone.py::TestDFlashAttention::test_with_mask",
|
| 14 |
-
"tests/test_backbone.py::TestDFlashBackbone::test_empty_draft",
|
| 15 |
-
"tests/test_backbone.py::TestDFlashBackbone::test_forward_shape",
|
| 16 |
-
"tests/test_backbone.py::TestDFlashBackbone::test_gradient_flow",
|
| 17 |
-
"tests/test_backbone.py::TestDFlashBackbone::test_many_layers",
|
| 18 |
-
"tests/test_backbone.py::TestDFlashBackbone::test_output_hidden_states",
|
| 19 |
-
"tests/test_backbone.py::TestDFlashBackbone::test_single_draft_token",
|
| 20 |
-
"tests/test_backbone.py::TestDFlashDecoderLayer::test_all_activations",
|
| 21 |
-
"tests/test_backbone.py::TestDFlashDecoderLayer::test_forward_shape",
|
| 22 |
-
"tests/test_backbone.py::TestDFlashDecoderLayer::test_residual_connection",
|
| 23 |
-
"tests/test_backbone.py::TestDSparkAttentionMask::test_context_attention",
|
| 24 |
-
"tests/test_backbone.py::TestDSparkAttentionMask::test_cross_block_no_attention",
|
| 25 |
-
"tests/test_backbone.py::TestDSparkAttentionMask::test_intra_block_attention",
|
| 26 |
-
"tests/test_backbone.py::TestDSparkAttentionMask::test_mask_shape",
|
| 27 |
-
"tests/test_markov_head.py::TestGatedMarkovHead::test_forward_shape",
|
| 28 |
-
"tests/test_markov_head.py::TestGatedMarkovHead::test_init",
|
| 29 |
-
"tests/test_markov_head.py::TestRNNHead::test_apply_block_logits",
|
| 30 |
-
"tests/test_markov_head.py::TestRNNHead::test_empty_block",
|
| 31 |
-
"tests/test_markov_head.py::TestRNNHead::test_init",
|
| 32 |
-
"tests/test_markov_head.py::TestRNNHead::test_step",
|
| 33 |
-
"tests/test_markov_head.py::TestVanillaMarkov::test_apply_block_logits",
|
| 34 |
-
"tests/test_markov_head.py::TestVanillaMarkov::test_apply_step_logits",
|
| 35 |
-
"tests/test_markov_head.py::TestVanillaMarkov::test_build_gated",
|
| 36 |
-
"tests/test_markov_head.py::TestVanillaMarkov::test_build_vanilla",
|
| 37 |
-
"tests/test_markov_head.py::TestVanillaMarkov::test_compute_step_bias",
|
| 38 |
-
"tests/test_markov_head.py::TestVanillaMarkov::test_get_prev_embeddings",
|
| 39 |
-
"tests/test_markov_head.py::TestVanillaMarkov::test_init",
|
| 40 |
-
"tests/test_markov_head.py::TestVanillaMarkov::test_sample_block_tokens_empty",
|
| 41 |
-
"tests/test_markov_head.py::TestVanillaMarkov::test_sample_block_tokens_greedy",
|
| 42 |
-
"tests/test_sampling.py::TestSampling::test_gather_token_probs",
|
| 43 |
-
"tests/test_sampling.py::TestSampling::test_logits_to_probs_greedy",
|
| 44 |
-
"tests/test_sampling.py::TestSampling::test_logits_to_probs_temperature",
|
| 45 |
-
"tests/test_sampling.py::TestSampling::test_sample_residual",
|
| 46 |
-
"tests/test_sampling.py::TestSampling::test_sample_residual_identical",
|
| 47 |
-
"tests/test_sampling.py::TestSampling::test_sample_tokens_2d",
|
| 48 |
-
"tests/test_sampling.py::TestSampling::test_sample_tokens_greedy",
|
| 49 |
-
"tests/test_sampling.py::TestSampling::test_sample_tokens_temperature",
|
| 50 |
-
"tests/test_scheduler.py::TestHardwareAwareScheduler::test_all_zero_confidence",
|
| 51 |
-
"tests/test_scheduler.py::TestHardwareAwareScheduler::test_monotonic_selection",
|
| 52 |
-
"tests/test_scheduler.py::TestHardwareAwareScheduler::test_multiple_requests",
|
| 53 |
-
"tests/test_scheduler.py::TestHardwareAwareScheduler::test_no_future_leakage",
|
| 54 |
-
"tests/test_scheduler.py::TestHardwareAwareScheduler::test_per_request_validity",
|
| 55 |
-
"tests/test_scheduler.py::TestHardwareAwareScheduler::test_single_request",
|
| 56 |
-
"tests/test_scheduler.py::TestStaticScheduler::test_fixed_length",
|
| 57 |
-
"tests/test_scheduler.py::TestStaticScheduler::test_fixed_length_zero",
|
| 58 |
-
"tests/test_scheduler.py::TestStaticScheduler::test_static_threshold",
|
| 59 |
-
"tests/test_scheduler.py::TestStaticScheduler::test_static_threshold_all_below",
|
| 60 |
-
"tests/test_scheduler.py::TestThroughputProfile::test_clamp_high",
|
| 61 |
-
"tests/test_scheduler.py::TestThroughputProfile::test_clamp_low",
|
| 62 |
-
"tests/test_scheduler.py::TestThroughputProfile::test_exact_lookup",
|
| 63 |
-
"tests/test_scheduler.py::TestThroughputProfile::test_interpolation",
|
| 64 |
-
"tests/test_shapes.py::TestConfidenceHeadShapes::test_accept_rate_shape",
|
| 65 |
-
"tests/test_shapes.py::TestConfidenceHeadShapes::test_confidence_head",
|
| 66 |
-
"tests/test_shapes.py::TestIntegration::test_draft_verify_cycle",
|
| 67 |
-
"tests/test_shapes.py::TestIntegration::test_train_step_shape",
|
| 68 |
-
"tests/test_shapes.py::TestLossShapes::test_loss_decay_weights",
|
| 69 |
-
"tests/test_shapes.py::TestLossShapes::test_loss_shapes",
|
| 70 |
-
"tests/test_shapes.py::TestLossShapes::test_loss_with_all_terms",
|
| 71 |
-
"tests/test_shapes.py::TestModelShapes::test_forward_no_confidence",
|
| 72 |
-
"tests/test_shapes.py::TestModelShapes::test_forward_shapes",
|
| 73 |
-
"tests/test_shapes.py::TestModelShapes::test_sample_block_shapes",
|
| 74 |
-
"tests/test_sts.py::TestExpectedCalibrationError::test_miscalibrated",
|
| 75 |
-
"tests/test_sts.py::TestExpectedCalibrationError::test_perfectly_calibrated",
|
| 76 |
-
"tests/test_sts.py::TestExpectedCalibrationError::test_shape",
|
| 77 |
-
"tests/test_sts.py::TestSTSCalibrator::test_fit_transform",
|
| 78 |
-
"tests/test_sts.py::TestSTSCalibrator::test_shape_preserved",
|
| 79 |
-
"tests/test_sts.py::TestSTSCalibrator::test_transform_unfitted",
|
| 80 |
-
"tests/test_sts.py::TestSequentialTemperatureScaling::test_sts_monotonic",
|
| 81 |
-
"tests/test_sts.py::TestSequentialTemperatureScaling::test_sts_returns_temperatures"
|
| 82 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
src/uraionspec.egg-info/PKG-INFO
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 1 |
-
Metadata-Version: 2.4
|
| 2 |
-
Name: uraionspec
|
| 3 |
-
Version: 0.1.0
|
| 4 |
-
Summary: Faithful DSpark-style speculative decoding implementation by Uraion Labs
|
| 5 |
-
Author-email: Uraion Labs <uraionlabs@gmail.com>
|
| 6 |
-
License: MIT
|
| 7 |
-
Requires-Python: >=3.10
|
| 8 |
-
Description-Content-Type: text/markdown
|
| 9 |
-
Requires-Dist: torch>=2.1.0
|
| 10 |
-
Requires-Dist: transformers>=4.38.0
|
| 11 |
-
Requires-Dist: datasets>=2.14.0
|
| 12 |
-
Requires-Dist: accelerate>=0.25.0
|
| 13 |
-
Requires-Dist: numpy>=1.24.0
|
| 14 |
-
Requires-Dist: tqdm>=4.64.0
|
| 15 |
-
Requires-Dist: sentencepiece>=0.1.99
|
| 16 |
-
Requires-Dist: protobuf>=3.20
|
| 17 |
-
Provides-Extra: dev
|
| 18 |
-
Requires-Dist: pytest>=7.0; extra == "dev"
|
| 19 |
-
Requires-Dist: ruff>=0.1.0; extra == "dev"
|
| 20 |
-
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
|
| 21 |
-
Provides-Extra: eval
|
| 22 |
-
Requires-Dist: vllm>=0.4.0; extra == "eval"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
src/uraionspec.egg-info/SOURCES.txt
DELETED
|
@@ -1,35 +0,0 @@
|
|
| 1 |
-
pyproject.toml
|
| 2 |
-
src/uraionspec/__init__.py
|
| 3 |
-
src/uraionspec.egg-info/PKG-INFO
|
| 4 |
-
src/uraionspec.egg-info/SOURCES.txt
|
| 5 |
-
src/uraionspec.egg-info/dependency_links.txt
|
| 6 |
-
src/uraionspec.egg-info/requires.txt
|
| 7 |
-
src/uraionspec.egg-info/top_level.txt
|
| 8 |
-
src/uraionspec/calibration/__init__.py
|
| 9 |
-
src/uraionspec/calibration/sts.py
|
| 10 |
-
src/uraionspec/decoding/__init__.py
|
| 11 |
-
src/uraionspec/decoding/acceptance.py
|
| 12 |
-
src/uraionspec/decoding/scheduler.py
|
| 13 |
-
src/uraionspec/decoding/speculative.py
|
| 14 |
-
src/uraionspec/evaluation/__init__.py
|
| 15 |
-
src/uraionspec/evaluation/benchmark_latency.py
|
| 16 |
-
src/uraionspec/evaluation/eval_acceptance.py
|
| 17 |
-
src/uraionspec/models/__init__.py
|
| 18 |
-
src/uraionspec/models/confidence_head.py
|
| 19 |
-
src/uraionspec/models/draft_model.py
|
| 20 |
-
src/uraionspec/models/markov_head.py
|
| 21 |
-
src/uraionspec/models/rnn_head.py
|
| 22 |
-
src/uraionspec/training/__init__.py
|
| 23 |
-
src/uraionspec/training/cache_targets.py
|
| 24 |
-
src/uraionspec/training/dataset.py
|
| 25 |
-
src/uraionspec/training/losses.py
|
| 26 |
-
src/uraionspec/training/train_drafter.py
|
| 27 |
-
src/uraionspec/utils/__init__.py
|
| 28 |
-
src/uraionspec/utils/hf.py
|
| 29 |
-
src/uraionspec/utils/logging.py
|
| 30 |
-
src/uraionspec/utils/seed.py
|
| 31 |
-
tests/test_acceptance.py
|
| 32 |
-
tests/test_markov_head.py
|
| 33 |
-
tests/test_scheduler.py
|
| 34 |
-
tests/test_shapes.py
|
| 35 |
-
tests/test_sts.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
src/uraionspec.egg-info/dependency_links.txt
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
|
|
|
|
|
|
src/uraionspec.egg-info/requires.txt
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
torch>=2.1.0
|
| 2 |
-
transformers>=4.38.0
|
| 3 |
-
datasets>=2.14.0
|
| 4 |
-
accelerate>=0.25.0
|
| 5 |
-
numpy>=1.24.0
|
| 6 |
-
tqdm>=4.64.0
|
| 7 |
-
sentencepiece>=0.1.99
|
| 8 |
-
protobuf>=3.20
|
| 9 |
-
|
| 10 |
-
[dev]
|
| 11 |
-
pytest>=7.0
|
| 12 |
-
ruff>=0.1.0
|
| 13 |
-
pytest-cov>=4.1.0
|
| 14 |
-
|
| 15 |
-
[eval]
|
| 16 |
-
vllm>=0.4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
src/uraionspec.egg-info/top_level.txt
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
uraionspec
|
|
|
|
|
|