FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Migrate the app (ktransformers): dequant.cu by chengxiw · Pull Request #879 · oneapi-src/SYCLomatic-test · GitHub

This repository was archived by the owner on Jul 21, 2026. It is now read-only.
/ SYCLomatic-test Public archive

Migrate the app (ktransformers): dequant.cu - #879

Open
chengxiw wants to merge 2 commits into
oneapi-src:SYCLomaticfrom
chengxiw:flex_team
Open

Migrate the app (ktransformers): dequant.cu #879
chengxiw wants to merge 2 commits into
oneapi-src:SYCLomaticfrom
chengxiw:flex_team

Conversation

chengxiw commented Mar 6, 2025
edited
Loading

Copy link
Copy Markdown

Migrate app ktransformer to SYCL,

  • Migrated the cuda file dequant.cu to dequant.dp.cpp in SYCL
  • There serveral tests available in the current stage:
    • 3 sycl tests to test single kernel (passed) in ./migrated/single_kernel_test
    • 4 sycl tests to test single kernel (results mismatch) in ./migrated/single_kernel_test_need_debug
    • 1 torch test to test dequantize_q8_0 in ./migrated/torch_test
    • 9 pytorch test to test in ./migrated/python_test, passed with random generated input, compared with cpu calculation
      • dequantize_f32
      • dequantize_f16
      • dequantize_q8_0
      • dequantize_q2_k
      • dequantize_q3_k
      • dequantize_q4_k
      • dequantize_q5_k
      • dequantize_q6_k
      • dequantize_iq4_xs
  • Added README file on migration instructions and test build

chengxiw requested a review from a team as a code owner March 6, 2025 08:10
sijialouintel force-pushed the flex_team branch 2 times, most recently from 1818469 to 91b8bd3 Compare March 6, 2025 09:02
chengxiw closed this Mar 6, 2025
chengxiw reopened this Mar 7, 2025
chengxiw closed this Mar 7, 2025
* Migrate each CUDA file to SYCL file with the SYCLomatic tool

* Single kernel tests

* Torch tests

* Single kernel tests need debug

* README

* Add test folder info

* update torch version

---------

Co-authored-by: Lou, Sijia <sijia.lou@intel.com>
Signed-off-by: Lou, Sijia <sijia.lou@intel.com>
Signed-off-by: Wu, Chengxi <chengxi.wu@intel.com>
Signed-off-by: Qiu, Xiaodong <xiaodong.qiu@intel.com>
Signed-off-by: Liang, Zilan <zilan.liang@intel.com>
Signed-off-by: Zhou, Shuangpeng<shuangpeng.zhou@intel.com>
* use pybind and setup for extension
* migration python cpu reference code
* generate random input and validation pytest

Signed-off-by: Lou, Sijia <sijia.lou@intel.com>
Signed-off-by: Wu, Chengxi <chengxi.wu@intel.com>
Signed-off-by: Qiu, Xiaodong <xiaodong.qiu@intel.com>
Signed-off-by: Liang, Zilan <zilan.liang@intel.com>
Signed-off-by: Zhou, Shuangpeng <shuangpeng.zhou@intel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL