# ANNC **Repository Path**: openeuler/ANNC ## Basic Information - **Project Name**: ANNC - **Description**: 本项目已经迁移至 AtomGit || This project has been migrated to AtomGit || Linked: https://atomgit.com/openeuler/ANNC - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 20 - **Forks**: 17 - **Created**: 2025-01-22 - **Last Updated**: 2025-12-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: Compiler ## README # Notice: This project has been migrated to [AtomGit](https://atomgit.com/openeuler/ANNC) # 通知: 本项目已经正式迁移至 [AtomGit](https://atomgit.com/openeuler/ANNC) 平台 # aicompiler An AI compiler designed to optimize and compile ML model into high-performance executable code that can be executed on various targets. ### Build shared library ```bash bazel --output_user_root=./output build -c opt annc/service/cpu:libannc.so ``` ### Build static library ```bash bazel --output_user_root=./output build -c opt annc/service/cpu:annc ``` ### Build test ```bash bazel --output_user_root=./output build -c opt annc/tools/kp-opt:kp-opt bazel-bin/annc/tools/kp-opt/kp-opt {test_hlo_cluster_file.dat} ``` Use `--distdir=/path/to/proxy` to download files locally. Use `--copt="-g"` for debug mode.