Issue #268 - The ML Engineer 🤖
The Machine Learning Engineer 🤖 #268 - Democratising LLM Inference, Google Forecast Foundation Model, Cyber-resilience Act, Stanford's Algorithms, LLaVA 1.16, ML Frameworks + more 🚀
This week we celebrate a major milestone towards democratising AI inference 🚀
Our Vulkan Kompute project being adopted as one of the backends for the LLama.cpp and GPT4ALL frameworks! Two highly renowned projects for GPT inference with whopping 50k and 60k github stars respectively!
Here is to the many more successes to come in 2024 🚀
This week in Machine Learning:
Democratising LLM Inference
Google Forecast Foundation Model
Cyber-resilience Act and OSS
Stanford's Modern Algorithms
LLaVA 1.16 OCR & Reasoning
Upcoming MLOps Events
Open Source ML Frameworks
Awesome AI Guidelines to check out this week
+ more 🚀
Thank you for being part of over 60,000+ ML professionals and enthusiasts who receive weekly articles & tutorials on Machine Learning & MLOps 🤖 You can join the newsletter for free at https://ethical.institute/mle.html ⭐
If you like the content please support the newsletter by sharing with your friends via ✉️ Email, 🐦 Twitter, 💼 Linkedin and 📕 Facebook! If you've come across this you can join the newsletter asdf for free at https://ethical.institute/mle.html ⭐
If you are a Machine Learning Practitioner looking for an interesting opportunity, I'm currently hiring for a few roles including Senior Principal / Head of Product, Data Scientist Marketing Intelligence, Data Engineer Machine Learning & Data Engineer Data Platform - do check it out and do feel free to share broadly!
This week we celebrate a major milestone towards democratising AI inference with our Vulkan Kompute project being adopted as one of the backends for the LLama.cpp and GPT4ALL projects 🚀 These are two highly renowned projects for GPT inference with whopping 50k and 60k github stars respectively! This is a major leap realising the initial vision of the Kompute project to serve as the GPU optimisation backend for leading AI frameworks! This comes with coincidentally at the same week as Meta's release of their newest and more performant Code Llama 70B model! Huge shoutout to the Nomic AI team for spearheading this initiative and leveraging our general purpose GPU compute framework for cross vendor graphics cards with Vulkan Kompute!
Google Forecast Foundation Model
Google's new deep learning model for zero-shot time-series forecasting with 200m parameters pre-trained on 100B time-series data-points: The time-series forecasting space continues to see innovative developments, in this case we see Google showcasing "TimesFM", a novel 200 million parameter model pre-trained on 100 billion real-world time-points for time-series forecasting. This model is designed for zero-shot performance, which means that it's expected to provide predictions without being trained, only by providing the input similar to something like ChatGPT. This model leverages a decoder-only architecture adapted from large language models, enabling it to provide accurate forecasts across various domains without additional training. TimesFM demonstrates its efficacy by closely matching or outperforming state-of-the-art supervised and traditional statistical forecasting methods on diverse datasets, including the Monash Forecasting Archive. The model's success highlights its potential to significantly improve forecasting tasks in retail, finance, and other sectors by reducing the need for extensive model training and validation, making advanced forecasting more accessible to users.
EU's new Cyber-resilience Act: What does it mean for open source? The EU Cyber Resilience Act has raised concerns within the open source community regarding its impact on software development, testing, auditing, and support. However since its first inception, this policy has adopted feedback from the community, now explicitly targets commercial activities, exempting non-commercial open source projects and contributors from its regulations. It specifies conditions under which open source could be considered commercial, thereby subject to the CRA, and introduces a "light-touch" regulatory regime for open-source software stewards supporting commercial use. While the CRA does not directly regulate most open source software, it mandates due diligence from commercial users, potentially benefiting open source security. Production machine learning practitioners engaged in commercial open source activities should be aware of this new policy, which will most likely influence the security practices within the open source machine learning ecosystem.
Stanford is providing a refresher of the traditional computer science course on "Data Structures and Algorithms" focusing on the Modern Algorithmic Toolbox: Stanford has ran a course in Spring 2023 focusing on the core algorithms that power modern machine learning and data analysis. This course is led by by Gregory Valiant and combines theoretical insights with practical applications to guide students through a series of weekly mini-projects covering topics such as hashing, dimension reduction, gradient descent, and linear-algebraic techniques like PCA and SVD. It is aimed at fostering a hands-on understanding of how and when to apply these algorithms. Additionally, the course structure encourages collaboration on projects, making it highly relevant for machine learning practitioners looking to deepen their algorithmic knowledge and apply it in real-world scenarios.
LLaVA-1.6 is released with improved reasoning, OCR, and world knowledge: An interesting advancement in large multimodal ML models with the release of LLaVA's new model surpassing its predecessor and outperforming competitors like Gemini Pro in various benchmarks. Key enhancements include quadrupled image resolution, superior visual reasoning and OCR capabilities, expanded world knowledge, and efficient deployment with SGLang, all while maintaining the minimalist design and data efficiency of LLaVA-1.5. The model also was created with lower training costs, requiring less than 1M visual instruction tuning samples and about a day's training on 32 A100 GPUs. LLaVA-1.6 represents a leap forward in LMM efficiency, power, and versatility, offering new opportunities for research and application in the field.
Upcoming MLOps Events
The MLOps ecosystem continues to grow at break-neck speeds, making it ever harder for us as practitioners to stay up to date with relevant developments. A fantsatic way to keep on-top of relevant resources is through the great community and events that the MLOps and Production ML ecosystem offers. This is the reason why we have started curating a list of upcoming events in the space, which are outlined below.
Upcoming conferences where we're speaking:
WeAreDevelopers 2024 @ 17th July @ Germany
Data Intelligence Day 2024 @ 9th April @ Germany
Other upcoming MLOps conferences in 2024:
FOSDEM (AI & HPC) - 3rd February @ Belgium
State of the Open (Data) - 6th February @ UK
World AI Cannes - 8th February @ France
NVIDIA GTC - 17th March @ USA
KubeCon Europe (AI) - 18th March @ France
MLConf - 28th March @ USA
PyData & PyCon DE - 17th April @ Germany
MLSys - 13th May @ USA
ODSC West - 29th October @ USA
Data & AI Summit - 10th June @ USA
AI Summit London - 12th June @ UK
World Summit AI - 9th October @ Neatherlands
In case you missed our talks:
Responsible AI Workshop Keynote - NeurIPS 2021
Practical Guide to ML Explainability - PyCon London
ML Monitoring: Outliers, Drift, XAI - PyCon Keynote
Metadata for E2E MLOps - Kubecon NA 2022
ML Performance Evaluation at Scale - KubeCon Eur 2021
Industry Strength LLMs - PyData Global 2022
ML Security Workshop Keynote - NeurIPS 2022
Open Source MLOps Tools
Check out the fast-growing ecosystem of production ML tools & frameworks at the github repository which has reached over 10,000 ⭐ github stars. We are currently looking for more libraries to add - if you know of any that are not listed, please let us know or feel free to add a PR. Four featured libraries in the GPU acceleration space are outlined below.
Kompute - Blazing fast, lightweight and mobile phone-enabled GPU compute framework optimized for advanced data processing usecases.
CuPy - An implementation of NumPy-compatible multi-dimensional array on CUDA. CuPy consists of the core multi-dimensional array class, cupy.ndarray, and many functions on it.
Jax - Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more
CuDF - Built based on the Apache Arrow columnar memory format, cuDF is a GPU DataFrame library for loading, joining, aggregating, filtering, and otherwise manipulating data.
If you know of any open source and open community events that are not listed do give us a heads up so we can add them!
OSS: Policy & Guidelines
As AI systems become more prevalent in society, we face bigger and tougher societal challenges. We have seen a large number of resources that aim to takle these challenges in the form of AI Guidelines, Principles, Ethics Frameworks, etc, however there are so many resources it is hard to navigate. Because of this we started an Open Source initiative that aims to map the ecosystem to make it simpler to navigate. You can find multiple principles in the repo - some examples include the following:
MLSecOps Top 10 Vulnerabilities - This is an initiative that aims to further the field of machine learning security by identifying the top 10 most common vulnerabiliites in the machine learning lifecycle as well as best practices.
AI & Machine Learning 8 principles for Responsible ML - The Institute for Ethical AI & Machine Learning has put together 8 principles for responsible machine learning that are to be adopted by individuals and delivery teams designing, building and operating machine learning systems.
An Evaluation of Guidelines - The Ethics of Ethics; A research paper that analyses multiple Ethics principles.
ACM's Code of Ethics and Professional Conduct - This is the code of ethics that has been put together in 1992 by the Association for Computer Machinery and updated in 2018.
If you know of any guidelines that are not in the "Awesome AI Guidelines" list, please do give us a heads up or feel free to add a pull request!
About us
The Institute for Ethical AI & Machine Learning is a European research centre that carries out world-class research into responsible machine learning.
