Published Jul 27, 2021

Tour of Upcoming Features on the Hugging Face Model Hub // Julien Chaumond // MLOps Coffee Sessions #48

Julien Chaumond, CTO of Hugging Face, explores revolutionary features on the Hugging Face Model Hub, focusing on optimizing inference, robust model hosting infrastructure, and fostering a community-driven approach to democratize machine learning.
Episode Highlights
MLOps.community logo

Popular Clips

Episode Highlights

  • Inference Optimization

    Hugging Face is revolutionizing machine learning inference by optimizing hardware choices and managing latency effectively. explains that their inference API powers widgets, allowing users to interact with models directly on the web. This approach caters to companies with specific latency and volume needs, providing tailored optimizations and even on-premise solutions when necessary 1. Julien highlights the efficiency of CPUs, noting that with the right optimizations, they can handle tasks traditionally reserved for GPUs, making them both cost and energy-efficient 2.

    If you are able to run berks sub one milliseconds on CPU because you have really cool and really powerful optimizations, you don't really need GPUs anymore.

    ---

    This strategy not only reduces costs but also enhances accessibility for various businesses.

       

    Widgets Deployment

    Deploying inference widgets at Hugging Face involves a sophisticated infrastructure that ensures efficient model execution. Julien describes their use of AWS and custom containers to optimize model performance on target hardware, allowing for rapid deployment and scalability 3. The inclusion of metadata in model repositories facilitates seamless deployment, enabling models to be loaded on-the-fly based on demand 4.

    We try to ensure that we have the metadata inside each model repo, we have the metadata.

    ---

    This approach not only supports popular models but also accommodates new ones, ensuring that Hugging Face remains a versatile platform for machine learning applications.