INFN/CERN on LLM as a Service
INFN CERN Exchange on LLM as a Service
-
-
09:00
→
10:00
Welcome and objectives 1h
- Introduction by INFN (30 mins)
- Introduction by CERN ML team (30 mins)
Present
INFN: Marina Passaseo, Marco Corvo, Federico Zani, Mirko Corosu
CERN: Maurizio Pierini, Josh Bendavid, Amine Lahouel, Laura Llinares, Matteo Bunino, Raul Chiorescu, Manuel Guijarro
Quick recap
This meeting was a presentation session focused on AI and LLM (Large Language Model) initiatives across INFN and CERN IT department, with participants sharing their experiences and challenges in implementing AI assistant services. Marina presented an overview of INFN's AI assistance group, which has been working for three years to evaluate commercial AI tools and develop on-premises solutions, currently using Microsoft Copilot Pro, ChatGPT Educational, and TextCortex licenses through their CRUI university contract. Federico discussed a proof-of-concept implementation at Roma Tor Vergata branch of INFN, demonstrating their on-premises LLM setup using NVIDIA L40 GPUs hosting open-weight models including Qwen 3.8, with challenges around LiteLLM Proxy's commercial paywall and rate-limiting issues. Amin and Manuel from CERN's infrastructure and platform team presented their comprehensive AI/ML platform, showcasing their multi-vendor GPU hardware resources and Kubernetes-based LLM serving infrastructure using VLLM, which supports over 60 different use cases across the organization including chatbots, document classification, and RAG pipelines. The discussion covered common challenges including LiteLLM Proxy's enterprise licensing restrictions, hardware constraints limiting model selection, and the need for alternative solutions as companies may change their open-source licensing approaches.
Next steps
Federico
- Share the open-source wrapper for VLLM used in the opportunistic HPC/HTC inference worker POC with the CERN team.
- Continue exploring and refining the use of decision models for phishing detection and other low-latency classification tasks.
- Investigate the possibility of implementing a more robust orchestration layer for the opportunistic inference workers, including proactive job renewal and automatic shutdown of idle instances.
Amine and Manuel
- Create a communication channel (e.g., Mattermost) for the group to share experiences, challenges, and solutions related to LLM serving and agentic workflows.
- Share the reference architecture for the CERN machine learning platform with the INFN team.
- Provide feedback to Federico on the performance and behavior of the VLLM D31 decision model after it is deployed in the next few weeks.
Summary
AI Tools Implementation at INFN
The meeting focused on discussing AI tools and their implementation at INFN. The group presented their work on evaluating and implementing various AI assistants, including Microsoft Copilot Pro, ChatGPT Educational, and TextCortex. They discussed the advantages and limitations of each tool, including pricing, data security, and compliance with GDPR and European AI Act requirements. The team also outlined their plans to develop on-premises AI solutions and integrate connectors and plugins for various applications. Next steps include enabling additional features, exploring API access options, and continuing to evaluate different AI tools to meet INFN's specific needs.
On-Premise LLM Implementation Discussion
Federico presented a POC for on-premise LLMs at Roma Tor Vergata, highlighting challenges with LiteLLM Proxy's commercial paywall and the need for alternative solutions. The team discussed hardware constraints, using two NVIDIA L40s with 48GB VRAM each, and the challenges of model deprecation and user experience management. Amine shared CERN's infrastructure and platform team's work on AI/ML MLOps lifecycle, including their shared pool of multi-vendor hardware and Kubernetes-based model serving using KServe and VLLM. The discussion explored potential solutions for LLM proxy alternatives, including Langfuse's new gateway and concerns about vendor lock-in with current solutions.
CERN LLM Infrastructure Overview
Manuel presented an overview of CERN's LLM serving infrastructure, explaining how it evolved from a 2023 chatbot proposal to a comprehensive service currently serving 174,000 requests daily across 47 active teams. The system uses a gateway architecture to centralize model access and share GPU resources, currently providing access to models including Qwen 3.8 and GLM 5.3, with plans to expand to include OCR and re-ranker models based on user demand. Federico and Maurizio discussed challenges with email search RAG implementations, noting that building vector databases for large email inboxes presents significant scaling challenges, and that multiple overlapping projects at CERN need coordination to avoid duplication of efforts.
Visit to Alice
The meeting participants discussed plans for coffee and a visit to Alice, followed by lunch and returning to their location around 2:00 PM.
On-Premise LLM Serving Platform
The team discussed their on-premise LLM serving platform called "coding assistant" which complements commercial coding tools like GitHub Copilot. Federico explained that while on-premise solutions are more expensive and have a quality gap compared to commercial offerings, they provide better cost efficiency and governance control. The platform uses OpenAI-compatible models and includes an AI gateway that can connect to various clients and models hosted both on-premise and in the cloud, with accounting and access management handled through CERN's systems.
AI Infrastructure Scaling Challenges
The team discussed their AI infrastructure setup, including pioneer configurations from NGT and Flatiron, with B300 GPUs and GCP resources. They identified key challenges including GPU availability constraints, scaling behavior uncertainty, and model quality validation processes. The current system serves around 1,200 users with approximately 400 active users for specific models like GLM-5.3, though they face issues with power users overwhelming resources through agent loops. The team is planning to implement dynamic rate limiting features and batch processing capabilities to address these challenges, while also exploring ways to leverage HPC resources through tools like Interlink to enhance their Kubernetes platform.
HPC-LLM Integration Approaches Discussion
The team discussed two main HPC integration approaches for LLMs. Matteo Bunino presented work on offloading Kubernetes pods to HPC systems using Interlink, highlighting challenges with multi-factor authentication, network access, and multi-tenant queue management. Federico then demonstrated a proof-of-concept architecture using overlay networks with ZeroTier to distribute LLM serving across geographically distributed HTC clusters, allowing horizontal scaling without requiring SSH access or specific port configurations. The discussion concluded with questions about decision models for phishing detection, where Mirko shared his experience using Liquid AI 3B model achieving 0.5-second latency with less than 1% false positives, and Amine announced plans to deploy decision models both internally for routing and externally for user experimentation.
-
10:00
→
10:30
Coffee break 30m
-
10:30
→
12:30
ALICE visit 2h
-
12:30
→
13:30
Lunch Break 1h
-
13:30
→
14:30
Infrastructure and model serving 1h
- GPU resources, deployment architecture, model selection, inference frameworks, scaling, and resource sharing.
- Authentication, permissions, handling sensitive information, logging, and conditions for using external versus locally hosted models.
- Discussion on Monitoring, availability, user support, quotas, usage accounting, and evaluating model quality, latency, and efficiency.
-
14:30
→
15:00
Coffee break 30m
-
15:00
→
16:30
Demonstrations and technical exchange 1h 30m
- Short demonstrations from both teams, practical lessons learned, and discussion of retrieval-augmented generation (RAG) and API integration.
- Identify shared interests, possible joint tests or benchmarks, contact persons, and follow-up actions.
-
16:30
→
18:30
Attend AI in Sync 2h
-
09:00
→
10:00