kyutai-moshi/.pre-commit-config.yaml
Alexandre Défossez ea5401cc3a
Adding LoRA support (#249)
* adding training forward

* tests

* tests

* fix

* plop

* plop

* plop

* lora all but not multilinear

* all lora works+lazy comp

* minor

* minor fix

* lora ckpt loaders

* checkpointing

* checkpointing + new lora loading

* tokenizer path

* quantization back (to test)

* small fixes

* fuse_lora arg

* remove compile

* edits from alex

* edits from alex

* trying dynamic no compile

* reformat configs + loading

* wip

* wip

* fix typing

* fixing loading of old models

* some improvements

* remove param

* plop

* Lora and quant (#248)

* wip

* wip

* fix typing

* fixing loading of old models

* some improvements

* remove param

* plop

* fix

* fix

* fine-tune loading

* Import lora models for mlx.

* meta init

* exchange order

* Rust lora importer.

* update load weight

* fixing meta init

* load weight in moshi

* no post hook

* fix

* dbg

---------

Co-authored-by: hippolytepilchen <hippolyte.pilchen@gmail.com>
Co-authored-by: laurent <laurent.mazare@gmail.com>
2025-04-01 12:06:39 +02:00

34 lines
1 KiB
YAML

repos:
- repo: local
hooks:
- id: flake8-moshi
name: flake8 on moshi package
language: system
entry: bash -c 'cd moshi && flake8'
pass_filenames: false
always_run: true
- id: pyright-moshi
name: pyright on moshi package
language: system
entry: scripts/run_ci_when_installed.sh moshi 'cd moshi && pyright'
pass_filenames: false
always_run: true
- id: tests-moshi
name: pytests on moshi package
language: system
entry: scripts/run_ci_when_installed.sh moshi 'cd moshi && pytest tests'
pass_filenames: false
always_run: true
- id: flake8-moshi_mlx
name: flake8 on moshi_mlx package
language: system
entry: bash -c 'cd moshi_mlx && flake8'
pass_filenames: false
always_run: true
- id: pyright-moshi_mlx
name: pyright on moshi_mlx package
language: system
entry: scripts/run_ci_when_installed.sh moshi_mlx 'cd moshi_mlx && pyright'
pass_filenames: false
always_run: true