File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
third-party-programs/ktransformers/custom_gguf Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -76,10 +76,16 @@ torch==2.7.0.dev20250224+xpu
76
76
```
77
77
78
78
### 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
79
85
```
80
- $ cd ${custom_gguf_HOME}/dpct_output
86
+ $ cd ${test_directory}
81
87
$ 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}
83
89
```
84
90
85
91
### 5 Run migrated SYCL version ktransformers
You can’t perform that action at this time.
0 commit comments