Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
gunicorn run:app --workers=9
gunicorn run:app --workers=9 --worker-class=meinheld.gmeinheld.MeinheldWorker
Macbook Pro 2015 Python 3.7
| Framework | Server | Req/s | Max latency | +/- Stdev |
|---|
| # encoding=utf-8 | |
| # Project: learn-pytorch | |
| # Author: xingjunjie github: @gavinxing | |
| # Create Time: 29/07/2017 11:58 AM on PyCharm | |
| # Basic template from http://pytorch.org/tutorials/beginner/nlp/word_embeddings_tutorial.html | |
| import torch | |
| import torch.nn as nn | |
| import torch.autograd as autograd | |
| import torch.optim as optim |
| """Simple example on how to log scalars and images to tensorboard without tensor ops. | |
| License: BSD License 2.0 | |
| """ | |
| __author__ = "Michael Gygli" | |
| import tensorflow as tf | |
| from StringIO import StringIO | |
| import matplotlib.pyplot as plt | |
| import numpy as np |