Skip to content

Commit 5c23ae8

Browse files
Merge pull request #308 from stochasticai/marcos/fix_ci_cd
fix: remove key files verification step from CI workflow
2 parents a706b5b + 297109a commit 5c23ae8

File tree

5 files changed

+9
-12
lines changed

5 files changed

+9
-12
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,3 @@ jobs:
2626
- name: Run pre-commit
2727
run: |
2828
pre-commit run -a --show-diff-on-failure
29-
30-
- name: Verify key files present
31-
run: |
32-
test -f AGENTS.md

examples/models/qwen3/qwen3_lora_finetune.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ def main():
3030
model.save(str(OUTPUT_DIR))
3131
print(f"Saved fine-tuned weights to {OUTPUT_DIR}")
3232

33+
3334
if __name__ == "__main__":
3435
main()

src/xturing/engines/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,19 @@
7171
LlamaLoraKbitEngine,
7272
)
7373
from xturing.engines.mamba_engine import MambaEngine
74+
from xturing.engines.opt_engine import (
75+
OPTEngine,
76+
OPTInt8Engine,
77+
OPTLoraEngine,
78+
OPTLoraInt8Engine,
79+
)
7480
from xturing.engines.qwen_engine import (
7581
Qwen3Engine,
7682
Qwen3Int8Engine,
7783
Qwen3LoraEngine,
7884
Qwen3LoraInt8Engine,
7985
Qwen3LoraKbitEngine,
8086
)
81-
from xturing.engines.opt_engine import (
82-
OPTEngine,
83-
OPTInt8Engine,
84-
OPTLoraEngine,
85-
OPTLoraInt8Engine,
86-
)
8787

8888
BaseEngine.add_to_registry(BloomEngine.config_name, BloomEngine)
8989
BaseEngine.add_to_registry(BloomInt8Engine.config_name, BloomInt8Engine)

src/xturing/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@
5656
Llama2LoraKbit,
5757
)
5858
from xturing.models.mamba import Mamba
59+
from xturing.models.opt import OPT, OPTInt8, OPTLora, OPTLoraInt8
5960
from xturing.models.qwen import (
6061
Qwen3,
6162
Qwen3Int8,
6263
Qwen3Lora,
6364
Qwen3LoraInt8,
6465
Qwen3LoraKbit,
6566
)
66-
from xturing.models.opt import OPT, OPTInt8, OPTLora, OPTLoraInt8
6767
from xturing.models.stable_diffusion import StableDiffusion
6868

6969
BaseModel.add_to_registry(Bloom.config_name, Bloom)

tests/xturing/models/test_qwen_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from pathlib import Path
22

3+
from xturing.config.read_config import read_yaml
34
from xturing.engines.qwen_engine import (
45
Qwen3Engine,
56
Qwen3Int8Engine,
@@ -15,7 +16,6 @@
1516
Qwen3LoraInt8,
1617
Qwen3LoraKbit,
1718
)
18-
from xturing.config.read_config import read_yaml
1919

2020

2121
def test_qwen3_model_registry_entries_present():

0 commit comments

Comments
 (0)