Loading...
一、mac中 conda 虚拟环境创建(终端操作)1、查看Mac所有环境变量export 2、查看conda下的虚拟环境conda env list 3、在conda下创建虚拟环境conda create -n 环境名 python版本 conda create -n science_evn python=3.11.5 4、进入创建虚拟环境(4和5两个选一个使用)source activat...
一. 限制并发场景1:按照 ip 限制其并发连接数原理:lua_share_dict是nginx所有woker和lua runtime共享的,当一个请求进来,往lua_share_dict记录键值对ip地址:1,当请求完成时再-1,再来一个在+1,设置一个上限5,当超过5时则拒绝请求,一定要注意内部重定向的问题!新建utils/limit_conn.lua模块-p D:devopenrest...
下载 https://mirror.ghproxy.com/https://github.com/fishaudio/Bert-VITS2.git安装conda create -n vits python=3.9 -y conda activate vits pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudi...
https://github.com/SYSTRAN/faster-whisperconda create -n whisper python=3.9 -y conda activate whisper pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1 --extra-index-...
目录结构如下 project -- configure_login_defs.yml //脚本配置文件 -- inventory //服务器目录 -- host //服务器信息 脚本文件 configure_login_defs--- - name: Configure /etc/login.defs hosts: server become: yes tasks:...