Skip to content

ndluna21/nanochat-ascend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 nanochat-ascend - Lightweight AI Chat for LLM Training

Download nanochat-ascend


📋 What is nanochat-ascend?

nanochat-ascend is a special version of nanochat designed to run on Ascend NPUs. It is built to help with training large language models (LLMs) using torch_npu and HCCL technology. This software is experimental and focuses on using Huawei Ascend hardware for AI model training.

The goal is to let you run AI chat and training tools smoothly on devices with Ascend NPUs. It offers basic chat features combined with training capabilities suited for researchers and developers who use Huawei’s AI chips.


🖥️ System Requirements

Before downloading and running nanochat-ascend, make sure your PC meets these requirements:

  • Windows 10 64-bit or newer version
  • Huawei Ascend NPU device installed and properly set up
  • At least 8 GB of RAM
  • Minimum 10 GB free disk space
  • Nvidia CUDA drivers NOT required (uses Ascend's torch_npu)
  • Administrator rights to install software and drivers

🌐 Supported Hardware and Software

nanochat-ascend works specifically with Huawei Ascend AI processors. It uses CANN (Compute Architecture for Neural Networks) and HCCL (Huawei Collective Communication Library) for distributed training.

You will need:

  • Huawei Ascend NPU device access
  • Ascend CANN software stack installed
  • PyTorch framework with torch_npu extension enabled
  • Your system configured for multi-core Ascend training node use

🛠️ Installation Steps

Follow these steps to install nanochat-ascend on your Windows machine:

  1. Visit the download page

    Click here to visit the releases page:
    Download nanochat-ascend releases

  2. Choose the right installer

    Look for the latest Windows installer file. It will have .exe as the file extension.

  3. Download the installer

    Click on the .exe file link to download it to your PC.

  4. Run the installer

    Double-click the downloaded file. Follow the instructions on the screen.

  5. Allow permissions

    If Windows asks for permission to run the app or install drivers, approve it.

  6. Wait for installation to finish

    The installer will copy files and set up the program.

  7. Check your environment

    After installation, verify that your Huawei Ascend NPU drivers and CANN software are properly installed.

  8. Restart your PC

    Restarting helps the system fully enable the Ascend software and drivers.


🚀 Running nanochat-ascend for the First Time

  1. Find the nanochat-ascend shortcut on your desktop or Start menu.
  2. Double-click to launch the program.
  3. The chat window will open. You can type your messages or commands here.
  4. To train or test your model, follow the on-screen prompts or refer to the usage guide below.

🧑‍💻 How to Use nanochat-ascend

nanochat-ascend lets you chat with language models and also run training tasks on Ascend NPUs.

  • Chat Mode: Type your message and receive responses generated by the AI model.
  • Training Mode: Load your training data and start model training using torch_npu modules.
  • Settings: Adjust device options and training configurations.

You can switch between modes via the menu bar in the application window.


⚙️ Configuring Your Environment

Make sure your Windows PC is set to use the Ascend AI platform properly:

  • Install the latest version of the Ascend CANN toolkit from Huawei’s official site.
  • Configure environment variables such as ASCEND_HOME and include paths to CANN binaries in your PATH.
  • Confirm torch_npu is installed with a compatible PyTorch version.
  • Check that HCCL cluster settings are correctly set if using multiple Ascend devices.

💾 Updating nanochat-ascend

Check the releases page regularly for updates:
Download nanochat-ascend releases

Updates may include bug fixes, new features, and improved hardware support.

To update:

  1. Download the new installer as described in the installation section.
  2. Run the new installer; it will overwrite existing files automatically.
  3. Restart your PC to apply changes.

❓ Troubleshooting

  • App doesn’t launch: Verify Ascend drivers and CANN toolkit are installed. Restart the system.
  • Training errors: Check if your data format matches the expected input. Confirm torch_npu is set up correctly.
  • NPU not detected: Ensure Ascend hardware is connected and visible in device manager.
  • Slow performance: Close other heavy programs and check GPU/NPU usage via Huawei monitoring tools.

📚 Additional Resources

  • Huawei official Ascend developer guides
  • torch_npu and PyTorch documentation
  • nanochat open-source repository for base code reference

🏷️ Topics

ascend, cann, hccl, huawei-ascend, llm, llm-training, nanochat, npu, pytorch, torch-npu


Download nanochat-ascend

About

Run nanochat training efficiently on Huawei Ascend NPUs with minimal code changes, supporting tokenizer, pretraining, and evaluation workflows.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors