Skip to content

Commit 1f1ba73

Browse files
committed
Add test folder info
1 parent 1a7a748 commit 1f1ba73

File tree

1 file changed

+8
-2
lines changed
  • third-party-programs/ktransformers/custom_gguf

1 file changed

+8
-2
lines changed

third-party-programs/ktransformers/custom_gguf/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,16 @@ torch==2.7.0.dev20250224+xpu
7676
```
7777

7878
### 4 Build the migrated ktransformers
79+
There 8 tests available in the current stage:
80+
* 3 sycl tests to test single kernel (passed) in ./migrated/single_kernel_test
81+
* 4 sycl tests to test single kernel (results mismatch) in ./migrated/single_kernel_test_need_debug
82+
* 1 torch test to test dequantize_q8_0 in ./migrated/torch_test
83+
84+
You can select one - ${test_directory}/${test_name}, and compile it through
7985
```
80-
$ cd ${custom_gguf_HOME}/dpct_output
86+
$ cd ${test_directory}
8187
$ source /opt/intel/oneapi/setvars.sh
82-
$ icpx -fsycl -I/opt/intel/oneapi/compiler/latest/include/sycl -I/~/workspace/xputorch/lib/python3.10/site-packages/torch/include -I/usr/include/python3.10 -I/~/workspace/xputorch/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -L/~/workspace/xputorch/lib/python3.10/site-packages/torch/lib -ltorch_xpu -ltorch_cpu -lc10_xpu -lc10 ${file_name} -o ${out_name}
88+
$ icpx -fsycl -I/opt/intel/oneapi/compiler/latest/include/sycl -I/~/workspace/xputorch/lib/python3.10/site-packages/torch/include -I/usr/include/python3.10 -I/~/workspace/xputorch/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -L/~/workspace/xputorch/lib/python3.10/site-packages/torch/lib -ltorch_xpu -ltorch_cpu -lc10_xpu -lc10 ${test_name} -o ${out_name}
8389
```
8490

8591
### 5 Run migrated SYCL version ktransformers

0 commit comments

Comments
 (0)