Uploaded November 2026 | Updated December 2026, 4 days ago
This talk presents battle-tested patterns from building and shipping an LLM-powered discovery system to production. The focus is on three practical problems every team faces when moving LLM features from prototype to production: managing latency and cost at scale, building evaluation infrastructure you can trust, and designing for graceful failure.
**Target audience**: ML/AI Engineers and Data Scientists shipping LLM-powered features to production. Intermediate level, familiarity with LLMs and Python assumed.
**Prior knowledge**: Basic understanding of LLM APIs, Python, and pytest.
**Key takeaways**:
- How to implement a dual-LLM tier strategy to balance cost, latency, and quality
- A deterministic evaluation approach (pass@k with pytest) that avoids LLM-as-judge flakiness
- Production hardening patterns: scope gating, graceful degradation, every stage optional
**Outline (30 min)**:
1. The problem: why natural language breaks traditional search (3 min)
- Live example: "sunset tours in Barcelona for a couple under 50 euros"
- Why keyword/semantic search can't handle filters, preferences, exclusions, and serendipity
- What's missing: reasoning, orchestration, conversational context
2. Architecture overview (5 min)
- Multi-stage LangGraph pipeline: ContextResolver, Interpreter, Parallel Retrieval, NanoFilter, Grading, Synthesizer
- Intent interpretation: concrete example of parsing natural language into structured intent
- Routing logic: SIMPLE/DEEP/FILTERED paths based on query complexity
3. Dual-LLM tier strategy (5 min)
- The problem: one model doesn't fit all stages
- Tier mapping: which model for which stage and why
- Results: 60% latency reduction, 4x cost savings, nano-tier recall 0.9 / precision 0.7
4. Production hardening (3 min)
- Scope gating: reject non-travel queries early
- Graceful degradation: partial results are better than no results
- Every stage is optional: the pipeline adapts when components fail
5. Evaluation infrastructure (10 min)
- Why not LLM-as-judge: non-deterministic evals in CI produce flaky tests, flaky tests kill trust
- pass@k approach: run each test case k=3 times via pytest-rerunfailures, pass if any succeeds
- 816 tests, 21 custom metrics, 4 datasets, 32 parallel workers, 0 LLM-as-judge calls in CI
- Real regression story: date inference change broke text extraction, caught before shipping
6. Key lessons and Q&A (4 min)
- Right model per stage, deterministic evals over LLM-as-judge, graceful degradation by design, invest in eval infrastructure early.
pydata.org
PyData is an educational program of NumFOCUS, a 501(c)3 non-profit organization in the United States. PyData provides a forum for the international community of users and developers of data analysis tools to share ideas and learn from each other. The global PyData network promotes discussion of best practices, new approaches, and emerging technologies for data management, processing, analytics, and visualization. PyData communities approach data science using many languages, including (but not limited to) Python, Julia, and R.
PyData conferences aim to be accessible and community-driven, with novice to advanced level presentations. PyData tutorials and talks bring attendees the latest project features along with cutting-edge use cases.
00:00 Welcome!
00:10 Help us add time stamps or captions to this video! See the description for details.
Want to help add timestamps to our YouTube videos to help with discoverability? Find out more here: github.com/numfocus/YouTubeVideoTimestamps
This talk presents battle-tested patterns from building and shipping an LLM-powered discovery system to production. The focus is on three practical problems every team faces when moving LLM features from prototype to production: managing latency and cost at scale, building evaluation infrastructure you can trust, and designing for graceful failure.
**Target audience**: ML/AI Engineers and Data Scientists shipping LLM-powered features to production. Intermediate level, familiarity with LLMs and Python assumed.
**Prior knowledge**: Basic understanding of LLM APIs, Python, and pytest.
**Key takeaways**:
- How to implement a dual-LLM tier strategy to balance cost, latency, and quality
- A deterministic evaluation approach (pass@k with pytest) that avoids LLM-as-judge flakiness
- Production hardening patterns: scope gating, graceful degradation, every stage optional
**Outline (30 min)**:
1. The problem: why natural language breaks traditional search (3 min)
- Live example: "sunset tours in Barcelona for a couple under 50 euros"
- Why keyword/semantic search can't handle filters, preferences, exclusions, and serendipity
- What's missing: reasoning, orchestration, conversational context
2. Architecture overview (5 min)
- Multi-stage LangGraph pipeline: ContextResolver, Interpreter, Parallel Retrieval, NanoFilter, Grading, Synthesizer
- Intent interpretation: concrete example of parsing natural language into structured intent
- Routing logic: SIMPLE/DEEP/FILTERED paths based on query complexity
3. Dual-LLM tier strategy (5 min)
- The problem: one model doesn't fit all stages
- Tier mapping: which model for which stage and why
- Results: 60% latency reduction, 4x cost savings, nano-tier recall 0.9 / precision 0.7
4. Production hardening (3 min)
- Scope gating: reject non-travel queries early
- Graceful degradation: partial results are better than no results
- Every stage is optional: the pipeline adapts when components fail
5. Evaluation infrastructure (10 min)
- Why not LLM-as-judge: non-deterministic evals in CI produce flaky tests, flaky tests kill trust
- pass@k approach: run each test case k=3 times via pytest-rerunfailures, pass if any succeeds
- 816 tests, 21 custom metrics, 4 datasets, 32 parallel workers, 0 LLM-as-judge calls in CI
- Real regression story: date inference change broke text extraction, caught before shipping
6. Key lessons and Q&A (4 min)
- Right model per stage, deterministic evals over LLM-as-judge, graceful degradation by design, invest in eval infrastructure early.
pydata.org
PyData is an educational program of NumFOCUS, a 501(c)3 non-profit organization in the United States. PyData provides a forum for the international community of users and developers of data analysis tools to share ideas and learn from each other. The global PyData network promotes discussion of best practices, new approaches, and emerging technologies for data management, processing, analytics, and visualization. PyData communities approach data science using many languages, including (but not limited to) Python, Julia, and R.
PyData conferences aim to be accessible and community-driven, with novice to advanced level presentations. PyData tutorials and talks bring attendees the latest project features along with cutting-edge use cases.
00:00 Welcome!
00:10 Help us add time stamps or captions to this video! See the description for details.
Want to help add timestamps to our YouTube videos to help with discoverability? Find out more here: github.com/numfocus/YouTubeVideoTimestamps




