2 Star 0 Fork 0

mirrors_apple/ml-sigmoid-attention

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.bash 751 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env bash
# Install flash-sigmoid.
echo "Attempting uninstall + reinstall of flash sigmoid ..."
pip uninstall -y flash_sigmoid
cd flash_sigmoid
MAX_JOBS=8 python3 setup.py install # If you face issues with random deaths turn MAX_JOBS down.
cd ..
echo "Completed Flash-Sigmoid installation [check for any errors in logs above]..."
# Install optorch
echo "Starting optorch install..."
cd optorch
pip install .
cd ..
echo "Completed optorch installation [check for any errors in logs above]..."
# Install attention_simulator
echo "Starting install of attention_simulator..."
pip install python-Levenshtein
cd attention_simulator
pip install .
cd ..
echo "Completed attention_simulator installation [check for any errors in logs above]..."
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_apple/ml-sigmoid-attention.git
git@gitee.com:mirrors_apple/ml-sigmoid-attention.git
mirrors_apple
ml-sigmoid-attention
ml-sigmoid-attention
main

搜索帮助