VOOZH about

URL: https://www.analyticsvidhya.com/blog/2018/04/intel-open-sources-ngraph-now-focus-data-science-stop-worrying-hardware/

⇱ Intel open sources nGraph - Now Focus on Data Science and Stop Worrying about Frameworks and Hardware


India's Most Futuristic AI Conference Is Back – Bigger, Sharper, Bolder

  • d
  • :
  • h
  • :
  • m
  • :
  • s

Intel open sources nGraph – Now Focus on Data Science and Stop Worrying about Frameworks and Hardware

Pranav Dar Last Updated : 20 Apr, 2018
3 min read

Overview

  • Intel has open sourced the code for nGraph, a framework-neutral deep neural network model compiler
  • With nGraph, data scientists can finally prioritize data science tasks, rather than worrying about how their code will work on a different framework or device
  • It support 6 frameworks currently, including TensorFlow and PyTorch
  • Check out the article below to understand how to use it

Introduction

Code portability is one of the more challenging features of a data scientist’s work. How awesome would it be if you didn’t have to worry about what library or framework you’re using and will it be available on another framework? Will your code run on a machine with significantly different configuration? These are the current gaps in the industry.

Intel has stepped into this space and open sourced nGraph to reduce these complexities and tedious processes of adjusting models to different frameworks. nGraph is a framework-neutral deep neural network (DNN) model compiler that has the potential of targeting a wide variety of devices.

This allows data scientists to focus on the data science aspect of their projects (for example developers working on TensorFlow or PyTorch), rather than spending (or wasting) time on wondering how in the world their deep neural network will train and run if ported to a different device.

So how does it work exactly? You start by installing the nGraph library. Then, you write a framework with this library in order to train your deep learning model. The next step is crucial – you need to specify nGraph as the backend framework from the command line on any supported system.

Then Intel takes over. It’s Intermediate Representation (IR) layer takes care of all the device details and lets data scientists focus on their algorithms, approaches and models. Sounds perfect, doesn’t it?

The below image, taken from Intel’s blog post, describes the nGraph ecosystem:

👁 Image

As of today, nGraph supports three deep learning compute devices and six deep learning frameworks. Refer to the below table for clarity:

Framework bridge available? ONNX support?
neon yes yes
MXNet yes yes
TensorFlow yes yes
PyTorch not yet yes
CNTK not yet yes
Caffe2 not yet yes

The below graph shows the comparison between the different frameworks. nGraph is able to easily better previously optimized frameworks.

👁 Image

👁 Image

Intel has said it’ll keep adding other frameworks and devices to this list in the coming months. You can read in detail about this technology in Intel’s research paper here and access the open source code on GitHub here.

In summary, nGraph has the below advantages:

  • provides data scientists the freedom of choice in frameworks and hardware.
  • allows support for multiple deep learning frameworks
  • optimizes models for multiple hardware solutions
  • allows framework owners to add unique features with much less work
  • allows cloud service providers address a larger market demand with ease
  • helps enterprises maintain a consistent experience across frameworks and back ends

Our take on this

Why is this important? Because it allows data scientists freedom of choice in frameworks and hardware. If you’ve worked with limited computation resources, or trouble with code portability between machines, you will appreciate this latest release from Intel.

It’s ability to let framework owners add features without much effort works for it. It also lets cloud service providers to manage the demand in the market.

What do you think of this latest research? I encourage you to go through the paper and the code to gain a deeper appreciation for Intel’s latest effort.

Subscribe to AVBytes here to get regular data science, machine learning and AI updates in your inbox!

Senior Editor at Analytics Vidhya.Data visualization practitioner who loves reading and delving deeper into the data science and machine learning arts. Always looking for new ways to improve processes using ML and AI.

Login to continue reading and enjoy expert-curated content.

Free Courses

Generative AI - A Way of Life

Explore Generative AI for beginners: create text and images, use top AI tools, learn practical skills, and ethics.

Getting Started with Large Language Models

