View in English

  • Apple Developer
    • 시작하기

    시작하기 탐색

    • 개요
    • 알아보기
    • Apple Developer Program

    알림 받기

    • 최신 뉴스
    • Hello Developer
    • 플랫폼

    플랫폼 탐색

    • Apple 플랫폼
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store

    피처링

    • 디자인
    • 배포
    • 게임
    • 액세서리
    • 웹
    • 홈
    • CarPlay
    • 기술

    기술 탐색

    • 개요
    • Xcode
    • Swift
    • SwiftUI

    피처링

    • 손쉬운 사용
    • AI 및 머신러닝
    • 앱 인텐트
    • Apple Intelligence
    • 게임
    • 보안
    • Xcode Cloud
    • 커뮤니티

    커뮤니티 탐색

    • 개요
    • Apple과의 만남 이벤트
    • 커뮤니티 주도 이벤트
    • 개발자 포럼
    • 오픈 소스

    피처링

    • WWDC
    • Swift Student Challenge
    • 개발자 이야기
    • App Store 어워드
    • Apple 디자인 어워드
    • 문서

    문서 탐색

    • 문서 라이브러리
    • 기술 개요
    • 샘플 코드
    • 휴먼 인터페이스 가이드라인
    • 비디오

    릴리즈 노트

    • 피처링 업데이트
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • tvOS
    • Xcode
    • 다운로드

    다운로드 탐색

    • 모든 다운로드
    • 운영 체제
    • 애플리케이션
    • 디자인 리소스

    피처링

    • Xcode
    • TestFlight
    • 서체
    • SF Symbols
    • Icon Composer
    • 지원

    지원 탐색

    • 개요
    • 도움말
    • 개발자 포럼
    • 피드백 지원
    • 문의하기

    피처링

    • 계정 도움말
    • 앱 심사 지침
    • App Store Connect 도움말
    • 새로 추가될 요구 사항
    • 계약 및 지침
    • 시스템 상태
  • 빠른 링크

    • 이벤트
    • 뉴스
    • 포럼
    • 샘플 코드
    • 비디오
 

비디오

메뉴 열기 메뉴 닫기
  • 컬렉션
  • 전체 비디오
  • 소개

