mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-28 01:30:36 +08:00
Compare commits
2 Commits
231756a5bf
...
d1f585f80a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1f585f80a | ||
|
|
955396e8a5 |
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -8,6 +8,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- "**/*.py"
|
- "**/*.py"
|
||||||
- "requirements.txt"
|
- "requirements.txt"
|
||||||
|
- "Makefile"
|
||||||
- ".github/workflows/*.yml"
|
- ".github/workflows/*.yml"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
@@ -15,6 +16,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- "**/*.py"
|
- "**/*.py"
|
||||||
- "requirements.txt"
|
- "requirements.txt"
|
||||||
|
- "Makefile"
|
||||||
- ".github/workflows/*.yml"
|
- ".github/workflows/*.yml"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -21,4 +21,4 @@ style:
|
|||||||
ruff format $(check_dirs)
|
ruff format $(check_dirs)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
CUDA_VISIBLE_DEVICES= WANDB_DISABLED=true pytest -vv tests/
|
CUDA_VISIBLE_DEVICES= ASCEND_RT_VISIBLE_DEVICES=0 WANDB_DISABLED=true pytest -vv --import-mode=importlib tests/ tests_v1/
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ model_name_or_path: Qwen/Qwen3-VL-30B-A3B-Instruct
|
|||||||
image_max_pixels: 262144
|
image_max_pixels: 262144
|
||||||
video_max_pixels: 16384
|
video_max_pixels: 16384
|
||||||
trust_remote_code: true
|
trust_remote_code: true
|
||||||
use_kernels: true # replaced kernels: [NpuRMSNormKernel, NpuRoPEKernel, NpuQwen3VLMoEFusedMoEKernel]
|
use_v1_kernels: true # replaced kernels: [NpuRMSNormKernel, NpuRoPEKernel, NpuQwen3VLMoEFusedMoEKernel]
|
||||||
|
|
||||||
### method
|
### method
|
||||||
stage: sft
|
stage: sft
|
||||||
|
|||||||
1
src/llamafactory/v1/extras/__init__.py
Normal file
1
src/llamafactory/v1/extras/__init__.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
Reference in New Issue
Block a user