Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support register custom OpSchema by python #5906

Merged
merged 41 commits into from
Feb 23, 2024

Commits on Feb 5, 2024

  1. Support register custom OpSchema by python

    Signed-off-by: oPluss <opluss@qq.com>
    OYCN committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    14e0365 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. Optimization register check logic

    Signed-off-by: oPluss <opluss@qq.com>
    OYCN committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    ec31343 View commit details
    Browse the repository at this point in the history
  2. Support deregister OpSchema

    Signed-off-by: oPluss <opluss@qq.com>
    OYCN committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    cb2d9cd View commit details
    Browse the repository at this point in the history
  3. normalized code and unittest

    Signed-off-by: oPluss <opluss@qq.com>
    OYCN committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    0b13a7b View commit details
    Browse the repository at this point in the history
  4. fix desc error

    Signed-off-by: oPluss <opluss@qq.com>
    OYCN committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    0b26ad5 View commit details
    Browse the repository at this point in the history
  5. append export symbol

    Signed-off-by: oPluss <opluss@qq.com>
    OYCN committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    5b2151f View commit details
    Browse the repository at this point in the history
  6. add annotate and update doc

    Signed-off-by: oPluss <opluss@qq.com>
    OYCN committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    a4c356c View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. refact unittest

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    72a0e03 View commit details
    Browse the repository at this point in the history
  2. separate registration logic

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    dca0d07 View commit details
    Browse the repository at this point in the history
  3. enable check for custom domain

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    5a01710 View commit details
    Browse the repository at this point in the history
  4. add domain automatically when register a cudatom op

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    c68fcbf View commit details
    Browse the repository at this point in the history
  5. fix py lint

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    59bedfc View commit details
    Browse the repository at this point in the history
  6. add case for unittest

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    d06560b View commit details
    Browse the repository at this point in the history
  7. modify description for set_domain_to_version

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    aa1d9c3 View commit details
    Browse the repository at this point in the history
  8. fix coding error

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    82349df View commit details
    Browse the repository at this point in the history
  9. fix py lint

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    7c1983c View commit details
    Browse the repository at this point in the history
  10. replace check_custom_op to check_custom_domain in checker

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    c778180 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Configuration menu
    Copy the full SHA
    f776e62 View commit details
    Browse the repository at this point in the history
  2. fix code style and annotate

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    306bd6b View commit details
    Browse the repository at this point in the history
  3. fix py code style

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    65c61f0 View commit details
    Browse the repository at this point in the history
  4. simplify deregister_schema binding

    uniformly use `op_type` in OpSchema deregister
    
    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    0af0ac7 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. add case to check schema accessible after deregister and fix bug

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    ada696e View commit details
    Browse the repository at this point in the history
  2. impl update method

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    8b5ed1b View commit details
    Browse the repository at this point in the history
  3. append annotate for unittest case

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    8d7301e View commit details
    Browse the repository at this point in the history
  4. Safe implementation for register

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    ff8cdfb View commit details
    Browse the repository at this point in the history
  5. fix py code style

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    17e7685 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. Revert "Safe implementation for register"

    This reverts commit ff8cdfb.
    
    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    d5a59f5 View commit details
    Browse the repository at this point in the history
  2. using rvalue reference for register pipline

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    85ba547 View commit details
    Browse the repository at this point in the history
  3. restore the default behavior of AddDomainToVersion

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    467f938 View commit details
    Browse the repository at this point in the history
  4. overload has_schema with version param

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    7f91274 View commit details
    Browse the repository at this point in the history
  5. add multi register case in unittest

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    2b6cf01 View commit details
    Browse the repository at this point in the history
  6. fix build error in cpp unittest

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    f2577b9 View commit details
    Browse the repository at this point in the history
  7. Revert "fix build error in cpp unittest"

    This reverts commit f2577b9.
    
    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    afe3c78 View commit details
    Browse the repository at this point in the history
  8. fix build error for cpp custom register

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    2b02fde View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. fix py code style

    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    8380e72 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    568b10d View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. Configuration menu
    Copy the full SHA
    ffe9068 View commit details
    Browse the repository at this point in the history
  2. Add overload impl to RegisterSchema for compatibility

    Use `move` instead of `forward`
    Remove default domain value in `DeregisterSchema`
    
    Signed-off-by: opluss <opluss@qq.com>
    OYCN committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    cb0e521 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Merge branch 'main' into dev-register-schema

    Signed-off-by: oPluss <opluss@qq.com>
    OYCN committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    a772d6f View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Configuration menu
    Copy the full SHA
    90dbaae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce63fbc View commit details
    Browse the repository at this point in the history