- Machine learning engineer, Hugging Face12
Pedro Cuenca is a machine learning engineer at Hugging Face, according to the author bio of the book Hands-On Generative AI with Transformers and Diffusion Models, which Cuenca co-wrote, and a co-author of a June 2026 Hugging Face blog post on profiling in PyTorch. Cuenca is listed among the authors in the citation for Hugging Face's open-source Diffusers library. On Hugging Face's blog, Cuenca introduced swift-transformers, a package for running language models on Apple devices, and co-wrote the post on the open-source Diffusers app for Mac, which runs Stable Diffusion locally through Core ML. Cuenca also appears in the author list of the DALL·E mini project.123456
At a glance
- Current role
- Machine learning engineer
- Company
- Hugging Face
- Sector
- Company
- Work listed
- 4
- Sources cited
- 12
- Profile reviewed
Career
Pedro Cuenca is a machine learning engineer at Hugging Face whose work, according to the author bio in Hands-On Generative AI with Transformers and Diffusion Models, centers on diffusion software, models and applications. Before Hugging Face, Cuenca was co-founder and CTO of LateNiteSoft, working on the technology behind the Camera+ iPhone app, which used custom machine learning models for photography enhancement.1
The same bio notes that Cuenca created deep-learning models for photography enhancement and super-resolution and was involved in the development and operations of DALL·E mini, whose README lists Cuenca among its authors.16
Open-source work
Several of Cuenca's Hugging Face projects bring models to Apple devices. Cuenca wrote the December 2022 post on using Stable Diffusion with Core ML on Apple Silicon, co-wrote the February 2023 post introducing the open-source Diffusers app for Mac, and in August 2023 introduced swift-transformers, an Apache-2.0 Swift package for running language models on device.75849
Cuenca is listed among the authors in the citation for Hugging Face's Diffusers library and co-authored the Hugging Face launch posts for open models including Llama 2, Gemma and Llama 3. In June 2026 Cuenca co-wrote the second part of a Hugging Face series on profiling in PyTorch, which walks from nn.Linear to a fused MLP.31011122
Writing
Cuenca co-wrote the book Hands-On Generative AI with Transformers and Diffusion Models, whose companion repository lists Cuenca among the authors alongside Apolinario Passos and others.1
Work and contributions
Diffusers Open-source code
Listed among the authors in the citation entry of the Diffusers README and its CITATION.cff file; the library is released under the Apache 2.0 license.3
swift-transformers Open-source code
Author of the 2023 Hugging Face blog post releasing swift-transformers, a Swift package with tokenizers, Hub wrappers and generation algorithms for running language models on Apple devices through Core ML; the repository is under the Apache 2.0 license.49
Diffusers for Mac (swift-coreml-diffusers) Open-source code
Co-author of the 2023 Hugging Face blog post on version 1.1 of the native Mac app, which runs text-to-image models converted to Core ML on the user's own machine.58
DALL·E mini Open-source code
Listed in the README's author list and citation entry for the Apache-2.0 DALL·E mini project.6
Timeline
- Published the Hugging Face post on using Stable Diffusion with Core ML on Apple Silicon.7
- Co-wrote the post introducing Swift Diffusers, the open-source Diffusers app for Mac.5
- Co-authored Hugging Face's Llama 2 launch post.10
- Released swift-transformers for running language models on Apple devices.4
- Co-authored Hugging Face's post welcoming Google's Gemma open models.11
- Co-authored Hugging Face's post welcoming Meta's Llama 3 models.12
- Co-wrote "Profiling in PyTorch (Part 2): From nn.Linear to a Fused MLP" on the Hugging Face blog.2
Other documented roles
Roles the sources document that are not confirmed as current.
- Co-founder and CTO, LateNiteSoft1
Where they work
- Hugging Face 34 people in the wiki
Related people
- Sigbjørn SkjæretAlso at Hugging Face
- Adrien GallouëtAlso at Hugging Face
- Philipp SchmidAlso at Hugging Face
- Julien SimonAlso at Hugging Face
- Daniel BeveniusAlso at Hugging Face
- Peiyuan ZhangImage, video, and 3D generation · Inference and serving
- Piotr WilkinInference and serving · Developer tools
- Jeffrey MorganInference and serving · Developer tools
- Dane KnechtInference and serving · Developer tools
- Matthew PrinceInference and serving · Developer tools
Suggest a correction or removal
Profiles cover public professional work only, and each statement cites a source. If something is out of date, missing or wrong, tell us and link a source. People can also ask for their profile to be corrected or removed.
References
12 sources · profile reviewed Oct 21, 2026 · data updated Oct 21, 2026
- Hands-On Generative AI with Transformers and Diffusion Models — book repository README (About the Authors)
- Profiling in PyTorch (Part 2): From nn.Linear to a Fused MLP (author byline)
- huggingface/diffusers README and CITATION.cff (citation author list; Apache-2.0)
- Releasing Swift Transformers: Run On-Device LLMs in Apple Devices
- Swift Diffusers: Fast Stable Diffusion for Mac
- borisdayma/dalle-mini README (authors and citation; Apache-2.0)
- Using Stable Diffusion with Core ML on Apple Silicon
- huggingface/swift-coreml-diffusers README
- huggingface/swift-transformers repository (Apache-2.0)
- Llama 2 is here - get it on Hugging Face
- Welcome Gemma - Google's new open LLM
- Welcome Llama 3 - Meta's new open LLM