![From Struggling to Mastery: A Practical Guide to Data Pipeline Operations [PyCon DE & PyData 2026]
đ Recorded at PyCon DE & PyData 2026, 15.04.2026
https://2026.pycon.de/talks/PARU7X/
đ Watch Akif Cakir share a practical 5-level maturity model to help your team move from reactive fire-fighting to operational mastery in data pipeline orchestration, quality, and SLOs.
Speakers:
Akif Cakir
Description:
In From Struggling to Mastery: A Practical Guide to Data Pipeline Operations, Akif Cakir, a seasoned Data and AI enthusiast with over 14 years of experience in the data lifecycle, addresses a common pain point for growing data teams: the transition from reactive fire-fighting to scalable, resilient operations. Akif explores why ad-hoc processes often crumble under production requirements and introduces a standardized five-level maturity modelâranging from Struggling to Masteryâto help teams define and achieve operational excellence.
The presentation focuses on three critical pillars of data engineering: Orchestration, Data Quality, and Data SLOs (Service Level Objectives). Akif breaks down the evolution of these pillars, showing how to move from manual scripts and best effort delivery toward dynamic DAGs, automated anomaly detection using Write-Audit-Publish patterns, and the implementation of measurable Service Level Indicators (SLIs) with defined error budgets. By shifting from a reactive posture to a proactive one, teams can stop bad data from reaching the warehouse and eliminate the it works on my machine trap.
Viewers will gain a concrete framework to audit their current technical stack and identify specific gaps preventing them from scaling. Rather than offering purely theoretical advice, Akif provides a practical scorecard and a step-by-step roadmap that data engineers, platform leads, and managers can use to transform their pipeline operations into a competitive advantage. Attendees will leave the session equipped to implement self-healing pipelines
âď¸ About PyCon DE:
PyCon DE is the leading conference on open-source Python applications in AI and data science. It brings together industry professionals, researchers, AI and data science practitioners, and software engineering communities, providing a unique platform for collaboration, knowledge sharing, and innovation.
The PyCon DE & PyData 2026 conference delivered an exceptional experience, fostering stronger connections within the Python community while showcasing the latest advancements in artificial intelligence and data science. Attendees enjoyed a diverse and engaging program of talks, workshops, and networking opportunities, further establishing the conference as a premier event for Python, AI, and data science enthusiasts across Germany.
PyCon DE 2027 will take place in Heidelberg from 19 to 23 April 2027.
Follow us:
⢠Newsletter: https://2027.pycon.de/newsletter/
⢠LinkedIn: https://www.linkedin.com/company/pyconde
⢠X: https://www.x.com/pyconde
Links:
⢠Conference website: http://pycon.de
⢠Other sessions: https://2026.pycon.de/talks/
The conference was organized by
⢠Python Softwareverband e.V.: http://pysv.org
⢠Pioneers Hub gemeinnßtzige GmbH: http://pioneershub.org
in collaboration with NumFOCUS Inc.: http://numfocus.org
If you enjoyed this session, please like, and subscribe to our channel for more insightful talks and discussions.
Share this video with your network to spread the knowledge!
Hashtags:
#Python #PyConDE #PyData #OpenSource #AI #DataScience #MachineLearning #SoftwareEngineering #LLMs #Community #Sovereignty
Acknowledgements:
Special thanks to all the volunteers and sponsors who made this event possible.
About:
Python Softwareverband e.V.:
PySV is a non-profit that promotes the use and development of Python in Germany through events, education, and advocacy, fostering an open Python community.
Pioneers Hub gemeinnĂźtzige GmbH:
is a non-profit fostering innovation in AI and tech by connecting experts and promoting knowledge exchange through events and collaborative initiatives.
NumFOCUS Inc.
supports open-source scientific computing by providing financial and logistical support to key projects like NumPy and Jupyter, promoting sustainable development and collaboration.
www.pydata.org
PyData is an educational program of NumFOCUS, a 501(c)3 non-profit organization in the United States. PyData provides a forum for the international community of users and developers of data analysis tools to share ideas and learn from each other. The global PyData network promotes discussion of best practices, new approaches, and emerging technologies for data management, processing, analytics, and visualization. PyData communities approach data science using many languages, including (but not limited to) Python, Julia, and R. From Struggling to Mastery: A Practical Guide to Data Pipeline Operations [PyCon DE & PyData 2026]](https://i.ytimg.com/vi/dDHQKv8D70E/mqdefault.jpg)
![PyTorch and CPU-GPU Synchronizations [PyCon DE & PyData 2026]
đ Recorded at PyCon DE & PyData 2026, 15.04.2026
https://2026.pycon.de/talks/RNT9FV/
đ Watch Tomas Ruiz reveal how to identify and eliminate hidden CPU-GPU synchronizations in PyTorch to unlock maximum hardware performance and throughput.
Speakers:
Tomas Ruiz
Description:
PyTorch executes GPU operations asynchronously, allowing the CPU to schedule tasks and run ahead of the GPU. Performance degradation occurs during CPU-GPU synchronization, which happens when the CPU must block and wait for data to return from the GPU to make a decision or allocate memory. This creates bubbles of inactivity on both the CPU and GPU, reducing overall hardware utilization.
Common triggers for synchronization include calling .item(), .cpu(), or printing tensors, as well as using GPU tensors within conditional if-else branching. More subtle synchronizations arise from operations that result in dynamic shapes, where the output size depends on the tensor data. Examples include boolean indexing, slicing with a GPU-resident integer, torch.non_zero(), and torch.unique(). Because the CPU manages memory allocation, it must synchronize to determine the output shape before the GPU can proceed.
To mitigate these issues, developers can reduce the frequency of synchronizationâsuch as printing loss every 100 iterations instead of every oneâor use padding to maintain static shapes. Some PyTorch APIs, such as torch.repeat_interleave(), provide optional parameters to specify the output size, bypassing the need for synchronization.
Profiling tools like NVIDIA Nsight Systems can visualize these delays as CUDA stream synchronize calls. For automated detection, PyTorch offers an experimental debug mode via torch.cuda.set_synchronize_debug_mode(), which can be set to warning or error. This allows for the creation of unit tests using decorators that fail if a function triggers a GPU synchronization, ensuring production code remains efficient.
âď¸ About PyCon DE:
PyCon DE is the leading conference on open-source Python applications in AI and data science. It brings together industry professionals, researchers, AI and data science practitioners, and software engineering communities, providing a unique platform for collaboration, knowledge sharing, and innovation.
The PyCon DE & PyData 2026 conference delivered an exceptional experience, fostering stronger connections within the Python community while showcasing the latest advancements in artificial intelligence and data science. Attendees enjoyed a diverse and engaging program of talks, workshops, and networking opportunities, further establishing the conference as a premier event for Python, AI, and data science enthusiasts across Germany.
PyCon DE 2027 will take place in Heidelberg from 19 to 23 April 2027.
Follow us:
⢠Newsletter: https://2027.pycon.de/newsletter/
⢠LinkedIn: https://www.linkedin.com/company/pyconde
⢠X: https://www.x.com/pyconde
Links:
⢠Conference website: http://pycon.de
⢠Other sessions: https://2026.pycon.de/talks/
The conference was organized by
⢠Python Softwareverband e.V.: http://pysv.org
⢠Pioneers Hub gemeinnßtzige GmbH: http://pioneershub.org
in collaboration with NumFOCUS Inc.: http://numfocus.org
If you enjoyed this session, please like, and subscribe to our channel for more insightful talks and discussions.
Share this video with your network to spread the knowledge!
Hashtags:
#Python #PyConDE #PyData #OpenSource #AI #DataScience #MachineLearning #SoftwareEngineering #LLMs #Community #Sovereignty
Acknowledgements:
Special thanks to all the volunteers and sponsors who made this event possible.
About:
Python Softwareverband e.V.:
PySV is a non-profit that promotes the use and development of Python in Germany through events, education, and advocacy, fostering an open Python community.
Pioneers Hub gemeinnĂźtzige GmbH:
is a non-profit fostering innovation in AI and tech by connecting experts and promoting knowledge exchange through events and collaborative initiatives.
NumFOCUS Inc.
supports open-source scientific computing by providing financial and logistical support to key projects like NumPy and Jupyter, promoting sustainable development and collaboration.
www.pydata.org
PyData is an educational program of NumFOCUS, a 501(c)3 non-profit organization in the United States. PyData provides a forum for the international community of users and developers of data analysis tools to share ideas and learn from each other. The global PyData network promotes discussion of best practices, new approaches, and emerging technologies for data management, processing, analytics, and visualization. PyData communities approach data science using many languages, including (but not limited to) Python, Julia, and R. PyTorch and CPU-GPU Synchronizations [PyCon DE & PyData 2026]](https://i.ytimg.com/vi/dKZxUcuOb8A/mqdefault.jpg)




