Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove deprecated code #7213

@andife

Description

@andife

example: https://github.com/onnx/onnx/blob/main/onnx/subbyte.py

"@typing_extensions.deprecated(
"Deprecated since 1.18. Scheduled to remove in 1.20. Consider using libraries like ml_dtypes for dtype conversion",
category=DeprecationWarning,
)
def float32_to_4bit_unpacked(x: np.ndarray | float, signed: bool) -> np.ndarray:
"""Cast to 4bit"

=> @justinchuby Should we remove it? Or would you like to wait a little longer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions