2026-08-26 RELEASE
MN-Core SDK v0.8 Released
MN-Core SDK v0.8 is released. Here is the release notes.
MN-Core SDK 0.8 : Release Notes
Added
- Set an upper limit for the number of annealing steps for
preset_optionsat optimization levels O2 and above. - Added the
io_spec_constraintsargument toContext.compileand theinput_specsandoutput_specsproperties toCompiledFunction. These APIs enable device-resident values to be passed directly between compiled functions without a host copy or DRAM-to-DRAM layout conversion. - Added the
whisper_inferenceadvanced example, which demonstrates speech recognition with Whisper and reports its word error rate on LibriSpeech. - Added the
Context.allocator_stateAPI for inspecting the device memory allocator state. - Added the
mlsdk.get_all_devicesAPI to list all available devices and their device types. - MNCL: Added
clCreateCommandQueueWithProperties, including optional Perfetto tracing support withCL_QUEUE_PERFETTO_ENABLE_MNCLfor profiling. - MNCL: Added program binary queries through
CL_PROGRAM_BINARY_SIZESandCL_PROGRAM_BINARIESto obtain MNCL device binary built byclBuildProgram. - MNCL: Added host scalar and vector types.
- MNCL: Added support for multiple kernel entry points that share global values.
- MNCL: Added new MN-Core 2 device builtins.
- MNCL: Added MNIR-backend, a backend to use a new intermediate representation for optimization, as an experimental feature.
- MNCL: Added MNCL Developer’s Manual.
Changed
- MNCL: IMPORTANT: Programs created with
clCreateProgramWithIL,clCreateProgramWithSourceorclCreateProgramWithBinarymust now be built withclBuildProgrambefore a kernel is created from them.
Deprecated
switch_contextfeature is deprecated. Although the function still exists, it is a thin dummy now.- MNCL: Deprecated
clCreateCommandQueuein favor ofclCreateCommandQueueWithProperties.
Fixed
- Fixed the hold and update behavior of the L1BM turnaround register (
$lbi) in the MN-Core 2 (GPFN3) emulator, and corrected the corresponding description in the MN-Core 2 Software Developer Manual. - Made various performance improvements and bug fixes across MN-Core SDK.
HotFix
When running the whisper_inference example program, apply the following patch first:
cd /opt/pfn/pfcomp/codegen/MLSDK/examples/whisper_inference/
cat << 'EOF' > fix.patch
@@ -16,7 +16,7 @@
python3 -m venv --system-site-packages ${VENV_DIR}
source ${VENV_DIR}/bin/activate
pip install -r ${CURRENT_DIR}/requirements.txt
- pip install -r ${CURRENT_DIR}/requirements_cpu.txt --index-url https://download.pytorch.org/whl/cpu
+ pip install --force-reinstall -r ${CURRENT_DIR}/requirements_cpu.txt --index-url https://download.pytorch.org/whl/cpu
else
source ${VENV_DIR}/bin/activate
fi
EOF
patch run_whisper_inference.sh < fix.patch