-
Notifications
You must be signed in to change notification settings - Fork 23
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
merge main #1051
Merged
Merged
merge main #1051
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Feng Yuan <[email protected]>
- [x] multi_margin_loss - [x] multi_margin_loss.out - [x] multi_margin_loss_backward - [x] multi_margin_loss_backward.grad_input --------- Co-authored-by: Yutao Xu <[email protected]>
Add the implementation opeartor _foreach_copy_ Tested on PVC. --------- Co-authored-by: Yutao Xu <[email protected]>
- [x] _masked_softmax - [x] _masked_softmax_backward
- grid_sampler_3d - grid_sample_3d_backward --------- Co-authored-by: Yutao Xu <[email protected]>
- [x] heaviside.out - [x] heaviside - [x] heaviside_ > (kanya_pt) kanyamo@adl104051:/localdisk/kanya/pytorch/third_party/torch-xpu-ops$ PYTORCH_DEBUG_XPU_FALLBACK=1 PYTORCH_TEST_WITH_SLOW=1 pytest -vs ./test/xpu/test_ops_xpu.py -k heaviside > ================================================= test session starts ================================================== > platform linux -- Python 3.10.15, pytest-8.3.3, pluggy-1.5.0 -- /localdisk/miniforge3/envs/kanya_pt/bin/python3.10 > cachedir: .pytest_cache > hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase(PosixPath('/localdisk/kanya/pytorch/third_party/torch-xpu-ops/.hypothesis/examples')) > rootdir: /localdisk/kanya/pytorch > configfile: pytest.ini > plugins: hypothesis-6.114.1 > collected 14054 items / 14004 deselected / 50 selected > > test/xpu/test_ops_xpu.py::TestCommonXPU::test_dtypes__refs_heaviside_xpu PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_dtypes_heaviside_xpu PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_errors_heaviside_xpu PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_multiple_devices_heaviside_xpu_float32 SKIPPED (fewer than 2 d...) > test/xpu/test_ops_xpu.py::TestCommonXPU::test_multiple_devices_heaviside_xpu_int64 SKIPPED (fewer than 2 dev...) > test/xpu/test_ops_xpu.py::TestCommonXPU::test_non_standard_bool_values_heaviside_xpu_bool PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_noncontiguous_samples_heaviside_xpu_float32 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_noncontiguous_samples_heaviside_xpu_int64 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_out__refs_heaviside_xpu_float32 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_out_heaviside_xpu_float32 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_out_warning__refs_heaviside_xpu PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_out_warning_heaviside_xpu PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref__refs_heaviside_xpu_bfloat16 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref__refs_heaviside_xpu_bool PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref__refs_heaviside_xpu_float16 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref__refs_heaviside_xpu_float32 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref__refs_heaviside_xpu_int16 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref__refs_heaviside_xpu_int32 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref__refs_heaviside_xpu_int64 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref__refs_heaviside_xpu_int8 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref__refs_heaviside_xpu_uint8 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_errors__refs_heaviside_xpu PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_executor__refs_heaviside_executor_aten_xpu_bfloat16 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_executor__refs_heaviside_executor_aten_xpu_bool PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_executor__refs_heaviside_executor_aten_xpu_float16 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_executor__refs_heaviside_executor_aten_xpu_float32 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_executor__refs_heaviside_executor_aten_xpu_int16 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_executor__refs_heaviside_executor_aten_xpu_int32 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_executor__refs_heaviside_executor_aten_xpu_int64 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_executor__refs_heaviside_executor_aten_xpu_int8 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_executor__refs_heaviside_executor_aten_xpu_uint8 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_meta__refs_heaviside_xpu_bfloat16 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_meta__refs_heaviside_xpu_bool PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_meta__refs_heaviside_xpu_float16 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_meta__refs_heaviside_xpu_float32 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_meta__refs_heaviside_xpu_int16 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_meta__refs_heaviside_xpu_int32 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_meta__refs_heaviside_xpu_int64 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_meta__refs_heaviside_xpu_int8 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_meta__refs_heaviside_xpu_uint8 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_torch_fallback__refs_heaviside_xpu_bfloat16 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_torch_fallback__refs_heaviside_xpu_bool PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_torch_fallback__refs_heaviside_xpu_float16 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_torch_fallback__refs_heaviside_xpu_float32 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_torch_fallback__refs_heaviside_xpu_int16 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_torch_fallback__refs_heaviside_xpu_int32 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_torch_fallback__refs_heaviside_xpu_int64 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_torch_fallback__refs_heaviside_xpu_int8 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_python_ref_torch_fallback__refs_heaviside_xpu_uint8 PASSED > test/xpu/test_ops_xpu.py::TestCommonXPU::test_variant_consistency_eager_heaviside_xpu_float32 PASSED > > =================================== 48 passed, 2 skipped, 14004 deselected in 16.83s ===================================
- [x] multilabel_margin_loss forward - [x] multilabel_margin_loss backward --------- Co-authored-by: Yutao Xu <[email protected]>
- [x] i0.out - [x] i0 - [x] i0_
…ntel SYCL compiler uplift (#1017)
- igamma - igamma.out - igamma_ - igammac - igammac.out - igammac_ Add these methods to xpu device. --------- Co-authored-by: Yutao Xu <[email protected]>
- [x] special_scaled_modified_bessel_k0 - [x] special_scaled_modified_bessel_k0.out - [x] special_scaled_modified_bessel_k1 - [x] special_scaled_modified_bessel_k1.out - [x] special_xlog1py - [x] special_xlog1py.out - [x] special_zeta - [x] special_zeta.out - [x] special_entr - [x] special_entr.out - [x] special_erfcx - [x] special_erfcx.out Co-authored-by: Yutao Xu <[email protected]>
- `special_airy_ai.out` - `special_airy_ai` --------- Co-authored-by: Yutao Xu <[email protected]>
1. clean cache 2. remove merged additional PRs
Add the following operators: - foreach_sub.List - foreach_sub.Scalar - foreach_sub.ScalarList - foreach_sub_.List - foreach_sub_.Scalar - foreach_sub_.ScalarList --------- Co-authored-by: Yutao Xu <[email protected]>
- \_fused_adam_ - \_fused_adam_.tensor_lr - \_fused_adamw_ - \_fused_adamw_.tensor_lr --------- Co-authored-by: Yutao Xu <[email protected]>
PyTorch has self logic of loading dll on Windows. The logic in torch-xpu-ops:bridge.cpp gets conflict against PyTorch logic. Signed-off-by: Feng Yuan <[email protected]>
- `_standard_gamma` - `_standard_gamma_grad`
…ackward) (#880) - [x] fractional_max_pool2d - [x] fractional_max_pool2d_backward - [x] fractional_max_pool3d - [x] fractional_max_pool3d_backward --------- Co-authored-by: Yutao Xu <[email protected]>
CUDA dispatches to CPU as well. - `mvlgamma.out` - `mvlgamma` - `mvlgamma_`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.