Skip to content

feat(docker): add data dir - #883

Merged
Mengsheng Wu (mengshengwu) merged 1 commit into
mainfrom
feat/remilia/add_linux_docker_data_dir
Nov 21, 2025
Merged

feat(docker): add data dir#883
Mengsheng Wu (mengshengwu) merged 1 commit into
mainfrom
feat/remilia/add_linux_docker_data_dir

Conversation

@RemiliaForever

Copy link
Copy Markdown
Contributor

change mount dir to /data, so user no longer needs to pass the complex /root/.cache/nexa.ai

docker run --rm -it --privileged \
  -v /path/to/data:/data \
  -e NEXA_TOKEN="YOUR_LONG_TOKEN_HERE" \
  nexa4ai/nexasdk infer NexaAI/Granite-4.0-h-350M-NPU

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the Docker mount configuration by introducing a user-friendly /data mount point instead of requiring users to mount the complex internal path /root/.cache/nexa.ai. The change creates a symlink from the internal cache directory to /data, making it easier for users to persist Nexa SDK data.

  • Adds a /data directory as the new recommended mount point for Docker volumes
  • Creates a symlink from /root/.cache/nexa.ai to /data for transparent redirection
  • Simplifies the Docker run command for end users

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mengshengwu
Mengsheng Wu (mengshengwu) merged commit cfe59a7 into main Nov 21, 2025
6 checks passed
@mengshengwu
Mengsheng Wu (mengshengwu) deleted the feat/remilia/add_linux_docker_data_dir branch November 21, 2025 15:45
Zack Li (zhiyuan8) pushed a commit that referenced this pull request Jun 10, 2026
ci: restructure test layout — flatten sdk/benchmark, drop duplicate Python benchmark, run model cells on QDC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants