economize
Copyright 2026 Filipe Laitenberger

This product is licensed under the Apache License, Version 2.0 (see LICENSE).

It contains material taken or transcribed from the third-party projects listed below. Each entry names the file
of this distribution that holds the material, the upstream source and its license. The MIT License requires its
copyright notice to accompany substantial portions of the software; the notices are reproduced here.

-------------------------------------------------------------------------------------------------------------------
src/economize/techniques/medusa/trees.py
  The draft tree mc_sim_7b_63 from FasterDecoding/Medusa (medusa/model/medusa_choices.py).
  Licensed under the Apache License, Version 2.0.

src/economize/techniques/quant/marlin.py
  Reimplements in torch the weight-packing preprocessing of vLLM (vllm/model_executor/layers/quantization/utils/
  marlin_utils*.py). Licensed under the Apache License, Version 2.0. Copyright the vLLM project.

-------------------------------------------------------------------------------------------------------------------
tests/techniques/test_minference.py
  Transcriptions of microsoft/MInference 0.1.6.0 (minference/modules/minference_forward.py,
  csrc/vertical_slash_index.cu, minference/ops/block_sparse_flash_attention.py), used as a test reference.
  MIT License. Copyright (c) Microsoft Corporation.

tests/techniques/test_quant_smoothquant.py
  smooth_ln_fcs from mit-han-lab/smoothquant (smoothquant/smooth.py), used as a test reference.
  MIT License. Copyright (c) 2022 MIT HAN Lab.

tests/techniques/test_kv_evict.py
  The per-layer budget of PyramidKVCluster.update_kv from Zefan-Cai/KVCache-Factory, used as a test reference.
  MIT License. Copyright (c) 2024 Zefan Cai.

-------------------------------------------------------------------------------------------------------------------
The MIT License (text shared by the MIT-licensed entries above):

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of
the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