더 많은 비디오

  • 소개
  • 요약
  • 머신 러닝 및 AI 그룹 랩

    Apple 엔지니어 및 디자이너들과 함께 WWDC26를 심층적으로 소개하는 세션에 온라인으로 함께하세요. 질문을 하고, 조언을 얻으며, 일주일간의 머신 러닝 및 AI 관련 주요 발표 내용들에 대한 토론을 확인할 수 있습니다. 영어로 진행됩니다.

    챕터

    • 0:00:00 - Introduction
    • 0:04:44 - How should developers decide whether a task is better handled by on-device Foundation Models versus Private Cloud Compute?
    • 0:09:25 - I set up Agent mode in Xcode with a local LLM via opencode ACP, but responses are slow and show a <|im_end|> tag. What else should I configure — did I set the chat template wrong?
    • 0:12:24 - Can a local LLM (via MLX-LM, or a model we trained ourselves with Core AI) act as a coding agent that manipulates the Xcode project, not just chat — and how?
    • 0:15:07 - Apple updates the on-device and PCC models silently, causing tuned prompts to regress. Is there a runtime model-version identifier so my Evaluations suite can detect a change and gate releases?
    • 0:18:58 - Can Foundation Models run from widgets, App Intents, or background tasks for classification at capture time when the app isn't foregrounded? What rate/thermal limits apply?
    • 0:21:25 - How can developers create or adapt models to their own app's data and domain — e.g. stylized profile images, or an adaptive how-to guide? Best resources?
    • 0:28:50 - What use cases are currently best suited for the Foundation Models framework, and which should developers avoid?
    • 0:32:27 - Where should a beginner start to learn about AI/ML, and what resources do you recommend?
    • 0:37:15 - Is everything we can do in PyTorch importable to Core AI / the Apple ecosystem? What's possible and what's not?
    • 0:42:56 - What's the best UX when Foundation Models are unavailable (older device, Apple Intelligence off, low battery)? Can we detect availability early and pre-warm to cut first-request latency?
    • 0:46:58 - How should we migrate from Core ML to Core AI — do we wait a year or two for device adoption, or is there a faster path?
    • 0:49:03 - What's the maximum on-device local model size we can bring into our app before we should consider Private Cloud Compute?
    • 0:53:32 - How do you decide when AI should help the user versus when it should stay out of the way?
    • 0:58:52 - For older iPhones without Apple Intelligence we use a self-hosted LLM backend. On iOS 27, is wrapping it in a custom LanguageModel provider the recommended path so one LanguageModelSession serves all devices? Any pitfalls?

    리소스

      • HD 비디오
      • SD 비디오
  • 비디오 검색…
    • 0:00:00 - Introduction
    • Engineers from the machine learning and AI frameworks teams introduce themselves and set up a session covering the Foundation Models framework, on-device versus Private Cloud Compute models, Core ML and Core AI, MLX, bringing custom and local models to Xcode, and evaluation-driven development.

    • 0:04:44 - How should developers decide whether a task is better handled by on-device Foundation Models versus Private Cloud Compute?
    • Drive the decision with evaluations. Concretely, the main differences are context size and capability: the on-device system model has a 4K context, while the Private Cloud Compute server model offers 32K and stronger reasoning. Use on-device for lightweight, latency- and privacy-sensitive tasks that fit its window, and reach for PCC when you need a larger context or deeper reasoning.

    • 0:09:25 - I set up Agent mode in Xcode with a local LLM via opencode ACP, but responses are slow and show a <|im_end|> tag. What else should I configure — did I set the chat template wrong?
    • The stray end-of-turn token points at the chat template — you're on the right track. This is a model-serving detail: ensure the chat template you configure in your MLX server matches the model (e.g. Qwen), since a mismatched template leaves the end token in the output. It's not an Xcode/ACP issue but a local-model configuration one.

    • 0:12:24 - Can a local LLM (via MLX-LM, or a model we trained ourselves with Core AI) act as a coding agent that manipulates the Xcode project, not just chat — and how?
    • Yes, with a correction: Core AI is purely an inference framework, not a training one. To get agentic project manipulation (beyond chat), integrate your local model into Xcode over the ACP protocol rather than the chat path. You can bring your own model served via MLX; the ACP integration is what gives the agent the tools to act on the project.

    • 0:15:07 - Apple updates the on-device and PCC models silently, causing tuned prompts to regress. Is there a runtime model-version identifier so my Evaluations suite can detect a change and gate releases?
    • The practical signal today is the OS version. The on-device model ships as part of the OS and only changes with an OS update — it isn't pushed silently underneath a fixed OS — so key your evaluation gating to OS version. Re-run your evaluation suite against new OS seeds to catch prompt regressions before release.

    • 0:18:58 - Can Foundation Models run from widgets, App Intents, or background tasks for classification at capture time when the app isn't foregrounded? What rate/thermal limits apply?
    • Yes — the on-device model can run in the background and in widgets. But under system load you may hit rate limiting, which simply means back off and try again later. Design around this: treat classification as best-effort with retry, rather than assuming an immediate background result when the device is busy or under thermal pressure.

    • 0:21:25 - How can developers create or adapt models to their own app's data and domain — e.g. stylized profile images, or an adaptive how-to guide? Best resources?
    • Match the tool to the goal. Foundation Models can't output images, so for stylized profile images bring an image-generation model — one option is to prompt the on-device model with the user's app data to build a per-user description, then feed that to your image model. For text-based adaptive guidance, Foundation Models fits well, often via prompt engineering and in-context learning rather than full fine-tuning. If you do want to train or fine-tune your own model, MLX is a good starting point and you can run the result on device with Core AI; per-user adapters are a lighter option, though not for diffusion models. Evaluations can guide the process — progressively improving quality and even synthesizing test data with its sample generator.

    • 0:28:50 - What use cases are currently best suited for the Foundation Models framework, and which should developers avoid?
    • It's a language model, so it excels at content extraction and generation — and with this year's image input, many multimodal tasks too. The clear limit is that it can't produce images as output (it's not a diffusion model), so don't reach for it for image generation; use a diffusion/image model for that instead.

    • 0:32:27 - Where should a beginner start to learn about AI/ML, and what resources do you recommend?
    • Swift Playgrounds is a friendly on-ramp — its intro-to-ML content builds a Core ML image classifier (a rock-paper-scissors game using hand gestures) and teaches how to assemble a diverse dataset and train a model end to end. From there, move on to the Core ML tools and the WWDC ML sessions.

    • 0:37:15 - Is everything we can do in PyTorch importable to Core AI / the Apple ecosystem? What's possible and what's not?
    • Generally, if you can express your model in PyTorch and it's exportable through PyTorch's export APIs, it converts to Core AI straightforwardly. The exceptions are newer operations and techniques that aren't yet exportable — when a model won't export, inspect the PyTorch export APIs to see which operations are unsupported and adapt accordingly. MLX is also a good place to experiment with PyTorch-style models.

    • 0:42:56 - What's the best UX when Foundation Models are unavailable (older device, Apple Intelligence off, low battery)? Can we detect availability early and pre-warm to cut first-request latency?
    • Check the model's availability property early and design a graceful fallback for when it's unavailable, rather than assuming it's present. For latency, use the prewarm API on the on-device system language model so the first request isn't cold. Together, availability checks plus prewarming give a responsive experience that degrades cleanly on unsupported devices.

    • 0:46:58 - How should we migrate from Core ML to Core AI — do we wait a year or two for device adoption, or is there a faster path?
    • You don't have to abandon Core ML. Core ML remains supported and available on current devices, while Core AI is the newer path; you can adopt Core AI where it helps and keep Core ML for broad device coverage. Plan the migration around your deployment targets rather than waiting on a single cutover.

    • 0:49:03 - What's the maximum on-device local model size we can bring into our app before we should consider Private Cloud Compute?
    • There's no single fixed number — it depends on the device and available memory. Check the OS process available-memory APIs to see how much you can safely use, and size your bundled model to fit within that budget with headroom. When a model is too large to run reliably on target devices, that's the signal to move the workload to Private Cloud Compute.

    • 0:53:32 - How do you decide when AI should help the user versus when it should stay out of the way?
    • Start from the fundamental experience you want to deliver, not from adding AI for its own sake. Like any framework in the ecosystem, use these tools only where they genuinely improve the experience for a specific need — restraint is part of good design, and AI should recede when it doesn't add clear value.

    • 0:58:52 - For older iPhones without Apple Intelligence we use a self-hosted LLM backend. On iOS 27, is wrapping it in a custom LanguageModel provider the recommended path so one LanguageModelSession serves all devices? Any pitfalls?
    • Yes — this year's LanguageModel protocol lets you drive any model through the same unified Swift API for prompting, tool calling, and @Generable output, so a custom provider around your server backend can serve a single LanguageModelSession across all devices without rewriting how you prompt. Start by checking whether your backend conforms to the typical OpenAI chat-completions request shape; if it does, this year's open-source utilities package already includes a conforming implementation you can use as-is. You can also mix models in one app — deciding which to use can be as simple as an if statement based on platform availability, while the rest of your code stays the same.

