梦到很多蛇是什么意思| 孕妇吃鸡蛋对胎儿有什么好处| 天荒地老是什么生肖| 骨质疏松挂什么科| 宝宝肌张力高会有什么影响| 南非叶主治什么病| 属虎是什么命| 梨状肌综合症吃什么药| 卵圆孔未闭是什么病| 吃什么可以自然掉体毛| 犹豫不决是什么生肖| 蟑螂的天敌是什么| 腐男是什么意思| 工资5k是什么意思| 是谁送你来到我身边是什么歌| 欠缺是什么意思| 孕酮起什么作用| 政委是什么级别| 手抽筋是什么原因| 眼睛为什么会近视| 味精的主要成分是什么| 孕妇梦见狗是什么意思| 自来水是什么水| 后脑勺出汗多是什么原因| 吃月饼是什么节日| 头孢和什么药不能一起吃| 玛咖是什么| 腹泻能吃什么水果| 什么是知青| 清鼻涕吃什么药| 儿童嗓子疼吃什么药好| 7月1号什么星座| 肠道感染吃什么消炎药| 老佛爷是什么牌子| 西南属什么五行| 玄关画挂什么图最好| 石决明是什么| 腿困是什么原因引起的| 仙是什么意思| 手足口病是什么原因引起的| 区长是什么级别的干部| 忘年恋是什么意思| 八段锦是什么| 腔调是什么意思| 气喘吁吁什么意思| 女中指戴戒指什么意思| 手指关节疼痛吃什么药| 嫖娼是什么| 幽门阳性是什么意思| 竹外桃花三两枝的下一句是什么| 皮肤过敏挂什么科| 晚上入睡困难是什么原因| 996什么意思| 一孕傻三年是什么意思| 一月19日是什么星座| 孩子咽炎老是清嗓子吃什么药| g是什么单位| 献血前要注意什么| 唐僧真名叫什么| 居里夫人发明了什么| 皮肤科挂什么科| 乳腺结节应该挂什么科| 1月23日是什么星座| 牛市是什么意思| 吃什么去湿气最好最快| 男人右眉毛里有痣代表什么| 什么极了| 腿脚肿胀是什么原因引起的| 惊奇地什么| 打嗝是什么病的前兆| 睡着了流口水是什么原因| 乐哉是什么意思| 什么什么挺立| 王允和貂蝉什么关系| 同样的药为什么价格相差很多| baron是什么意思| 昱念什么| lfc是什么意思| 发现新大陆是什么意思| 奢望是什么意思| ykk是什么牌子| 嗓子痒是什么原因| 水淀粉是什么东西| 中央党校校长是什么级别| 为什么会得脂溢性皮炎| 清肺热用什么泡水喝比较好| 统招是什么意思| 色彩斑斓是什么意思| 飞机为什么怕小鸟| 穿拖鞋脚臭是什么原因| 施华洛世奇算什么档次| 月相是什么意思| 柠檬苦是什么原因| 什么是智齿| 吃什么对痔疮好得快| 美女的胸长什么样| 大便暗红色是什么原因| 龙须菜是什么植物| 为什么会生化妊娠| 经期喝茶有什么影响| 上马是什么意思| 头皮毛囊炎用什么药| 蚕屎做枕头有什么好处| 痛风急性期吃什么药| 为什么会长老年斑| 咳嗽绿痰是什么原因| 脊髓炎是什么病| 一箭双雕是什么意思| 大便颗粒状是什么原因造成的| 什么叫托特包| 女性喝什么茶比较好| 黑加仑是什么水果| 轻度高血压吃什么食物可以降压| 均码是什么码| 梦见手机失而复得是什么意思| 求嗣是什么意思| 玉对人身体健康有什么好处| 阴虚有什么症状| 女性缓解疲劳吃什么好| 调戏是什么意思| 荷花指什么生肖| 核磁共振跟ct有什么区别| 什么叫两会| 万加一笔是什么字| 儿茶酚胺是什么| 发炎是什么原因引起的| 微商是什么意思| 女生的小鸡鸡长什么样| 丹参有什么作用| 善男信女什么意思| 艾迪生病是什么病| 什么是新时代| 舌头无苔是什么原因| 怨天尤人是什么意思| 嬉皮士是什么意思| 副鼻窦炎症是什么意思| 犯法是什么意思| 即兴是什么意思| 宝宝支气管炎吃什么药| 什么什么分明的成语| 公测是什么意思| 不齿是什么意思| 美女的胸长什么样| 邹字五行属什么| 乙肝病毒核心抗体阳性是什么意思| 情愫什么意思| 肌酐什么意思| aivei是什么品牌| 细菌性阴道炎用什么药| 形态各异是什么意思| 沙里瓦是什么意思| 豆角炒什么| 阴虚火旺是什么意思| 脾胃不和吃什么中成药| 胸内科主要看什么病| 减肥吃什么水果| palace是什么牌子| 煜怎么读音是什么意思| 左下腹疼痛挂什么科| 吉页读什么| 月经推迟一个月不来什么原因| 吃什么解辣| 淋巴结是什么原因引起的| 打嗝是什么病的前兆| 白蛋白高是什么原因| 小苏打学名叫什么| 一月十一是什么星座| 亲子鉴定需要什么材料| 手老是出汗是什么原因| pr间期缩短什么意思| 红茶加枸杞有什么功效| 2月11日什么星座| 随大流什么意思| 肚子胀气吃什么| 周岁和虚岁是什么意思| 胀气是什么原因引起的| 发际线高的人说明什么| roa是什么胎位| 汗毛长的女人代表什么| 维生素什么时候吃效果最好| 吃惊的近义词是什么| 与众不同是什么意思| 姨妈没来是什么原因| 气短是什么症状| 十五年是什么婚| 拔智齿后可以吃什么| 1935年是什么生肖| 舌头两边有齿痕是什么原因| 柠檬水什么时候喝最好| 什么叫烟雾病| 驰骋沙场百战威是什么生肖| 吴用的绰号是什么| 588是什么意思| 嘴上有痣代表什么| 全自动洗衣机漏水是什么原因| 蜂蜜和什么不能一起吃| 累得什么| 仓鼠爱吃什么| 满目苍夷是什么意思| 阿玛尼手表算什么档次| 樊胜美是什么电视剧| 肝内多发低密度影是什么意思| 宝宝舌苔白厚是什么原因| 晴空万里什么意思| 想吃辣的是什么原因| 与君共勉是什么意思| 抗链o高是什么原因| 27年属什么生肖| 瓦是什么的单位| 舌头肥大有齿痕是什么原因| 静脉血栓是什么症状| 清道夫吃什么| 什么车不能坐| 接骨木莓是什么| 什么私语| 舌质是什么| 吃过饭后就想拉大便是什么原因| 淋巴结炎挂什么科| 人为什么会得阑尾炎| 属猪的跟什么属相最配| 牛河是什么| 李倩梅结局是什么| 一什么一什么词语| 九眼天珠是什么做的| 十指不沾阳春水是什么意思| 太阳黑子是什么东西| 夹心饼干是什么意思| 脸上长痤疮用什么药| 无冕之王是什么意思| 梦见自己儿子死了是什么意思| 高血压二级是什么意思| 肝阳性是什么意思| 吃什么补充维生素b6| 兰台是什么意思| 什么是有意义的东西| 金多水浊什么意思| 为什么油耳朵就有狐臭| 正县级是什么级别| 什么药对伤口愈合快| 12月18日什么星座| 希腊人是什么人种| ft什么意思| 梦见照相是什么意思| 胆囊炎可以吃什么水果| 鱼不能和什么一起吃| 糖尿病吃什么食物最好| cea是什么检查项目| 钠是什么意思| 为什么会出现眼袋| 黑眼袋是什么原因引起的| 鳄鱼为什么流眼泪| 吃什么药减肥效果好| 窦性心律不齐是什么原因引起的| 日食是什么现象| 来年是什么意思| close什么意思| 失眠缺什么维生素| 为什么伴娘要未婚| 塞浦路斯说什么语言| 什么是爱情观| 明天有什么考试| 脚心热什么原因| 海豹是什么动物| 止咳化痰吃什么好| 百度

