mirror of
https://github.com/FlashML-org/FreeToken.git
synced 2026-11-22 05:49:20 +08:00
* feat(gguf): serve gpt-oss gguf checkpoints on gpt_oss * fix(gguf): refuse missing gpt-oss bias tensors, honor swa pattern, scale nvfp4 before bias * fix(gguf): honor gpt-oss yarn truncate, gate the bf16 float cast, scale nvfp4 before the down bias
15 lines
358 B
Python
15 lines
358 B
Python
from .config import parse_config
|
|
from .gguf import iter_gguf_weights, parse_gguf_config, to_gguf
|
|
from .model import GptOssForCausalLM
|
|
from .weight import iter_expert_pieces, iter_weights
|
|
|
|
__all__ = [
|
|
"GptOssForCausalLM",
|
|
"parse_config",
|
|
"parse_gguf_config",
|
|
"iter_gguf_weights",
|
|
"iter_weights",
|
|
"iter_expert_pieces",
|
|
"to_gguf",
|
|
]
|