Developer 바닥글

  • 비디오
  • WWDC26
  • 머신 러닝 및 AI 그룹 랩
  • 메뉴 열기 메뉴 닫기
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    메뉴 열기 메뉴 닫기
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • SF Symbols
    메뉴 열기 메뉴 닫기
    • 손쉬운 사용
    • 액세서리
    • Apple Intelligence
    • 앱 확장 프로그램
    • App Store
    • 오디오 및 비디오(영문)
    • 증강 현실
    • 디자인
    • 배포
    • 교육
    • 서체(영문)
    • 게임
    • 건강 및 피트니스
    • 앱 내 구입
    • 현지화
    • 지도 및 위치
    • AI 및 머신러닝
    • 오픈 소스(영문)
    • 보안
    • Safari 및 웹(영문)
    메뉴 열기 메뉴 닫기
    • 문서(영문)
    • 튜토리얼
    • 다운로드
    • 포럼(영문)
    • 비디오
    메뉴 열기 메뉴 닫기
    • 지원 문서
    • 문의하기
    • 버그 보고
    • 시스템 상태(영문)
    메뉴 열기 메뉴 닫기
    • Apple Developer
    • App Store Connect
    • 인증서, 식별자 및 프로파일(영문)
    • 피드백 지원
    메뉴 열기 메뉴 닫기
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program(영문)
    • Mini Apps Partner Program
    • News Partner Program(영문)
    • Video Partner Program(영문)
    • Security Bounty Program(영문)
    • Security Research Device Program(영문)
    메뉴 열기 메뉴 닫기
    • Apple과의 만남
    • Apple Developer Center
    • App Store 어워드(영문)
    • Apple 디자인 어워드
    • Apple Developer Academy(영문)
    • WWDC
    최신 뉴스 읽기.
    Apple Developer 앱 받기.
    Copyright © 2026 Apple Inc. 모든 권리 보유.
    약관 개인정보 처리방침 계약 및 지침