Posts

  • 使用阿里源安装 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 ...
  • 安装 HunyuanVideo

    https://github.com/Tencent/HunyuanV https://github.com/Tencent/HunyuanVideo/blob/main/ckpts/README.md # 克隆仓库 git clone https://github.com/tencent/HunyuanVideo cd HunyuanVideo # 创建虚拟环境 python3 -m venv venv source venv/bin/activate # 安装依赖 pip inst...
  • 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...
  • 安装 GOT-OCR 2.0

    Install install dependencies git clone https://github.com/Ucas-HaoranWei/GOT-OCR2.0.git cd GOT-OCR2.0/GOT-OCR-2.0-master conda create -n got-ocr python==3.11 conda activate got-ocr pip install -e . download checkpoints pip install -U huggingf...
  • 安装 GLM-4

    Install GLM-4: https://github.com/THUDM/GLM-4 git clone https://github.com/THUDM/GLM-4.git cd GLM-4/basic_demo/ conda create -n GLM-4 python==3.11 onda activate GLM-4 pip install -r requirements.txt download checkpoints pip install modelscope...
  • 安装 ComfyUI

    Install git clone https://github.com/comfyanonymous/ComfyUI.git cd ComfyUI conda create -n comfyui python==3.11 conda activate comfyui pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu124 pip install -...
  • 安装 Stable Diffusion web UI

    Install git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui cd stable-diffusion-webui python -m venv venv source venv/bin/activate​ ./webui.sh --xformers http://localhost:7860/ 安装中文扩展 打开 Extensions » Available 取消勾选 localization...