Skip to content

Tags: protonu/ao

Tags

ciflow/xpu/4844

Toggle ciflow/xpu/4844's commit message
Refactor MXTensor: align the swizzle execution with the configured sw…

…izzle setting

ciflow/xpu/4843

Toggle ciflow/xpu/4843's commit message
Refactor MXTensor: replace is_swizzled_scales bool with SwizzleType c…

…lass hierarchy

ciflow/xpu/4813

Toggle ciflow/xpu/4813's commit message
Refactor MXTensor: Use  SwizzleType class for device-agnostic scale l…

…ayout dispatch

ciflow/xpu/4800

Toggle ciflow/xpu/4800's commit message
Add device-specific tensor registration pattern and XPU MX example

ciflow/rocm/4835

Toggle ciflow/rocm/4835's commit message
Update skip reason for test_bmm_operation_with_observer

Co-authored-by: Cursor <cursoragent@cursor.com>

ciflow/xpu/4660

Toggle ciflow/xpu/4660's commit message
Address review: use torch.accelerator.current_accelerator()

Per review feedback, replace the torchao.utils.get_current_accelerator_device()
helper with the upstream torch.accelerator.current_accelerator() API, which is
the direction tracked in pytorch#2917 / pytorch#4384.

Note the suggested spelling in the review comment,
torch.accelerator.get_current_accelerator(), does not exist; the actual API is
torch.accelerator.current_accelerator().

This also avoids the helper's assert torch.accelerator.is_available(), which
would raise on CPU-only runners; current_accelerator() returns None there and
the comparison simply evaluates to False.

ciflow/xpu/4658

Toggle ciflow/xpu/4658's commit message
Address review: use torch.accelerator.current_accelerator()

Per review feedback, replace the torchao.utils.get_current_accelerator_device()
helper with the upstream torch.accelerator.current_accelerator() API, which is
the direction tracked in pytorch#2917 / pytorch#4384.

Note the suggested spelling in the review comment,
torch.accelerator.get_current_accelerator(), does not exist; the actual API is
torch.accelerator.current_accelerator().

ciflow/xpu/4637

Toggle ciflow/xpu/4637's commit message
Address review: use torch.accelerator.current_accelerator()

Per review feedback, replace the torchao.utils.get_current_accelerator_device()
helper with the upstream torch.accelerator.current_accelerator() API, which is
the direction tracked in pytorch#2917 / pytorch#4384.

Note the suggested spelling in the review comment,
torch.accelerator.get_current_accelerator(), does not exist; the actual API is
torch.accelerator.current_accelerator().

Scoped to the call site added by this PR; the pre-existing ones in this file are
left to the file-wide migration.

ciflow/xpu/4636

Toggle ciflow/xpu/4636's commit message
Address review: use torch.accelerator.current_accelerator()

Per review feedback, replace the torchao.utils.get_current_accelerator_device()
helper with the upstream torch.accelerator.current_accelerator() API, which is
the direction tracked in pytorch#2917 / pytorch#4384.

Note the suggested spelling in the review comment,
torch.accelerator.get_current_accelerator(), does not exist; the actual API is
torch.accelerator.current_accelerator().

This also drops the torchao.utils import that the previous commit added, since
it would otherwise be unused (ruff F401).

ciflow/xpu/4630

Toggle ciflow/xpu/4630's commit message
Address review: use torch.accelerator.current_accelerator()

Per review feedback, replace the torchao.utils.get_current_accelerator_device()
helper with the upstream torch.accelerator.current_accelerator() API, which is
the direction tracked in pytorch#2917 / pytorch#4384.

Note the suggested spelling in the review comment,
torch.accelerator.get_current_accelerator(), does not exist; the actual API is
torch.accelerator.current_accelerator().

The torchao.utils import of the helper is dropped along with it, since it would
otherwise be unused (ruff F401).