2026-10-15 RELEASE

MN-Core SDK v0.9 Released

MN-Core SDK v0.9 is released. Here is the release notes.

MN-Core SDK 0.9 : Release Notes

Added

  • Added the force_mncore2_16g argument to Context.compile to compile for the MN-Core 2 16 GiB DRAM configuration, even on an MN-Core 2 32 GiB device.
  • Added the total_bytes and allocated_bytes fields to Context.allocator_state to report the device memory capacity and usage in bytes summed over the whole package.
  • For kernels in Conv3D with a depth dimension of 1 (e.g., 1xKxK), we have implemented handling similar to that of Conv2D.
  • For cases in Conv3D where the kernel size and convolution size match, we have implemented handling similar to that of Gemm.
  • MNCL: Added clEnqueueCopyBuffer to copy data between buffers on the device.
  • MNCL: Added mnfft, an experimental clFFT-like FFT library, with its header mncl/mnfft.h and the mnfft example.
  • MNCL: Added the heatdiffusion example, a stencil computation with halo exchange.
  • MNCL: Added support for integer multiplication with runtime operands in device kernels. It is implemented with a slow shift-add sequence, and mnclc reports a warning for it.
  • MNCL: Added new MN-Core 2 device builtins.
  • MNACC: Added MNACC, a directive-based programming model for MN-Core, at /opt/pfn/pfcomp/hpc/mnacc. The mncc driver compiles C programs annotated with #pragma mnacc directives into MN-Core executables. Samples are provided at /opt/pfn/pfcomp/hpc/mnacc/share/mnacc/examples.
    • README: /opt/pfn/pfcomp/hpc/mnacc/README.md
    • Language reference (in Japanese): /opt/pfn/pfcomp/hpc/mnacc/doc/mnacc.pdf

Changed

  • Updated the llm_infer advanced example to compile both Prefill and Decode for MN-Core 2 by default, keeping the KV cache on the device between them for faster inference. Prefill or Decode can be run on CPU with --run_prefill_on_cpu or --run_decode_on_cpu, and the compilation results can be reused with --load_codegen_prefill and --load_codegen_decode. The --compile_prefill and --compile_decode options were removed.
  • Upgraded the timm version installed on the MN-Core SDK image from 0.9.2 to 1.0.3.
  • Upgraded the pfio version installed on the MN-Core SDK image from 2.7.1 to 2.8.0.
  • Downgraded the following Python packages installed on the MN-Core SDK image to match the environment in which MN-Core SDK is tested:
    • numpy: from 2.5.2 to 2.2.6
    • onnx: from 1.22.0 to 1.20.0
    • protobuf: from 7.36.0 to 5.29.3
    • huggingface-hub: from 1.28.0 to 0.36.0
    • boto3 and botocore: from 1.43.77 to 1.40.18
    • fsspec: from 2026.7.0 to 2025.2.0
  • MNCL: IMPORTANT: Moved MNCL from /opt/pfn/pfcomp/mncl to /opt/pfn/pfcomp/hpc/mncl. Update the paths in your settings, such as MNCL_PREFIX and PKG_CONFIG_PATH.
  • MNCL: Improved the experimental MNIR backend with new optimizations, and added the -O size and --fma-disabled options of mnclc for it.

Removed

  • Removed the environment variable CODEGEN_ENABLE_SET_PARTIAL_LOCATION.

Fixed

  • Fixed the device acquisition so that, when a specified MN-Core 2 device (e.g. mncore2:0) cannot be acquired for a reason other than being in use, such as a permission error on its lock files under /var/tmp/mncore, the cause is reported immediately instead of waiting and reporting the device as in use.
  • assemble3: Fixed the hazard checker to match the actual hardware behavior when the base address register (BAR) is used. The number of nops required after a BAR write may increase or decrease.
  • Added the missing Whisper copyright notice, full MIT license, and SDK credits for the whisper_inference example. Clarified the example’s source attribution and which dependencies are downloaded at runtime.
  • Made various performance improvements and bug fixes across MN-Core SDK.