[Issue]: Model weigths are being downloaded to `XDG_CONFIG_HOME`

Đang mở
#782 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
cli

Hướng nghiên cứu

The model download destination is derived from XDG_CONFIG_HOME, so start by finding where the download path is built and where the config directory is resolved, then reproduce with flm run qwen3.8-mtp:27b and watch the download progress lines. Done means the weights are stored under XDG_CACHE_HOME (falling back to ~/.cache when unset) while config files stay where they are. The issue does not say whether existing downloads should be migrated, so confirm that with a maintainer.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem Description

FastFlowLM downloads quite big binary blobs into the .config directory:

$ flm run qwen3.8-mtp:27b
[...]
[FLM]  Overall progress:  1/6 files
[FLM]  Downloading 2/6: model.q4nx
[FLM]  Downloading: 99.9% (16293.3MB / 16305.3MB)
[FLM]  Checking Hash...

The basedir specification (https://specifications.freedesktop.org/basedir/latest/#variables) would assume that this is instead placed into $XDG_CACHE_HOME (i.e. like the huggingface cli downloads into ~/.cache/huggingface/).

Operating System

Arch Linux (rolling release)

CPU

AMD Ryzen AI 5 340

GPU

Radeon 840M

ROCm Version

7.2.4

Installation Method

Package manager

Installed ROCm Packages / Versions
Installed ROCm packages / versions
pacman -Q | grep -iE "rocm|hip|amdgpu"
ggml-hip 0.26.0-1
hip-runtime-amd 7.2.4-1
hipblas 7.2.4-1
hipblas-common 7.2.4-1
hipblaslt 7.2.4-1
hipcub 7.2.4-1
hipfft 7.2.4-1
hiprand 7.2.4-1
hiprt 3.1.0.cb09c56-3
hipsolver 7.2.4-1
hipsparse 7.2.4-1
hipsparselt 7.2.4-1
linux-firmware-amdgpu 20260916-1
miopen-hip 7.2.4-1
ollama-rocm 0.40.3-1
onnxruntime-opt-rocm 1.29.0-3
python-pytorch-opt-rocm 2.14.1-1
rocm-cmake 7.2.4-1
rocm-core 7.2.4-1
rocm-dbgapi 7.2.4-1
rocm-device-libs 2:7.2.4-3
rocm-gdb 7.2.4-1
rocm-hip-libraries 7.2.4-1
rocm-hip-runtime 7.2.4-1
rocm-hip-sdk 7.2.4-1
rocm-language-runtime 7.2.4-1
rocm-llvm 2:7.2.4-3
rocm-llvm-libs 2:7.2.4-3
rocm-ml-libraries 7.2.4-1
rocm-ml-sdk 7.2.4-1
rocm-opencl-runtime 7.2.4-1
rocm-opencl-sdk 7.2.4-1
rocm-openmp 7.2.4-2
rocm-smi-lib 7.2.0-2
rocm-toolchain 0.4.0-2
rocminfo 7.2.4-1
xf86-video-amdgpu 25.0.0-1
ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of rocminfo --support
rocminfo --support output
Paste output here
Additional Information

No response

Ngôn ngữ chính
C++
Star
2.1k
Fork
184
Merge trung bình
12 giờ 22 phút
Pull request đã merge (30 ngày)
239

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ROCm/FastFlowLM

Tất cả issue của ROCm/FastFlowLM

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.