Open in app
Home
Notifications
Lists
Stories

Write
Hemanth Sharma
Hemanth Sharma

Home

Jul 12, 2021

Python Stories Ep. 1

“Do we need a Queue”? We finished the demo one day to a team of 40. It went good. But there were things we needed to fix. The product we were working on was slow. We had 8–9 Microservices to be run sequentially. To make it faster we used the Kafka Queues, So while the…

2 min read


Dec 17, 2020

logging to logstash from python from scratch in Ubuntu

Step 1: Install few required packages: Install Nginx sudo apt-get install nginx Import GPG key wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - This step outputs OK install transport-https package sudo apt-get install apt-transport-https Add elastic repo into system’s repo list echo “deb https://artifacts.elastic.co/packages/7.x/apt stable main” | sudo tee –a /etc/apt/sources.list.d/elastic-7.x.list

Logstash

3 min read


Dec 17, 2020

Logging to logstash in python from scratch for Windows

This quick tutorial is done in Windows OS. Only the installing and starting the services part changes in other OSes. You could find many resources online to install ELK stack on your OS. Step 1. Download ELK stack one by one https://www.elastic.co/downloads/elasticsearch https://www.elastic.co/downloads/kibana https://www.elastic.co/downloads/logstash Step 2. After unzipping, copy the…

Simple Logstash Tutorial

3 min read

Logging to logstash in python from scratch for Windows
Logging to logstash in python from scratch for Windows

Jul 20, 2020

Convert Onnx BERT model to TensorRT

Prerequisites: This tutorial assumes the following is done: 1. Installation of specific version of CUDA which are supported by tensorrt (cuda 10.2, cuda 11), 2. Install supported CuDNN 3. NVIDIA drivers 1. Installation: On successful CUDA installation, install TensorRT using the following link https://docs.nvidia.com/deeplearning/tensorrt/install-guide/index.html To give a gist of the installation, TensorRT can…

Tensorrt

4 min read


Jul 20, 2020

Run BERT onnx model using nGraph

nGraph: — nGraph is an acceleration framework for deep learning models just like TensorRT. While TensorRT can be run on NVIDIA-GPUs, nGraph allows us to run on any framework or device. Checkout the git repo: https://github.com/NervanaSystems/ngraph This tutorial only covers model inference on CPU and NVIDIA GPUs. The INTEL GPU inference is…

Ngraph

2 min read


Jul 20, 2020

Convert Bert model from pytorch to onnx and run inference

This short tutorial assumes that you have your pytorch BERT model trained. Let us convert the pytorch BERT sequence classification model into onnx. First load the pretrained model into model https://pytorch.org/tutorials/beginner/saving_loading_models.html Run the below code to convert BERT model into onnx ''' Define arguments to pass to onnx exporter ''' …

Onnx

2 min read


Jun 28, 2020

Understanding Brain- 1

“Let us keep asking What, How and Why for the functionalities we observe in the brain so that we could successfully understand most of the things” Let us see the big picture first What Neural System does? The functionality of the neural system is believed to be maintaining the status quo of the body in general. How Neural System does this? Let us start with anatomy…

AI

5 min read

Understanding Brain- 1
Understanding Brain- 1
Hemanth Sharma

Hemanth Sharma

Lazy, Infrequent blogger

Following
  • Vatsal Saglani

    Vatsal Saglani

  • Ng Wai Foong

    Ng Wai Foong

  • David Silver

    David Silver

  • Jonathan Hui

    Jonathan Hui

  • Eddie Forson

    Eddie Forson

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable