File tree Expand file tree Collapse file tree
third-party-programs/ktransformers/custom_gguf Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments