Azure Foundry Local : OpenAI‑compatible lokal API, cihazda model idarəetməsi

Azure Foundry Local : OpenAI‑compatible lokal API, cihazda model idarəetməsi
16

2026 suverenlik xəttində Foundry Local “cloud dependency olmadan” lokal inferens üçün strateji prime-time alətdir: CLI ilə model download/run, OpenAI‑compatible REST surface və müxtəlif hardware acceleration (NPU/GPU/CPU) ssenariləri ilə “build once, run locally” yanaşmasını praktikləşdirir . Microsoft-un 2026 Sovereign Cloud yeniləmələri Foundry Local-un qualified müştərilər üçün böyük AI modellərini tam disconnected mühitlərdə lokal NVIDIA infrastrukturu üzərində işlədə bilməsini ayrıca vurğulayır .

Background:


Edge/endpoint AI-də əsas çətinliklər: model paketləmə, hardware uyğunsuzluğu, API səthinin fərqli olması, offline işləmə tələbi və təhlükəsizlik. 2026 Foundry Local sənədləri OpenAI‑compatible API ilə “drop-in replacement” tipli inteqrasiyanı, CLI/SDK/REST yanaşmalarını və preview statusuna görə dəyişkənlik riskini açıq bildirir .

Yeni funksiya/xidmətin detallı izahı:
– Quraşdırma və idarəetmə “CLI-first”: foundry model list/run/load/unload, foundry service status/restart, foundry cache list kimi komandalarla həm model kataloqu, həm servis, həm də cache lifecycle idarə olunur .
– OpenAI‑compatible REST: Foundry Local REST API “Chat Completions” səthinin OpenAI Chat Completions API ilə tam uyğun olduğunu qeyd edir; bu, mövcud client-lərin minimal dəyişikliklə lokala yönləndirilməsinə imkan verir .
– Sovereign/offline böyük modellər: Microsoft 2026 anonsu Foundry Local-un “large AI models” üçün disconnected sovereign mühitlərdə dəstəyini və NVIDIA kimi partnyor infrastrukturu üzərində lokal multimodal inferens imkanını vurğulayır .

Arxitektura (Mermaid):

flowchart LR
  App[Your app\n(.NET/JS/Python)] –>|HTTP| LocalAPI[Foundry Local\nOpenAI-compatible REST]
  LocalAPI –> Service[Foundry Local Service]
  Service –> EP[Execution Providers\nCPU/GPU/NPU]
  EP –> Models[Local Model Cache]
  CLI[foundry CLI] –> Service
  CLI –> Models

Step-by-step quraşdırma + test + troubleshooting (komandalar):
1) Install (Windows):

winget install Microsoft.FoundryLocal
foundry –version

Docs bu yolu “Quick CLI setup” kimi verir .
2) Install (macOS, Homebrew):

brew tap microsoft/foundrylocal
brew install foundrylocal
foundry –version


3) Servis status və endpoint-i yoxlayın:

foundry service status

CLI reference “quick verification” kimi bunu tövsiyə edir .
4) İlk model run:

foundry model run qwen2.5-0.5b


5) Model kataloqu və hardware uyğunluğu:

foundry model list
foundry model info qwen2.5-0.5b –license

Model list ilk dəfə execution provider-ları endirə bilər, license yoxlaması da best practice kimi verilir .
6) REST ilə “drop-in” test (lokal chat completion):
Aşağıdakı nümunə OpenAI‑compatible /v1/chat/completions endpoint-i istifadə edir (port dəyəri foundry service status çıxışına görə dəyişir):

curl http://localhost:PORT/v1/chat/completions \
  -H “Content-Type: application/json” \
  -d ‘{
    “model”: “qwen2.5-0.5b”,
    “messages”: [{“role”:”user”,”content”:”Explain why the sky is blue.”}],
    “temperature”: 0.2
  }’

API-nin OpenAI Chat Completions ilə uyğunluğu və request body sahələri REST reference-də izah olunur .

Troubleshooting checklist (2026 docs):
– Request to local service failed kimi servis bağlantı xətalarında ən birinci foundry service restart tövsiyə edilir .
– Model download problemi: foundry cache list ilə cache statusunu yoxlayın .
– Port binding/permission: foundry zip-logs ilə log bundle yaradıb issue kimi paylaşmaq tövsiyə olunur .
– REST API “breaking changes” riski: REST reference preview API üçün changelog-u izləməyi tövsiyə edir .

Praktik use-case-lər:
– Sovereign AI: tam disconnected “sovereign operational boundary” daxilində lokallaşdırılmış multimodal inferens .
– Low-latency UX: real-time UI/agent interaction üçün cloud roundtrip olmadan lokal inferens.
– Gizlilik: sensitive data-nın cihazdan çıxmaması (tətbiq dizaynına bağlı olaraq) .