View in English

  • Global Nav Open Menu Global Nav Close Menu
  • Apple Developer
Search
Cancel
  • Apple Developer
  • News
  • Discover
  • Design
  • Develop
  • Distribute
  • Support
  • Account
Only search within “”

Quick Links

5 Quick Links

Videos

Open Menu Close Menu
  • Collections
  • Topics
  • All Videos
  • About

More Videos

  • About
  • Transcript
  • 老爱抬杠是什么心态?

    百度 此时的账号已经可以使用了。

    Get started with an overview of machine learning frameworks on Apple platforms. Whether you're implementing your first ML model, or an ML expert, we'll offer guidance to help you select the right framework for your app's needs.

    Chapters

    • 0:00 - Introduction
    • 2:05 - Apple Intelligence
    • 3:55 - ML-powered APIs
    • 7:16 - Running models on device
    • 14:45 - Research

    Resources

    • Forum: Machine Learning and AI
      • HD Video
      • SD Video
  • Search this video…

    Hi, I’m Anil Katti from the On Device Machine Learning team at Apple, and today, I am excited to give you an overview of machine learning products and offerings on Apple platforms. We have a lot of ground to cover, so, let’s dive in! Underlying many innovative features in our OS and apps are advanced machine learning and AI models. Gesture recognition for spatial computing, portrait mode in image capture, ECG and heart rate monitoring for health. All these features are made possible by machine learning and AI, and the models that power these features run entirely on device! Doing so allows these experiences to be highly interactive while keeping user data on device for enhanced privacy. On-device machine learning is possible due to powerful Apple silicon. Its unified memory combined with the ML accelerators in the CPU, GPU and Neural Engine allows for efficient and low latency inference. In this video, let’s look at how you could make the most of the powerful Apple hardware coupled with efficient software that only Apple can provide to build magical experiences for our users. Here’s what I am going to cover. First, I will talk about some of the new system-level features powered by Apple Intelligence that can readily bring intelligent features into your apps. Next, I’ll give an overview of machine learning-powered APIs to help you create unique experiences with models built into our OS. After that, I’ll go over some of the options for bringing other machine learning and AI models on device. And, lastly, we will take a peek into machine learning research at Apple.

    As we take a tour of each topic, I’ll point you to videos that are deeper dives into the details if you're interested in learning more.

    So let’s start by looking at the intelligence that is already baked into the OS.

    This year's release brings exciting advancements with Apple Intelligence powering new features in apps and across the system.

    Many of these will be available within your apps such as Writing Tools. Writing Tools helps users communicate even more effectively by rewriting their text for tone and clarity, proofreading for mistakes, and summarizing key points.

    The text is processed using Apple Intelligence’s new language capabilities and seamlessly integrates with system text and web views your app is probably already using.

    Please check out “Get started with Writing Tools” video to learn more about what’s possible and the best practices for your app to follow.

    Next, Image Playground. With Image Playground, you can effortlessly integrate image creation features into your apps. You do not have to train a model or design safety guardrails.

    With just a few lines of code, you can get a pre-built UI for users to create and embed images. Plus, since the model runs locally on device, users can create as many images as they want without worrying about the cost.

    This year, we’re introducing significant improvements to Siri to make it sound more natural, contextually relevant, and more personal.

    Check out “Bring your app to Siri” video to learn more about how to enhance your app with these new Siri capabilities using the App Intents framework. We've also revamped the Siri experience for key apps on our platforms making them more powerful, flexible, and intelligent. Users get to enjoy these amazing features with minimal changes in your app. If you want to offer your own intelligent features, we have a number of APIs and frameworks that can help you do that without having to deal with the model statically. So let’s take a look.

    The Vision framework provides a range of capabilities for visual intelligence, including text extraction, face detection, body pose recognition, and much more.

    To streamline integration, we're excited to release a new Swift API with Swift 6 support for Vision this year. In addition, Vision also introduces: hand pose detection in body pose requests and aesthetic score requests.

    To learn more about how easily you can integrate visual understanding capabilities into your apps, check out "Discover Swift enhancements in the Vision framework” video.

    Beyond Vision, there are additional frameworks that can allow you to segment and understand natural language, convert speech to text, and analyze and identify sounds.

    We have some amazing videos on these APIs from the past WWDC, and I encourage you to review them if you're thinking about use cases in these domains.

    This year, we are also introducing a new framework for language translation which you can integrate directly into your apps. Now, your app can perform direct language-to-language translation with the simple translation presentation UI that can be launched programmatically.

    We're also providing an API that allows you to translate any text and display the output in any UI you’d like.

    Using this API, you could also batch up requests and translate more text efficiently.

    So please check out “Meet the Translation API” video to learn more, including how language assets are downloaded and managed on device.

    Apple’s ML-powered APIs offer tons of capabilities that your app can readily take advantage of! When you need some model customization for your particular use case, Create ML is a great tool to begin with.

    Create ML app gives you the ability to customize models powering our frameworks with your own data.

    You start by choosing a template aligned with the task you wish to customize. It is then just a few clicks to train, evaluate and iterate on your model with your data.

    In addition to Create ML app, the underlying Create ML and Create ML components frameworks offer you the capability to train models from within your application on all platforms.

    New this year, Create ML app comes with an object tracking template which lets you train reference objects to anchor spatial experiences on visionOS Its now even easier to explore and inspect data annotations prior to training.

    And the new time series classification and forecasting components are available in the framework for integration within your app.

    Check out the “What’s new in Create ML” video to learn more about each of these topics.

    Next, let’s talk about running your models on device. This is for slightly more advanced use cases like, for example, you might want to use a diffusion model in your app that you’ve fine-tuned and optimized or run a large language model that you've downloaded from an open source community like Hugging Face.

    You can run a wide array of models across our devices including Whisper, Stable Diffusion, and Mistral. It just takes a couple steps to get the model ready to run in your app.

    Let’s take a closer look at the developer workflow.

    There are three distinct phases for deploying models on Apple devices. During the first phase, you're focused on defining the model architecture and training the model by providing the right training data.

    Next, you convert the model into Core ML format for deployment. In this phase, you're also optimizing the model representation and parameters to achieve great performance while maintaining good accuracy Lastly, you write code to integrate with Apple frameworks to load and execute the prepared model.

    Let’s look at each of these phases in more detail, starting with training.

    You can take full advantage of Apple silicon and the unified memory architecture on Mac to architect and train high-performance models with training libraries such as PyTorch, TensorFlow, JAX and MLX. These all use Metal for efficient training on Apple GPUs. Check out “Train your machine learning and AI models on Apple GPUs” video to learn more about training models on macOS. In this video, we talk about: improved training efficiency for scaled dot product attention on Metal, how to integrate custom Metal operations in PyTorch, and newly-added mixed-precision support in JAX. Next, let’s go over the prepare phase. In this phase you are converting your trained model to the Core ML format in just a few steps using Core ML Tools. You can start with any PyTorch model. You can then use Core ML Tools and convert it into the Core ML format. At this point, you can also optimize the model for Apple hardware using a number of compression techniques in the Core ML Tools model optimization toolkit. With latest enhancements in Core ML Tools this year, we've introduced new model compression techniques, ability to represent state in models, along with the transformer- specific operations, and a way to have a model hold more than one function.

    Please check “Bring your machine learning and AI models to Apple silicon” video to learn more about these features and understand the tradeoffs between storage size, latency and accuracy for model deployment.

    Once you have the model converted and optimized, the next step is model integration.

    It’s here that you write code to interface with OS frameworks to load the model and run inference.

    Core ML is the gateway for deploying models on Apple devices and used by thousands of apps to enable amazing experiences for our users! It provides the performance that is critical for great user experience while simplifying the development workflow with Xcode integration. Core ML segments models across the CPU, GPU and Neural Engine automatically in order to maximize hardware utilization.

    The "Deploy machine learning and AI models on-device with Core ML” video covers new Core ML features to help you run state-of-the-art generative AI models on device.

    You’ll be introduced to the new MLTensor type designed to simplify the computational glue code stitching models together.

    Learn how to manage key-value caches for efficient decoding of large language models with states and explore the use of functions in order to choose a specific style adapter in an image-generation model at runtime.

    Lastly, performance reports have been updated to give you more insights into the cost of each operation of your model.

    While Core ML is the go-to framework for deploying models on device, there may be scenarios where you need finer-grained control over machine learning task execution. For instance, If your app has demanding graphics workloads, Metal’s MPS Graph enables you to sequence ML tasks with other workloads, optimizing GPU utilization. Alternatively, when running real-time signal processing on the CPU, Accelerate's BNNS Graph API provides strict latency and memory management controls for your ML tasks.

    These frameworks form part of Core ML’s foundation and are also directly accessible to you. Let’s look at each of these options in more detail starting with MPS Graph.

    MPS Graph is built on top of Metal Performance Shaders, and it enables you to load your Core ML model or programmatically build, compile, and execute computational graphs using Metal.

    Check out the “Accelerate machine learning with Metal” video to take a deep dive into efficient execution of transformers on the GPU, including new features in MPS Graph to improve compute and memory bandwidth.

    Learn how the new MPS Graph strided ND array API helps speed up Fourier transforms, and see how the new MPS Graph viewer makes it easy to understand and gain insights into your model’s execution.

    Next, BNNS Graph. BNNS Graph is a new API from the Accelerate framework to optimally run machine learning models on CPU. BNNS Graph has significantly improved performance over the older BNNS kernel-based API. It works with Core ML models and enables real-time and latency-sensitive inference on CPU along with strict control over memory allocations.

    It is great for audio processing and similar use cases.

    Check out “Support real-time ML inference on the CPU” video to learn more about BNNS Graph this year. Our frameworks and APIs provide everything you need to run inference on your machine learning and AI models locally, getting the full benefits of Apple silicon’s hardware acceleration...

    and, along with our domain APIs, your app has access to range of cutting- edge machine learning tools and APIs on Apple platforms. Depending on your needs and user experience, you can start with the simple out-of-the box APIs powered by Apple models or go beyond that to use Apple frameworks to deploy machine learning and AI models directly.

    We are dedicated to providing you the best ML and AI-powered foundation for building intelligent experiences in your apps. What I've covered so far is built into the OS and developer SDK. Let's now turn our attention to our last topic: research. Apple continues to push on the cutting edge in machine learning and AI. We’ve published hundreds of papers with novel approaches to AI models and on-device optimization. To facilitate further exploration, we have made sample code, data sets and research tools like MLX available via open source.

    MLX is designed by Apple machine learning researchers for other researchers. It has a familiar and extensible API for researchers to explore new ideas on Apple silicon. It is built on top of a unified memory model which allows for efficient operations across CPU and GPU, and explorations in MLX can be done with Python, C++ or Swift. Check out the MLX GitHub page to learn more and contribute to the open source community. A more recent addition to the open source community is CoreNet, a powerful neural network toolkit designed for researchers and engineers. This versatile framework enables you to train a wide range of models, from standard to novel architectures, and scale them up or down to tackle diverse tasks. We also released OpenELM as part of CoreNet. OpenELM is an efficient language model family with open training and inference framework. The model has already been converted to MLX and Core ML formats by the open source community to run on Apple devices.

    So that was an overview of machine learning on Apple platforms but we’ve only scratched the surface.

    To summarize what we covered, leverage the built-in intelligence of our OS by utilizing standard UI elements to create seamless user experiences. Take it to the next level by customizing your app with ML-powered APIs and Create ML. Train or fine-tune models on powerful Mac GPUs using familiar frameworks like PyTorch powered by Metal. Prepare those models for deployment by optimizing them for Apple silicon using Core ML tools. Integrate those models to ship stunning experiences in your apps using Core ML, MPS Graph, and BNNS Graph APIs. And lastly, check out Apple's cutting-edge research initiatives, featuring open source frameworks and models. Now, let’s get to building amazing experiences for our users!

