Overview of torch_musa
mainWhat is torch_musa?
torch_musa is a Python package that extends PyTorch to enable users to leverage the computing power of Moore Threads (MUSA) GPUs.
Key Features
- API Compatibility: The interface is consistent with PyTorch. Users can migrate smoothly by switching device strings from
cpuorcudatomusa. - Migration Tools: Provides tools for CUDA code migration, building MUSA extensions, and debugging.
- Advanced Optimizations: Supports features like Dynamic Double Casting and Unified Memory Management.
- C/C++ Extension API: Offers an efficient API for writing custom operators or network layers in C/C++ with minimal boilerplate.