]> khamidou — GitHub mirrors - safetensors.git/commit
Adding support for Ascend NPU (#372)
authorHz, Ji <hzji210@gmail.com>
Mon, 20 Nov 2023 09:23:44 +0000 (17:23 +0800)
committerGitHub <noreply@github.com>
Mon, 20 Nov 2023 09:23:44 +0000 (10:23 +0100)
commit094e676b371763498a5d04a28477a7ef0fb6f6a8
treeff6868a12343ed8e4b2ee42edb462df9c4ed7b48
parent829bfa8f3db33d2c36fada5d02e3d6b6ba14911d
Adding support for Ascend NPU (#372)

* Adding support for Ascend NPU

* remove the unnecessary hack code

* test more dtype

* npu doesn't support calling torch.allclose with bf16 for now
bindings/python/src/lib.rs
bindings/python/tests/test_pt_comparison.py