Master Large Language Models (LLMs) with this course, offering clear guidance in NLP and model training made simple.

Building LLM Applications using Prompt Engineering

This free course guides you on building LLM apps, mastering prompt engineering, and developing chatbots with enterprise data.

Improving Real World RAG Systems: Key Challenges & Practical Solutions

Explore practical solutions, advanced retrieval strategies, and agentic RAG systems to improve context, relevance, and accuracy in AI-driven applications.

Microsoft Excel: Formulas & Functions

Master MS Excel for data analysis with key formulas, functions, and LookUp tools in this comprehensive course.

Responses From Readers

Flagship Programs

GenAI Pinnacle Program| GenAI Pinnacle Plus Program| AI/ML BlackBelt Program| Agentic AI Pioneer Program

Free Courses

Generative AI| DeepSeek| OpenAI Agent SDK| LLM Applications using Prompt Engineering| DeepSeek from Scratch| Stability.AI| SSM & MAMBA| RAG Systems using LlamaIndex| Building LLMs for Code| Python| Microsoft Excel| Machine Learning| Deep Learning| Mastering Multimodal RAG| Introduction to Transformer Model| Bagging & Boosting| Loan Prediction| Time Series Forecasting| Tableau| Business Analytics| Vibe Coding in Windsurf| Model Deployment using FastAPI| Building Data Analyst AI Agent| Getting started with OpenAI o3-mini| Introduction to Transformers and Attention Mechanisms

Popular Categories

AI Agents| Generative AI| Prompt Engineering| Generative AI Application| News| Technical Guides| AI Tools| Interview Preparation| Research Papers| Success Stories| Quiz| Use Cases| Listicles

Generative AI Tools and Techniques

GANs| VAEs| Transformers| StyleGAN| Pix2Pix| Autoencoders| GPT| BERT| Word2Vec| LSTM| Attention Mechanisms| Diffusion Models| LLMs| SLMs| Encoder Decoder Models| Prompt Engineering| LangChain| LlamaIndex| RAG| Fine-tuning| LangChain AI Agent| Multimodal Models| RNNs| DCGAN| ProGAN| Text-to-Image Models| DDPM| Document Question Answering| Imagen| T5 (Text-to-Text Transfer Transformer)| Seq2seq Models| WaveNet| Attention Is All You Need (Transformer Architecture) | WindSurf| Cursor

Popular GenAI Models

Llama 4| Llama 3.1| GPT 4.5| GPT 4.1| GPT 4o| o3-mini| Sora| DeepSeek R1| DeepSeek V3| Janus Pro| Veo 2| Gemini 2.5 Pro| Gemini 2.0| Gemma 3| Claude Sonnet 3.7| Claude 3.5 Sonnet| Phi 4| Phi 3.5| Mistral Small 3.1| Mistral NeMo| Mistral-7b| Bedrock| Vertex AI| Qwen QwQ 32B| Qwen 2| Qwen 2.5 VL| Qwen Chat| Grok 3

AI Development Frameworks

n8n| LangChain| Agent SDK| A2A by Google| SmolAgents| LangGraph| CrewAI| Agno| LangFlow| AutoGen| LlamaIndex| Swarm| AutoGPT

Data Science Tools and Techniques

Python| R| SQL| Jupyter Notebooks| TensorFlow| Scikit-learn| PyTorch| Tableau| Apache Spark| Matplotlib| Seaborn| Pandas| Hadoop| Docker| Git| Keras| Apache Kafka| AWS| NLP| Random Forest| Computer Vision| Data Visualization| Data Exploration| Big Data| Common Machine Learning Algorithms| Machine Learning| Google Data Science Agent
👁 Av Logo White

Continue your learning for FREE

Forgot your password?
👁 Av Logo White

Enter OTP sent to

Edit

Wrong OTP.

Enter the OTP

Resend OTP

Resend OTP in 45s

👁 Popup Banner
👁 AI Popup Banner