Limitasiyalar:
– Foundry Local “preview” olduğuna görə capability və API səthi dəyişə bilər; REST API üçün breaking change ehtimalı xüsusi qeyd olunur .
– Best practice sənədinə görə Foundry Local “distributed/multi-machine production deployments” üçün nəzərdə tutulmur .
– “Large models” availability: Microsoft anonsunda yalnız “qualified customers” üçün qeyd edilir — dəqiq kvalifikasiya meyarları unspecified .


Bu məqaləyə münasibətiniz necə oldu?
  • xo_uma_g_lir
    Xoşuma gəlir
    0
  • alq_lay_ram
    Alqışlayıram
    0
  • _yl_ndim
    Əyləndim
    0
  • _ox_m_mnun_qald_m
    Çox məmnun qaldım
    0
  • _m_n_d_nc_liy_m
    Mən düşüncəliyəm
    0
  • m_yus_oldum
    Məyus oldum
    0
  • m_n_ox_q_z_bliy_m
    Mən çox qəzəbliyəm
    0
9420 Bal
Müəllifin Profili

IT Manager |IT Auditor|IT Consultant IT Trainer|☁ Azure Arch |MCT|MCEAE|MCASEA|MCAAEA|MCASAE|PCNSE|VCAP|CCNP2x|RHCE|HCIP|GCP|AWS|ITILv4®MP|ITILv4®SL|PMP®|CEHv11M|CISA|CISM|CRISC|CGEIT|COBIT5 Microsoft Azure Architect & Enterprise System Expert with an engineer’s Degree Information Technology with more than 10 years expoeriencce in Windows Server and Cloud Infrastructure Administration. Solid knowledge and work experience in TCP/IP, routing protocols, LAN and WAN with Cisco routers,Switches,UTM Firewalls and Load Balancers including configuration,maintenance and traffic monitoring. As a volunteer for several organizations, I plan events, trainings, and seminars connected to Microsoft products.

Sizin e-poçt ünvanınız dərc edilməyəcəkdir. Gərəkli sahələr * ilə işarələnmişdir

ŞƏRHLƏR (16)

  1. This deep dive into game mechanics is really helpful. I noticed the payment options listed, which is key for local players. For more structured analysis, check out hannacasino casino; it feels very comprehensive.

  2. I was skeptical about these odds until I checked Nustar App slot; the 98.1% withdrawal rate and transparent RNG finally convinced me this platform delivers on its statistical promises for serious players today.

  3. Scratch cards always felt like pure luck, but platforms like JL2 are changing that! It’s cool seeing mobile-first designs & security prioritized. Thinking of checking out a jl2 slot download – seems legit & easy to use, especially with that step-by-step guide! Fun stuff. 😄

  4. Man, the platform integration sounds solid! For deep dives into game mechanics, check out d188 login. It’s got a nice feel, but the math behind the odds is what really hooks me. 😉

  5. [9275]4777bat Official Login | সেরা অনলাইন স্লট ও ক্যাসিনো গেমস,4777bat-এ লগইন করে উপভোগ করুন সেরা অনলাইন স্লট ও ক্রাশ গেম। বিকাশ দিয়ে সহজ ডিপোজিট এবং অ্যাপ ডাউনলোড করে আজই খেলা শুরু করুন। visit: 4777bat

  6. The focus on mobile usability here is key; it mirrors how modern platforms must function. Reviewing this against okada app download apk confirms that accessibility trumps everything now. Fascinating analysis!

  7. The cultural deep dive here is spot on; it nails how modern gaming intersects with ritualistic fun. For more insights into the ecosystem, check out bongdanet slot download. Really comprehensive read!

  8. Been analyzing the patterns, and while the casino variety is tempting, remember the stats! For a solid starting point, check out fb777pro login download. Seems like the mobile access is key here.

  9. Such a chill vibe and the bonuses for new users are actually generous. I’ve tried many sites but bet55game stands out for its honesty.

  10. Super smooth app and very intuitive navigation. I can spend hours on phrubyapp without any glitches. Five stars from me!

  11. Really impressed with the interface here. It is very user friendly and the response time is incredibly fast. Definitely my new go to spot, check out br1658com.

  12. Hands down one of the best gaming experiences I have had in a while. The graphics are crisp and the gameplay is fair. Check out vnnoci88 if you want some real action.

  13. Figuring out basic strategy is a journey! It’s like learning the perfect bet. Seeing the depth of 777game’s offerings reminds me of that curve. Check out 777game vip for more action!

  14. The app is incredibly lightweight and doesn’t lag even on my old phone. It makes the whole experience so much better. Check out 881betapp if you want something stable.

  15. Interesting breakdown; the wheel mechanics seem key. For deep analysis, I’d check out spin the wheel app casino for more data points. Good read overall!

  16. Finally found a legit strategic platform! Is Block Code legit? Yes! Their behavioral analytics help you master patterns. Check out Block Code online casino for real skill over blind luck today!

Bir cavab məqalən

Sizin e-poçt ünvanınız dərc edilməyəcəkdir. Gərəkli sahələr * ilə işarələnmişdir