On every machine in the cluster install conda
and mlx-lm
:
conda install openmpi
pip install -U mlx-lm
Next download the pipeline parallel run script. Download it to the same path on every machine:
// Generates a URL-friendly "slug" from a provided string. | |
// For example: "This Is Great!!!" transforms into "this-is-great" | |
function generateSlug (value) { | |
// 1) convert to lowercase | |
// 2) remove dashes and pluses | |
// 3) replace spaces with dashes | |
// 4) remove everything but alphanumeric characters and dashes | |
return value.toLowerCase().replace(/-+/g, '').replace(/\s+/g, '-').replace(/[^a-z0-9-]/g, ''); | |
}; |
var CreateAccountForm = React.createClass({ | |
propTypes: { | |
buttonText: React.PropTypes.string, | |
isInline: React.PropTypes.bool | |
}, | |
getInitialState: function() { | |
return { | |
error: '', | |
password: '', | |
emailAddress: '', |
/** | |
* Module dependencies. | |
*/ | |
var express = require('express') | |
, routes = require('./routes') | |
, http = require('http'); | |
var app = express(); | |
var server = app.listen(3000); |
ALSO SEE THIS: http://eddychan.com/post/18484749431/minimum-viable-ops-deploying-your-first-django-app-to | |
AND THIS: http://bitnami.com/stack/django | |
These are my notes on how to quickly setup a python, virtualenv (use virtualenv-burrito FTW), and django. | |
Setup an EC-2 instance: | |
======================= | |
Use the quick launch wizard: |
On every machine in the cluster install conda
and mlx-lm
:
conda install openmpi
pip install -U mlx-lm
Next download the pipeline parallel run script. Download it to the same path on every machine: