Layr-Labs / Layr-Labs/d-inference

[bug] No longer able to use symlink for model directory

Open
#260 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
522
Forks
113
Avg merge
17h 26m
Merged PRs (30d)
111

Description

### Component

not sure

### What happened?

Normally I use a symlink for the huggingface hub because the model directory is quite large. In the last release the symlink is not recognized:

2026-05-30T13:59:48-0700 warning darkbloom.ModelScanner.Discovery: [ProviderCore] Failed to read cache directory /Users/MYUSERNAME/.cache/huggingface/hub: The file “hub” couldn’t be opened.

### Expected behavior

Darkbloom would use the symlink like it normally does.

### Steps to reproduce

Install 0.5.14
Symlink ~/.cache/huggingface to a folder somewhere else
Darkbloom start

### Environment

darkbloom 0.5.14
Mac Ultra M1 128GB
MacOS 26.5

### Logs

```shell

```

### Confirmations

- [x] I searched existing issues and this isn't a duplicate

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with Darkbloom 0.5.14 on macOS: symlink ~/.cache/huggingface to another folder, then launch Darkbloom and inspect the reported cache-directory warning. No source file or test is named, so trace the model-cache discovery path from that log message. Done means the symlinked Hugging Face cache is read successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface
Domain
desktop, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.