On every machine in the cluster install openmpi
and mlx-lm
:
conda install conda-forge::openmpi
pip install -U mlx-lm
Next download the pipeline parallel run script. Download it to the same path on every machine:
On every machine in the cluster install openmpi
and mlx-lm
:
conda install conda-forge::openmpi
pip install -U mlx-lm
Next download the pipeline parallel run script. Download it to the same path on every machine:
# LVDB - LLOOGG Memory DB | |
# Copyriht (C) 2009 Salvatore Sanfilippo <[email protected]> | |
# All Rights Reserved | |
# TODO | |
# - cron with cleanup of timedout clients, automatic dump | |
# - the dump should use array startsearch to write it line by line | |
# and may just use gets to read element by element and load the whole state. | |
# - 'help','stopserver','saveandstopserver','save','load','reset','keys' commands. | |
# - ttl with milliseconds resolution 'ttl a 1000'. Check ttl in dump! |
<?php | |
/* | |
Convert an arbitrarily large number from any base to any base. | |
string convBase(string $numberInput, string $fromBaseInput, string $toBaseInput) | |
$numberInput number to convert as a string | |
$fromBaseInput base of the number to convert as a string | |
$toBaseInput base the number should be converted to as a string | |
examples for $fromBaseInput and $toBaseInput |
<?php | |
class Struct | |
{ | |
/** | |
* Define a new struct object, a blueprint object with only empty properties. | |
*/ | |
public static function factory() | |
{ | |
$struct = new self; | |
foreach (func_get_args() as $value) { |