[GH-ISSUE #5506] [Engine] Add Huawei Ascend 310P / Atlas 300I Duo backend for MoE inference #5477

Open
opened 2026-11-07 23:43:57 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @longstone78 on GitHub (Nov 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5506

Area

[Engine] (speed, kernels, models, the server and API)

What do you want to do?

First of all, congratulations on Strata!

I've already been running Qwen3.8-Flash-Next on my local setup thanks to your work, and I'm genuinely impressed by what Strata makes possible on affordable consumer hardware, especially its MoE optimizations, expert caching, and memory offloading.

I'm now evaluating building a more powerful personal AI workstation using Huawei Atlas 300I Duo accelerators, and I'd like to understand whether adding Huawei Ascend support would be technically feasible within Strata's architecture.

My use case: personal homelab, not a production inference server

This is an important distinction: I'm building a personal AI workstation, primarily for a single user, not a service handling hundreds or thousands of concurrent requests.

My main workloads are:

  • AI-assisted coding and agentic software development.
  • Running large, capable open-weight MoE models locally.
  • Experimenting with new models and architectures.
  • Using reasonably long contexts when necessary.

My priorities are:

  • Maximizing usable accelerator memory at an affordable cost.
  • Running larger and more capable models.
  • Achieving reasonable single-user interactive performance.
  • Efficient expert caching and memory/SSD offloading.
  • Keeping power consumption and hardware costs manageable.

Maximum aggregate throughput is not my priority. I'd happily trade some throughput for the ability to run a significantly larger or more capable model locally, provided interactive generation speed remains usable.

Hardware: Huawei Atlas 300I Duo

Each Atlas 300I Duo provides:

  • 96 GB aggregate memory (2 × 48 GB across two Ascend 310P NPUs).
  • PCIe 4.0 x16 interface.
  • Approximately 150 W maximum board power.
  • Relatively affordable pricing on the Chinese market.

A workstation with four cards would provide 384 GB of aggregate accelerator memory across eight NPUs, although this is distributed memory, not a single unified pool.

This could be an interesting alternative to expensive high-memory professional GPUs.

Proposed functionality

I'd like to explore the feasibility of a Huawei Ascend backend using CANN/AscendCL, initially targeting the Ascend 310P.

The goal would be to support large MoE model families, including:

  • Qwen3.8-Flash-Next and future Qwen MoE architectures.
  • GLM large MoE models.
  • DeepSeek V4 / V4.1 Flash and future variants.
  • Other sparse MoE architectures supported by Strata.

Ideally, such a backend could eventually provide:

  1. Efficient MoE expert execution and routing on Ascend NPUs.
  2. Expert caching and offloading between NPU memory, system RAM, and NVMe.
  3. Support for both NPUs on a single Atlas 300I Duo.
  4. Multi-card execution, potentially scaling to four cards.
  5. Low-bit quantization support appropriate for large MoE models.
  6. Reuse of Strata's existing expert management and offloading mechanisms wherever technically possible.

These are potential capabilities for discussion, not expectations for an initial implementation.

Questions for the maintainers

  • Would a CANN/AscendCL backend fit within Strata's existing architecture, or would it require substantial restructuring?
  • Could the current expert caching and offloading mechanisms be reused?
  • Are there fundamental Ascend 310P hardware limitations that would make modern Qwen, GLM, or DeepSeek MoE inference impractical?
  • Could multiple Ascend NPUs cooperate on a single large model, or would independent model instances be more realistic?
  • For a mostly single-user workload, could this hardware provide acceptable interactive performance despite potentially lower compute throughput?
  • Would an experimental or community-maintained backend be something you'd consider accepting?

I understand this would be a significant feature requiring dedicated development and hardware validation. I'm primarily looking for a feasibility assessment and maintainer feedback on the potential scope before investing in the hardware.

What do you do today instead?

My current local inference setup uses two NVIDIA RTX 5060 Ti 16 GB GPUs, providing 32 GB of aggregate VRAM.

I've been using Strata to run Qwen3.8-Flash-Next, relying on its optimizations to make large MoE inference possible on consumer hardware.

This works, but the limited GPU memory makes it difficult to keep larger models and their experts resident in accelerator memory, increasing reliance on system RAM and offloading.

My current alternatives are:

  • Continue using my existing NVIDIA GPUs with Strata's memory and expert offloading.
  • Increase system RAM and NVMe performance to compensate for limited VRAM.
  • Purchase additional or higher-memory GPUs, potentially at significantly higher cost.

I'm investigating the Atlas 300I Duo because it could offer considerably more accelerator memory per euro, especially in a multi-card configuration.

I have not purchased or tested Ascend hardware yet. I'm trying to establish whether it would be a viable platform for Strata before making that investment.

Thanks again for your work. Strata has already made a real difference in what I can run locally!

Originally created by @longstone78 on GitHub (Nov 7, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5506 Area [Engine] (speed, kernels, models, the server and API) What do you want to do? First of all, congratulations on Strata! I've already been running Qwen3.8-Flash-Next on my local setup thanks to your work, and I'm genuinely impressed by what Strata makes possible on affordable consumer hardware, especially its MoE optimizations, expert caching, and memory offloading. I'm now evaluating building a more powerful personal AI workstation using Huawei Atlas 300I Duo accelerators, and I'd like to understand whether adding Huawei Ascend support would be technically feasible within Strata's architecture. My use case: personal homelab, not a production inference server This is an important distinction: I'm building a personal AI workstation, primarily for a single user, not a service handling hundreds or thousands of concurrent requests. My main workloads are: - AI-assisted coding and agentic software development. - Running large, capable open-weight MoE models locally. - Experimenting with new models and architectures. - Using reasonably long contexts when necessary. My priorities are: - Maximizing usable accelerator memory at an affordable cost. - Running larger and more capable models. - Achieving reasonable single-user interactive performance. - Efficient expert caching and memory/SSD offloading. - Keeping power consumption and hardware costs manageable. Maximum aggregate throughput is not my priority. I'd happily trade some throughput for the ability to run a significantly larger or more capable model locally, provided interactive generation speed remains usable. Hardware: Huawei Atlas 300I Duo Each Atlas 300I Duo provides: - 96 GB aggregate memory (2 × 48 GB across two Ascend 310P NPUs). - PCIe 4.0 x16 interface. - Approximately 150 W maximum board power. - Relatively affordable pricing on the Chinese market. A workstation with four cards would provide 384 GB of aggregate accelerator memory across eight NPUs, although this is distributed memory, not a single unified pool. This could be an interesting alternative to expensive high-memory professional GPUs. Proposed functionality I'd like to explore the feasibility of a Huawei Ascend backend using CANN/AscendCL, initially targeting the Ascend 310P. The goal would be to support large MoE model families, including: - Qwen3.8-Flash-Next and future Qwen MoE architectures. - GLM large MoE models. - DeepSeek V4 / V4.1 Flash and future variants. - Other sparse MoE architectures supported by Strata. Ideally, such a backend could eventually provide: 1. Efficient MoE expert execution and routing on Ascend NPUs. 2. Expert caching and offloading between NPU memory, system RAM, and NVMe. 3. Support for both NPUs on a single Atlas 300I Duo. 4. Multi-card execution, potentially scaling to four cards. 5. Low-bit quantization support appropriate for large MoE models. 6. Reuse of Strata's existing expert management and offloading mechanisms wherever technically possible. These are potential capabilities for discussion, not expectations for an initial implementation. Questions for the maintainers - Would a CANN/AscendCL backend fit within Strata's existing architecture, or would it require substantial restructuring? - Could the current expert caching and offloading mechanisms be reused? - Are there fundamental Ascend 310P hardware limitations that would make modern Qwen, GLM, or DeepSeek MoE inference impractical? - Could multiple Ascend NPUs cooperate on a single large model, or would independent model instances be more realistic? - For a mostly single-user workload, could this hardware provide acceptable interactive performance despite potentially lower compute throughput? - Would an experimental or community-maintained backend be something you'd consider accepting? I understand this would be a significant feature requiring dedicated development and hardware validation. I'm primarily looking for a feasibility assessment and maintainer feedback on the potential scope before investing in the hardware. What do you do today instead? My current local inference setup uses two NVIDIA RTX 5060 Ti 16 GB GPUs, providing 32 GB of aggregate VRAM. I've been using Strata to run Qwen3.8-Flash-Next, relying on its optimizations to make large MoE inference possible on consumer hardware. This works, but the limited GPU memory makes it difficult to keep larger models and their experts resident in accelerator memory, increasing reliance on system RAM and offloading. My current alternatives are: - Continue using my existing NVIDIA GPUs with Strata's memory and expert offloading. - Increase system RAM and NVMe performance to compensate for limited VRAM. - Purchase additional or higher-memory GPUs, potentially at significantly higher cost. I'm investigating the Atlas 300I Duo because it could offer considerably more accelerator memory per euro, especially in a multi-card configuration. I have not purchased or tested Ascend hardware yet. I'm trying to establish whether it would be a viable platform for Strata before making that investment. Thanks again for your work. Strata has already made a real difference in what I can run locally!
Author
Owner

@github-actions[bot] commented on GitHub (Nov 7, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6709506116 --> @github-actions[bot] commented on GitHub (Nov 7, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
bsakaguchi changed title from [GH-ISSUE #5506] Feature Request: Huawei Ascend 310P / Atlas 300I Duo backend for local MoE inference to [GH-ISSUE #5506] [Engine] Add Huawei Ascend 310P / Atlas 300I Duo backend for MoE inference 2026-11-08 00:46:31 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 7, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6710078509 --> @github-actions[bot] commented on GitHub (Nov 7, 2026): Thanks, this follows the format now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#5477
No description provided.