-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!(pkg): generate __version__ and build_meta
chore: adopt conventionalcommits chore(pkg): use `import x as x` for re-export. BREAKING-CHANGE: do not re-export `punica.ops.*` to `punica`.
- Loading branch information
1 parent
e523846
commit d415814
Showing
6 changed files
with
112 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
csrc/flashinfer_adapter/generated/ | ||
src/punica/_build_meta.py | ||
data/ | ||
build/ | ||
tmp/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,24 @@ | ||
__version__ = "0.2.0" | ||
|
||
from .models.llama import LlamaForCausalLM, LlamaModel | ||
from . import ops as ops | ||
from ._build_meta import __version__ as __version__ | ||
from .models.llama import ( | ||
LlamaForCausalLM as LlamaForCausalLM, | ||
LlamaModel as LlamaModel, | ||
) | ||
from .models.llama_lora import ( | ||
BatchedLlamaLoraWeight, | ||
LlamaForCausalLMWithLora, | ||
LlamaLoraWeight, | ||
LlamaModelWithLora, | ||
BatchedLlamaLoraWeight as BatchedLlamaLoraWeight, | ||
LlamaForCausalLMWithLora as LlamaForCausalLMWithLora, | ||
LlamaLoraWeight as LlamaLoraWeight, | ||
LlamaModelWithLora as LlamaModelWithLora, | ||
) | ||
from .utils.cat_tensor import ( | ||
BatchLenInfo as BatchLenInfo, | ||
) | ||
from .utils.kvcache import ( | ||
BatchedKvCache as BatchedKvCache, | ||
KvCache as KvCache, | ||
KvPool as KvPool, | ||
) | ||
from .ops import ( | ||
add_lora_sgmv_custom_cutlass, | ||
append_kv, | ||
batch_decode, | ||
init_kv, | ||
rms_norm, | ||
sgmv, | ||
from .utils.lora import ( | ||
BatchedLoraWeight as BatchedLoraWeight, | ||
LoraWeight as LoraWeight, | ||
) | ||
from .utils import BatchedLoraWeight, LoraWeight | ||
from .utils.cat_tensor import BatchLenInfo | ||
from .utils.kvcache import BatchedKvCache, KvCache, KvPool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.3.0 |