[{"data":1,"prerenderedAt":459},["ShallowReactive",2],{"navigation_docs_en":3,"-en-guide-model-provider-deploy-fine-tuned-model":69,"-en-guide-model-provider-deploy-fine-tuned-model-surround":454},[4],{"title":5,"path":6,"stem":7,"children":8,"page":33},"Developer Guide","\u002Fen\u002Fguide","en\u002F01.guide",[9,12,34],{"title":5,"path":10,"stem":11},"\u002Fen\u002Fguide\u002Foverview","en\u002F01.guide\u002F01.overview",{"title":13,"path":14,"stem":15,"children":16,"page":33},"Model Provider","\u002Fen\u002Fguide\u002Fmodel-provider","en\u002F01.guide\u002F02.model-provider",[17,21,25,29],{"title":18,"path":19,"stem":20},"Overview","\u002Fen\u002Fguide\u002Fmodel-provider\u002Foverview","en\u002F01.guide\u002F02.model-provider\u002F01.overview",{"title":22,"path":23,"stem":24},"Deploy fine-tuned model","\u002Fen\u002Fguide\u002Fmodel-provider\u002Fdeploy-fine-tuned-model","en\u002F01.guide\u002F02.model-provider\u002F02.deploy-fine-tuned-model",{"title":26,"path":27,"stem":28},"Prepare model template","\u002Fen\u002Fguide\u002Fmodel-provider\u002Fprepare-model-template","en\u002F01.guide\u002F02.model-provider\u002F03.prepare-model-template",{"title":30,"path":31,"stem":32},"Official shipping channel","\u002Fen\u002Fguide\u002Fmodel-provider\u002Fshipping-channel","en\u002F01.guide\u002F02.model-provider\u002F04.shipping-channel",false,{"title":35,"path":36,"stem":37,"children":38,"page":33},"ISV","\u002Fen\u002Fguide\u002Fisv","en\u002F01.guide\u002F03.isv",[39,42,46,50,54,58,61,65],{"title":18,"path":40,"stem":41},"\u002Fen\u002Fguide\u002Fisv\u002Foverview","en\u002F01.guide\u002F03.isv\u002F01.overview",{"title":43,"path":44,"stem":45},"Prepare app template","\u002Fen\u002Fguide\u002Fisv\u002Fprepare-app-template","en\u002F01.guide\u002F03.isv\u002F02.prepare-app-template",{"title":47,"path":48,"stem":49},"Prepare arx.yaml","\u002Fen\u002Fguide\u002Fisv\u002Fprepare-arx-yaml","en\u002F01.guide\u002F03.isv\u002F03.prepare-arx-yaml",{"title":51,"path":52,"stem":53},"Prepare Helm chart","\u002Fen\u002Fguide\u002Fisv\u002Fprepare-helm-chart","en\u002F01.guide\u002F03.isv\u002F04.prepare-helm-chart",{"title":55,"path":56,"stem":57},"Publish for testing","\u002Fen\u002Fguide\u002Fisv\u002Fpublish-to-app-market","en\u002F01.guide\u002F03.isv\u002F05.publish-to-app-market",{"title":30,"path":59,"stem":60},"\u002Fen\u002Fguide\u002Fisv\u002Fshipping-channel","en\u002F01.guide\u002F03.isv\u002F06.shipping-channel",{"title":62,"path":63,"stem":64},"API model calls","\u002Fen\u002Fguide\u002Fisv\u002Fapi-model-calls","en\u002F01.guide\u002F03.isv\u002F07.api-model-calls",{"title":66,"path":67,"stem":68},"Mount Remote Storage","\u002Fen\u002Fguide\u002Fisv\u002Fmount-remote-storage","en\u002F01.guide\u002F03.isv\u002F08.mount-remote-storage",{"id":70,"title":71,"body":72,"description":447,"extension":448,"links":449,"meta":450,"navigation":451,"path":23,"seo":452,"stem":24,"__hash__":453},"docs_en\u002Fen\u002F01.guide\u002F02.model-provider\u002F02.deploy-fine-tuned-model.md","Deploy your fine-tuned model on an ARX device",{"type":73,"value":74,"toc":434},"minimark",[75,79,83,86,89,93,106,113,117,122,126,141,145,156,261,275,278,282,297,301,338,342,369,384,398,413,417],[76,77,18],"h2",{"id":78},"overview",[80,81,82],"p",{},"ARX runs on a server with GPU resources. Beyond the open-source models already listed in AI Model Center, you can also deploy models you have fine-tuned yourself.",[80,84,85],{},"Upload the fine-tuned model to your private Hugging Face repository and save a Hugging Face access token in ARX. AI Model Center can then find and deploy that model.",[80,87,88],{},"This article covers the model formats and files ARX requires, plus the full upload and deployment path.",[76,90,92],{"id":91},"what-youll-learn","What you'll learn",[94,95,96,100,103],"ul",{},[97,98,99],"li",{},"Check that your fine-tuned model's format and files meet ARX's requirements",[97,101,102],{},"Upload the model to a private Hugging Face repository",[97,104,105],{},"Download and deploy the model from AI Model Center",[80,107,108,112],{},[109,110,111],"strong",{},"Estimated time: about 20 minutes",", not counting upload and download time",[76,114,116],{"id":115},"applies-to","Applies to",[94,118,119],{},[97,120,121],{},"ARX OS 1.0 and later",[76,123,125],{"id":124},"before-you-begin","Before you begin",[94,127,128,138],{},[97,129,130,131],{},"You have a Hugging Face account and have saved an access token in ARX. See ",[132,133,137],"a",{"href":134,"rel":135},"https:\u002F\u002Fdocs.ardge.com\u002Fen\u002Fknowledge\u002Farx-os\u002Fhuggingface-token",[136],"nofollow","Register a Hugging Face account and get an access token",[97,139,140],{},"Your account has access to AI Model Center",[76,142,144],{"id":143},"supported-formats-and-required-files","Supported formats and required files",[80,146,147,148,151,152,155],{},"ARX supports two weight formats: ",[109,149,150],{},"safetensors"," and ",[109,153,154],{},"GGUF",". Before uploading, check that your repository contains these files:",[157,158,159,175],"table",{},[160,161,162],"thead",{},[163,164,165,169,172],"tr",{},[166,167,168],"th",{},"File",[166,170,171],{},"Purpose",[166,173,174],{},"When it's required",[176,177,178,193,205,217,235,248],"tbody",{},[163,179,180,187,190],{},[181,182,183],"td",{},[184,185,186],"code",{},"config.json",[181,188,189],{},"Model architecture settings",[181,191,192],{},"Always",[163,194,195,200,203],{},[181,196,197],{},[184,198,199],{},"tokenizer.json",[181,201,202],{},"The tokenizer itself",[181,204,192],{},[163,206,207,212,215],{},[181,208,209],{},[184,210,211],{},"tokenizer_config.json",[181,213,214],{},"Tokenizer settings",[181,216,192],{},[163,218,219,230,233],{},[181,220,221,222,225,226,229],{},"Weight files (",[184,223,224],{},"*.safetensors"," or ",[184,227,228],{},"*.gguf",")",[181,231,232],{},"Model weights",[181,234,192],{},[163,236,237,242,245],{},[181,238,239],{},[184,240,241],{},"model.safetensors.index.json",[181,243,244],{},"Shard index for the weights",[181,246,247],{},"When the weights are split across several files",[163,249,250,255,258],{},[181,251,252],{},[184,253,254],{},"preprocessor_config.json",[181,256,257],{},"Input preprocessing settings",[181,259,260],{},"For vision models",[262,263,264,269],"tip",{},[80,265,266],{},[109,267,268],{},"Fine-tuning a popular open-source model? Most files carry over:",[80,270,271,272,274],{},"You can usually take these files from the original model's repository. Only ",[184,273,186],{}," needs updating to match how you fine-tuned the model.",[80,276,277],{},"ARX supports vLLM, NVIDIA vLLM, Llama.cpp, and Faster Whisper as deployment engines. You choose the engine yourself — the interface walks you through it when you download the model in Step 3.",[76,279,281],{"id":280},"step-1-check-that-the-model-files-are-complete","Step 1: Check that the model files are complete",[283,284,285,288,291],"ol",{},[97,286,287],{},"Review your fine-tuned model directory against the file list above",[97,289,290],{},"Add any missing files",[97,292,293,294,296],{},"Update ",[184,295,186],{}," to match how you fine-tuned the model",[76,298,300],{"id":299},"step-2-upload-the-model-to-a-private-hugging-face-repository","Step 2: Upload the model to a private Hugging Face repository",[283,302,303,312,318,325,332],{},[97,304,305,306,311],{},"Sign in to Hugging Face and go to ",[132,307,310],{"href":308,"rel":309},"https:\u002F\u002Fhuggingface.co\u002Fnew",[136],"huggingface.co\u002Fnew"," to create a model repository",[97,313,314,315],{},"Enter a repository name and set the visibility to ",[109,316,317],{},"Private",[97,319,320,321,324],{},"Open the repository's ",[109,322,323],{},"Files and versions"," tab",[97,326,327,328,331],{},"Click ",[109,329,330],{},"Add file › Upload files"," and select your model files",[97,333,334,335],{},"Write a commit message, then click ",[109,336,337],{},"Commit changes",[76,339,341],{"id":340},"step-3-download-and-deploy-from-ai-model-center","Step 3: Download and deploy from AI Model Center",[283,343,344,351,357,360,366],{},[97,345,346,347,350],{},"Open AI Model Center and go to the ",[109,348,349],{},"Model Hub"," page",[97,352,353,354,324],{},"Switch to the ",[109,355,356],{},"Hugging Face",[97,358,359],{},"Search for the model you uploaded — its card appears in the results",[97,361,327,362,365],{},[109,363,364],{},"Download & Deploy"," on the card",[97,367,368],{},"Follow the prompts to pick a deployment engine and its settings",[80,370,371,372,375,376,379,380,383],{},"The model downloads from Hugging Face; how long that takes depends on the model size and your network speed. Watch live progress on the ",[109,373,374],{},"Downloaded Model"," page. Deployment starts as soon as the download finishes — switch to the ",[109,377,378],{},"Model Instance"," page to follow it. The model is deployed once its status reads ",[109,381,382],{},"Running",".",[385,386,387,392],"warning",{},[80,388,389],{},[109,390,391],{},"Models in a private repository need an access token saved in ARX first:",[80,393,394,395,397],{},"Without a saved token, the ",[109,396,356],{}," tab won't find models in your private repository.",[262,399,400,405],{},[80,401,402],{},[109,403,404],{},"Check GPU capacity before deploying:",[80,406,407,408],{},"If the target GPU card doesn't have enough remaining capacity for the model's estimated usage, the system blocks the deployment. See ",[132,409,412],{"href":410,"rel":411},"https:\u002F\u002Fdocs.ardge.com\u002Fen\u002Fknowledge\u002Farx-os\u002Fgpu-vram-allocated",[136],"What does GPU VRAM Allocated mean?",[76,414,416],{"id":415},"related-articles","Related articles",[94,418,419,424,429],{},[97,420,421],{},[132,422,137],{"href":134,"rel":423},[136],[97,425,426],{},[132,427,412],{"href":410,"rel":428},[136],[97,430,431],{},[132,432,433],{"href":63},"Call on-premises models on ARX through the API",{"title":435,"searchDepth":436,"depth":436,"links":437},"",2,[438,439,440,441,442,443,444,445,446],{"id":78,"depth":436,"text":18},{"id":91,"depth":436,"text":92},{"id":115,"depth":436,"text":116},{"id":124,"depth":436,"text":125},{"id":143,"depth":436,"text":144},{"id":280,"depth":436,"text":281},{"id":299,"depth":436,"text":300},{"id":340,"depth":436,"text":341},{"id":415,"depth":436,"text":416},"Check your fine-tuned model against the formats and files ARX requires, upload it to a private Hugging Face repository, then download and deploy it from AI Model Center","md",null,{},{"title":22},{"title":71,"description":447},"t4ChYEGtswqH9QMgpx1o2AjKyvPC90LbeT7DGfHnX84",[455,457],{"title":18,"path":19,"stem":20,"description":456,"children":-1},"How ARX deploys your models: the interface path from a Hugging Face repository to a running model instance, the engines it supports, and the API your models answer on",{"title":26,"path":27,"stem":28,"description":458,"children":-1},"Write the ARX model template that lists your model in AI Model Center: the collection and variant layout, the model block that declares what the model is, its download sources, and the engines that serve it",1795763805989]