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

Aperta
#782 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C++
Stelle
2.1k
Fork
184
Merge medio
12h 22m
PR unite (30g)
239

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ROCm/FastFlowLM

Tutte le issue di ROCm/FastFlowLM

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.