Skip to content

Instantly share code, notes, and snippets.

View grimmo's full-sized avatar

Luigi grimmo

View GitHub Profile

Proxmox VE Installation on Hetzner Server via Rescue System

Follow these steps to install Proxmox VE on a Hetzner server via the Rescue System. The Rescue System is a Linux-based environment that can be booted into to perform system recovery tasks. We'll be using it to install Proxmox VE.

In order to complete the process, it is indeed necessary to first boot into the Rescue System and then connect to it via SSH. This will allow you to run the commands for installing Proxmox VE. Here are the steps:

Starting the Rescue System

  1. Log into the Hetzner Robot.
  2. Under "Main Functions; Server" select the desired server and then open the tab "Rescue".
@grimmo
grimmo / llama-home.md
Created May 15, 2023 06:51 — forked from rain-1/llama-home.md
How to run Llama 13B with a 6GB graphics card

This worked on 14/May/23. The instructions will probably require updating in the future.

llama is a text prediction model similar to GPT-2, and the version of GPT-3 that has not been fine tuned yet. It is also possible to run fine tuned versions (like alpaca or vicuna with this. I think. Those versions are more focused on answering questions)

Note: I have been told that this does not support multiple GPUs. It can only use a single GPU.

It is possible to run LLama 13B with a 6GB graphics card now! (e.g. a RTX 2060). Thanks to the amazing work involved in llama.cpp. The latest change is CUDA/cuBLAS which allows you pick an arbitrary number of the transformer layers to be run on the GPU. This is perfect for low VRAM.

  • Clone llama.cpp from git, I am on commit 08737ef720f0510c7ec2aa84d7f70c691073c35d.
@grimmo
grimmo / pparuling.md
Created February 19, 2019 12:31 — forked from auerfeld/pparuling.md
LAURI LOVE statement on property ruling

District Judge Margot Coleman has ruled that computers seized by the NCA in 2013 should not be returned to British Finnish computer scientist Lauri Love.

Love, who brought the case under the 1897 Police Property Act, said:

"Although the court has not in this instance exercised its discretion in my favour, I am thankful to have had a hearing and the opportunity to submit the issues in question to the consideration of the law. Sometimes applications to resolve tedious and stressful states of affairs are

AI like medicines

The original article is published (in italian) at https://blog.quintarelli.it/2018/10/ai-le-medicine.html. The author (and subsiquent rights) of the article is Stefano Quintarelli.

Think about medicines.

We know that in some cases they may cause victims. In some cases and if used inappropriately. But they normally work.

@grimmo
grimmo / README.md
Created December 14, 2016 12:58 — forked from ruario/README.md
Installs (or updates) PPAPI Flash, so that it can be used by Chromium-based browsers

Usage

To use this script click on the "Download ZIP" button listed on the GitHub Gist page and then unpack the .zip archive locally. You should now have a directory containing the file "latest-pepper-flash.sh".

Open a terminal within that directory and run the script like so:

sh latest-pepper-flash.sh

The script will fetch and install the latest Pepper Flash. From time to time (perhaps once a month) you should re-run this script and if there is a newer Flash it will upgrade your installed copy, otherwise it will just confirm that you have the latest version.

@grimmo
grimmo / mannaggia.sh
Last active October 28, 2015 12:21 — forked from joxer/Italian Christmas
Tira giù tutti i santi dal calendario
#!/bin/bash
# richiede pacchetti espeak mbrola-it3
while [ 1 ]
do
MANNAGGIA="Mannaggia a san`curl -s www.santiebeati.it/$(</dev/urandom tr -dc A-Z|head -c1)/|grep -a tit|cut -d'>' -f5|cut -d'<' -f1|shuf -n1`"
echo "$MANNAGGIA"
@grimmo
grimmo / gist:677046aba9ca50e1388e
Last active August 29, 2015 14:26 — forked from atomotic/gist:e0e3536b8bc14737685f
quote @virnatwit

"Al fondo, vedo (non certo nei curatori del progetto, ma come sottofondo ancora presente nella mente di alcuni bibliotecari italiani), l'idea che le opere conservate in una biblioteca siano in qualche modo "possedute" dalla biblioteca. Conservare (che è la mission delle biblioteche per le opere storiche) non implica acquisire diritti, quanto piuttosto, semmai, doveri, come appunto quello della massima valorizzazione delle opere. Al giorno d'oggi questo non può che significare rilasciare anche le digitalizzazioni in pubblico dominio (o CC0)."

Keeping medicines from the blood streams of the sick; food
from the bellies of the hungry; books from the hands of the
uneducated; technology from the underdeveloped; and putting
advocates of freedom in prisons. Intellectual property is
to the 21st century what the slave trade was to the 16th.