MetaX-Tech Developer Forum 论坛首页
  • 沐曦开发者
search
Sign in
  • chevron_right Threads
  • label type:需求/bug
  • label 解决中

C500 QLoRA微调

XieShiJiangZeZi
2026年11月18日
chat_bubble_outline 7
  • link
    XieShiJiangZeZi
    Members 6 posts
    2026年11月18日 21:27 2026年11月18日 21:27
    link

    MACA Version: 3.9.0.29
    transformers 5.3.0
    bitsandbytes 0.45.2+maca3.8.0.10
    ImportError: Using bitsandbytes 4-bit quantization requires bitsandbytes: pip install -U bitsandbytes>=0.46.1
    降低transformers版本无法识别模型,5.3版本又要求bitsandbytes大于0.46.1,有没有解决方案?

  • link
    shuai_chen
    Members 1033 posts
    2026年11月19日 09:56 2026年11月19日 09:56
    link

    尊敬的开发者您好,请参考developer.metax-tech.com/forum/t/fa-tie-qian-bi-kan-jing-xiang-shi-yong-wen-ti-ti-wen-mo-ban/267/#post-4577
    按照模板补充详细信息

  • arrow_forward

    Thread has been moved from 公共.

    • By shuai_chen on 2026年11月19日 10:16.
  • link
    XieShiJiangZeZi
    Members 6 posts
    2026年11月19日 10:16 2026年11月19日 10:16
    link

    一、软硬件信息
    1.服务器厂家: 中国电科
    2.沐曦GPU型号:C500
    3.操作系统内核版本:Linux 4.19.90-89.11.v2401.ky10.aarch64
    4.是否开启CPU虚拟化:未知
    5.mx-smi回显:
    (base) [root@localhost hermes-agent]# mx-smi
    mx-smi version: 2.3.4

    =================== MetaX System Management Interface Log ===================
    Timestamp : Thu Nov 19 10:09:41 2026

    Attached GPUs : 2
    +---------------------------------------------------------------------------------+
    | MX-SMI 2.3.4 Kernel Mode Driver Version: 3.10.14 |
    | MACA Version: 3.9.0.29 BIOS Version: 1.29.1.0* |
    |------------------+-----------------+---------------------+----------------------|
    | Board Name | GPU Persist-M | Bus-id | GPU-Util sGPU-M |
    | Pwr:Usage/Cap | Temp Perf | Memory-Usage | GPU-State |
    |==================+=================+=====================+======================|
    | 0 MetaX C500 | 0 Off | 0000:01:00.0 | 0% Disabled |
    | 31W / 350W | 36C P0 | 863/65536 MiB | Available |
    +------------------+-----------------+---------------------+----------------------+
    | 1 MetaX C500 | 1 N/A | 0000:81:00.0 | 0% Disabled |
    | 33W / 350W | 37C N/A | 863/65536 MiB | Available |
    +------------------+-----------------+---------------------+----------------------+

    +---------------------------------------------------------------------------------+
    | Process: |
    | GPU PID Process Name GPU Memory |
    | Usage(MiB) |
    |=================================================================================|
    | no process found |
    +---------------------------------------------------------------------------------+
    6.docker info回显:
    (base) [root@localhost hermes-agent]# docker info
    Client:
    Version: 29.5.2
    Context: default
    Debug Mode: false

    Server:
    Containers: 24
    Running: 19
    Paused: 0
    Stopped: 5
    Images: 20
    Server Version: 29.5.2
    Storage Driver: overlayfs
    driver-type: io.containerd.snapshotter.v1
    Logging Driver: json-file
    Cgroup Driver: cgroupfs
    Cgroup Version: 1
    Plugins:
    Volume: local
    Network: bridge host ipvlan macvlan null overlay
    Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
    CDI spec directories:
    /etc/cdi
    /var/run/cdi
    Swarm: inactive
    Runtimes: io.containerd.runc.v2 runc
    Default Runtime: runc
    Init Binary: docker-init
    containerd version: 77c84241c7cbdd9b4eca2591793e3d4f4317c590
    runc version: v1.3.5-0-g488fc13
    init version: de40ad0
    Security Options:
    seccomp
    Profile: builtin
    Kernel Version: 4.19.90-89.11.v2401.ky10.aarch64
    Operating System: Kylin Linux Advanced Server V10 (Halberd)
    OSType: linux
    Architecture: aarch64
    CPUs: 128
    Total Memory: 509.8GiB
    Name: localhost.localdomain
    ID: e4135665-cd69-4c57-aa02-f1d0846e8e89
    Docker Root Dir: /var/lib/docker
    Debug Mode: false
    Experimental: false
    Insecure Registries:
    ::1/128
    127.0.0.0/8
    Live Restore Enabled: false
    Product License: Community Engine
    Firewall Backend: iptables+firewalld
    EnableUserlandProxy: true
    UserlandProxyPath: /usr/bin/docker-proxy
    7.镜像版本:cr.metax-tech.com/public-library/maca-pytorch:3.9.0.20-torch2.4-py310-kylinv11-arm64
    8.启动容器命令:sleep infinity
    9.容器内执行命令:accelerate launch --config_file fsdp_config.yaml train_lora.py --batch 2 --grad_accum 2
    二、问题现象
    见附件

    insert_drive_file
    1.txt

    Text, 6.6 KB, uploaded by XieShiJiangZeZi on 2026年11月19日.

  • link
    shuai_chen
    Members 1033 posts
    2026年11月19日 10:21 2026年11月19日 10:21
    link

    尊敬的开发者您好,您是哪个具体的模型微调

  • link
    XieShiJiangZeZi
    Members 6 posts
    2026年11月19日 10:21 2026年11月19日 10:21
    link

    Qwen3.8-27B-W8A8

  • link
    shuai_chen
    Members 1033 posts
    2026年11月19日 10:25 2026年11月19日 10:25
    link

    尊敬的开发者您好,请使用沐曦开发者社区ms-swift镜像

  • link
    XieShiJiangZeZi
    Members 6 posts
    2026年11月19日 10:30 2026年11月19日 10:30
    link

    是否有arm64版本镜像

  • link
    shuai_chen
    Members 1033 posts
    2026年11月19日 10:31 2026年11月19日 10:31
    link

    尊敬的开发者您好,请参考developer.metax-tech.com/forum/t/chang-jian-wen-ti-hui-zong/823/

arrow_upward Go to top
  • 沐曦开发者论坛
powered by misago