Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

How to install and deploy Jan-nano to local environment?

2025-08-21 501
Link directMobile View
qrcode

Complete Guide to Local Deployment

Jan-nano provides a standardized local deployment process that is divided into 4 key steps:

  1. environmental preparation: Python 3.8+ and Git environment required, isolated virtual environment recommended (venv)
  2. Dependent Installation: Install transformers and vLLM libraries via pip for optimal inference performance
  3. Model Download: use the huggingface-cli tool to obtain official models or third-party quantized versions (e.g., bartowski's GGUF format)
  4. service activation: The vLLM engine starts up with care:
    • The basic version uses standard parameters--enable-auto-tool-choice
    • Configuration required for 128k version--rope-scalingParameters support extended contexts

Typical deployment example:
vllm serve Menlo/Jan-nano --port 1234 --enable-auto-tool-choice
After deployment, validation tests can be performed via REST API or Python requests library. Special note: You need to choose the appropriate quantization level according to the size of the video memory, 8GB device recommended Q4_K_M version.

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top


Fatal error: Uncaught wfWAFStorageFileException: Unable to save temporary file for atomic writing. in /www/wwwroot/www.kdjingpai.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:34 Stack trace: #0 /www/wwwroot/www.kdjingpai.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(658): wfWAFStorageFile::atomicFilePutContents() #1 [internal function]: wfWAFStorageFile->saveConfig() #2 {main} thrown in /www/wwwroot/www.kdjingpai.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 34