Skip to content

feat: add mmd operator#499

Merged
haolpku merged 4 commits intoOpenDCAI:mainfrom
yibotongxue:feat-add-mmd-operator
Apr 4, 2026
Merged

feat: add mmd operator#499
haolpku merged 4 commits intoOpenDCAI:mainfrom
yibotongxue:feat-add-mmd-operator

Conversation

@yibotongxue
Copy link
Copy Markdown
Contributor

本次PR主要增加了MMD算子,用于评估数据集与给定数据集的MMD距离

@haolpku
Copy link
Copy Markdown
Contributor

haolpku commented Apr 4, 2026

  1. 这两个参数应该要放到init,run函数应该只放key
    max_sample_num: int | None = None,
    shuffle_seed: int | None = None,
  2. 自动测试还有个问题:
    ╰─▶ Because the current Python version (3.11.9) does not satisfy
    Python>=3.12,<3.13 and distflow==1.0.0 depends on Python>=3.12,<3.13, we
    distflow要卡这么死的python版本吗?如果一定要卡这么死是否可以放到doc里让大家安装?

@haolpku
Copy link
Copy Markdown
Contributor

haolpku commented Apr 4, 2026

@yibotongxue
Copy link
Copy Markdown
Contributor Author

  1. 这两个参数应该要放到init,run函数应该只放key
    max_sample_num: int | None = None,
    shuffle_seed: int | None = None,
  2. 自动测试还有个问题:
    ╰─▶ Because the current Python version (3.11.9) does not satisfy
    Python>=3.12,<3.13 and distflow==1.0.0 depends on Python>=3.12,<3.13, we
    distflow要卡这么死的python版本吗?如果一定要卡这么死是否可以放到doc里让大家安装?

第一个问题已改好,第二个更新了distflow,降低了python版本要求,求再看一下

@haolpku haolpku merged commit e015bc4 into OpenDCAI:main Apr 4, 2026
9 checks passed
@yibotongxue yibotongxue deleted the feat-add-mmd-operator branch April 4, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants