文件最后提交记录最后更新时间
docs:Modifying the CANN Environment Variable3 个月前
!2593 Readme update!11 个月前
!2593 Readme update!11 个月前
!2593 Readme update!11 个月前
!2376 【Readme update!!!】资料修正1 年前
!2376 【Readme update!!!】资料修正1 年前
!2389 add ut for npu_apply_fused_adamw_v2 operator1 年前
!1689 update readme for ema adam op1 年前
!1703 mc2 moe operator-shard H doc1 年前
!2258 docs : eod readme修改1 年前
!2593 Readme update!11 个月前
!1288 GMM+Add 适配1 年前
!1288 GMM+Add 适配1 年前
!2376 【Readme update!!!】资料修正1 年前
!2376 【Readme update!!!】资料修正1 年前
!2315 MindSpeed 版本维护策略更新1 年前
!2376 【Readme update!!!】资料修正1 年前
!2593 Readme update!11 个月前
!2258 docs : eod readme修改1 年前
!359 change ascendspeed to mindspeed2 年前
!2593 Readme update!11 个月前
README.md

How to run the ops?

previous installation

  • CANN
  • CANN-NNAL(Ascend-Transformer-Boost)
  • torch_npu

compile and install

1. set the environment variables

# Default path, change it if needed.
source /usr/local/Ascend/cann/set_env.sh

if use Ascend-Transformer-Boost

# Default path, change it if needed.
source /usr/local/Ascend/nnal/atb/set_env.sh 

2. include header files

  • newest torch_npu
  • newest cann

3. install scripts

python3 setup.py build
python3 setup.py bdist_wheel
pip3 install dist/*.whl --force-reinstall