Posts

  • 使用 logrotate 管理日志

    添加配置文件 vi /etc/logrotate.d/cron /var/log/cron.log { rotate 4 monthly compress missingok notifempty } 验证配置文件是否生效 sudo logrotate /etc/logrotate.d/cronlog --debug
  • 安装 pytorch

    Install nvidia driver $ sudo apt install nvidia-driver-550 $ sudo reboot $ nvidia-smi Wed Mar 26 10:18:27 2025 +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 550.144.03 Driver ...
  • 音视频同步网络 syncnet

    https://www.robots.ox.ac.uk/~vgg/software/lipsync/ 在视频中消除音频和视觉流之间的时间延迟,以及 确定在视频中的多个面孔中谁在说话。 Dependencies git clone https://github.com/joonson/syncnet_python.git conda create -n syncnet_python python==3.10 conda activate syncnet_python pip inst...
  • DTLN 降噪

    Install git clone https://github.com/breizhn/DTLN.git conda create -n dtln python==3.10 conda activate dtln pip install soundfile librosa tensorflow wavinfo Inference python run_evaluation.py -i ./data/src/ -o ./data/target/ -m ./pretrained_mo...
  • 使用阿里源安装 docker

    https://docs.docker.com/engine/install/debian/ https://developer.aliyun.com/mirror/docker-ce?spm=a2c6h.13651102.0.0.3e221b11w2W4Vh sudo apt-get update sudo apt-get install ca-certificates curl gnupg sudo install -m 0755 -d /etc/apt/keyrings cur...
  • MacOS 系统下制作U盘镜像

    hdiutil convert -format UDRW -o ubuntu-22.04 ubuntu-22.04.4-desktop-amd64.iso diskutil list diskutil unmountDisk /dev/disk2 sudo dd if=ubuntu-22.04.dmg of=/dev/rdisk2 bs=1m diskutil eject /dev/disk2
  • 安装 flash-attention

    首先确保 pytorch 已经安装好 查看版本号选择 flash-attn 对应的版本 https://github.com/kvcache-ai/ktransformers/issues/410 $ python -c "import torch; print(torch.cuda.is_available()); print(torch.__version__); print(torch.version.cuda)" True 2.5.1+cu121 12.1 $ python ...
  • Install Hunyuanvideo

    layout: post title: “安装 HunyuanVideo” date: 2024-12-05 — https://github.com/Tencent/HunyuanV https://github.com/Tencent/HunyuanVideo/blob/main/ckpts/README.md # 克隆仓库 git clone https://github.com/tencent/HunyuanVideo cd HunyuanVideo # 创建虚拟环境 p...
  • flutter

    安装 jdk https://www.oracle.com/java/technologies/downloads/#jdk23-windows https://docs.flutter.dev/get-started/install/windows/mobile Expand-Archive ` –Path $env:USERPROFILE\Downloads\flutter_windows_3.24.5-stable.zip ` -Destination ...
  • install milvus

    Install Milvus in Docker https://milvus.io/docs/install_standalone-docker.md # Download the installation script $ curl -sfL https://raw.githubusercontent.com/milvus-io/milvus/master/scripts/standalone_embed.sh -o standalone_embed.sh # Start the...