TLDRocket
Sign in

Tools & Coding

975 summarised stories in Tools & Coding, each linking back to the original source. Browse all topics →

Tuesday, 11 January 2022

Deploy GPT-J 6B for inference using Hugging Face Transformers and Amazon SageMaker

Hugging Face 4 years ago 48

EleutherAI's GPT-J 6B, a 6 billion parameter open-source language model, can now be deployed to production using Amazon SageMaker and Hugging Face Transformers. Model loading time was reduced from 3 minutes 32 seconds to 7.7 seconds by using torch.save() and torch.load() instead of the standard from_pretrained() method. This enables GPT-J to run inference within SageMaker's 60-second request timeout on a standard GPU instance costing approximately $500 per month.

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.