mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Add various uninterpreted bit tensor data types (try 2) (#95860)
Summary: This is a retry of https://github.com/pytorch/pytorch/pull/94992 which was reverted due to CI issues. This PR adds a set of unintrepreted data types on PyTorch which can be used to implement experimental functionality out of core (think fp8, int4, int16 quant, etc). @bypass-github-export-checks Test Plan: ``` python test/test_quantization.py -k TestBits ``` Reviewers: Subscribers: Tasks: Tags: Fixes #ISSUE_NUMBER Pull Request resolved: https://github.com/pytorch/pytorch/pull/95860 Approved by: https://github.com/atalman
This commit is contained in:
committed by
PyTorch MergeBot
parent
5e1067bcc2
commit
dc70e8175f
@ -134,5 +134,8 @@ try:
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
# Experimental functionality
|
||||
from quantization.core.experimental.test_bits import TestBits # noqa: F401
|
||||
|
||||
if __name__ == '__main__':
|
||||
run_tests()
|
||||
|
Reference in New Issue
Block a user