[Engine] With ple-io=ram the whole machine hangs on strata launch

未关闭
#7,302 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
cpp, docker, linux

调研方向

Start by locating how Strata handles the ple-io=ram setting during model loading, then trace the loading path for the reported Swift IQ2_XS configuration and its CPU and memory usage. Reproduce with the supplied Docker settings and check whether the server remains responsive; done means the model loads without saturating the CPUs or freezing the machine.

由索引模型根据 Issue 内容生成。

描述

both cpus are at 98%, system unresponsive, does not accept new connections over ssh.

Had to power-cycle it to gain control back.

Strata docker built from source using nvidia cuda 12 image, Engine 0.1.69, cuda 12.

Problem: extreme cpu usage during model load
Environment: master, linux, docker, v100/32Gb, swift/IQ2_XS
Reproduce:

 strata:
    image: strata:local
    environment:
      FAMILY: swift
      MODEL: IQ2_XS
      CONTEXT: 262144
      PARALLEL: ""
      VISION: cpu
      KV: int8
      DRAFTING: mtp
      DRAFT_VOCAB: cjk
      # TUNE: quick
      # RETUNE: 1
      TUNE: skip
      API_KEY: local
      STRATA_WATCHDOG_S: 1200
      # STRATA_NUMA_ARENA: 1
      STRATA_SET: ple-io=ram
    volumes:
      - strata-data:/data
    shm_size: "16gb"
    # nvidia-smi topo -m
    cpuset: "0-7"
    ulimits:
      memlock:
        soft: -1
        hard: -1
    networks:
      - back
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]

Expected: responding strata server
Actual: system freeze, model never loads
Evidence: Load average: 142.38 123.95 82.00
Reproduction status: reproduced locally

主要语言
C++
星标
11.6k
派生
1k
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Niko1221/Strata 的其他 Issue

查看 Niko1221/Strata 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。