Developer Footer

  • Videos
  • WWDC24
  • Explore machine learning on Apple platforms
  • Open Menu Close Menu
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    Open Menu Close Menu
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • SF Symbols
    Open Menu Close Menu
    • Accessibility
    • Accessories
    • App Extensions
    • App Store
    • Audio & Video
    • Augmented Reality
    • Design
    • Distribution
    • Education
    • Fonts
    • Games
    • Health & Fitness
    • In-App Purchase
    • Localization
    • Maps & Location
    • Machine Learning
    • Open Source
    • Security
    • Safari & Web
    Open Menu Close Menu
    • Documentation
    • Tutorials
    • Downloads
    • Forums
    • Videos
    Open Menu Close Menu
    • Support Articles
    • Contact Us
    • Bug Reporting
    • System Status
    Open Menu Close Menu
    • Apple Developer
    • App Store Connect
    • Certificates, IDs, & Profiles
    • Feedback Assistant
    Open Menu Close Menu
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program
    • News Partner Program
    • Video Partner Program
    • Security Bounty Program
    • Security Research Device Program
    Open Menu Close Menu
    • Meet with Apple
    • Apple Developer Centers
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Academies
    • WWDC
    Get the Apple Developer app.
    Copyright ? 2025 Apple Inc. All rights reserved.
    Terms of Use Privacy Policy Agreements and Guidelines
    什么牌子的奶粉最好 大学211和985是什么意思 知交是什么意思 bgb是什么意思 8月1日是什么日子
    新陈代谢慢是什么原因 睡眠不好吃什么中成药 三个水读什么 人情味是什么意思 琴代表什么生肖
    王八羔子是什么意思 奠是什么意思 黑色素痣挂什么科 怕痒的男人意味着什么 人越来越瘦是什么原因
    产后恶露是什么 脾切除对身体有什么影响 什么动物睡觉不闭眼 原生家庭是什么 梦到怀孕了是什么预兆
    ml 什么意思xjhesheng.com 物是人非什么意思hcv8jop6ns2r.cn 1940年属什么生肖hcv7jop4ns5r.cn 梗是什么意思hcv7jop9ns5r.cn 月经三个月没来是什么原因hcv8jop3ns3r.cn
    种草莓是什么意思hcv7jop4ns6r.cn 羊水多是什么原因造成的jingluanji.com 火华念什么hcv9jop0ns6r.cn mpv是什么意思hcv9jop0ns1r.cn 省政协委员是什么级别hcv9jop6ns1r.cn
    眼睛大小不一样是什么原因hcv8jop7ns1r.cn 男人吃秋葵有什么好处hcv8jop7ns5r.cn 财五行属什么hcv8jop4ns1r.cn 四个一是什么tiangongnft.com 西门子洗衣机不脱水是什么原因hcv9jop6ns7r.cn
    桑葚泡酒有什么功效hcv7jop9ns2r.cn 女性耻骨疼是什么原因hcv8jop6ns6r.cn vsop是什么意思huizhijixie.com 眼睛痒是什么原因hcv8jop0ns5r.cn 山谷念什么hcv8jop0ns5r.cn
    百度