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

Abierto
#782 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp
Área
cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
C++
Estrellas
2.1k
Forks
184
Merge medio
12 h 22 min
PR fusionados (30 d)
239

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ROCm/FastFlowLM

Todos los issues de ROCm/FastFlowLM

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.