VMWare Fusion 13 is now released. Read Vagrant and VMWare Fusion 13 Player on Apple M1 Pro for the latest.
This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated
# Clone llama.cpp | |
git clone https://github.com/ggerganov/llama.cpp.git | |
cd llama.cpp | |
# Build it | |
make clean | |
LLAMA_METAL=1 make | |
# Download model | |
export MODEL=llama-2-13b-chat.ggmlv3.q4_0.bin |
probe process("/usr/bin/pkexec").function("main") { | |
if (cmdline_arg(1) == "") | |
raise(9); | |
} |
### | |
### [2023-06-19] UPDATE: Just tried to use my instructions again on a fresh install and it failed in a number of places. | |
###. Not sure if I'll update this gist (though I realise it seems to still have some traffic), but here's a list of | |
###. things to watch out for: | |
### - Check out the `nix-darwin` instructions, as they have changed. | |
### - There's a home manager gotcha https://github.com/nix-community/home-manager/issues/4026 | |
### | |
# I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs). | |
# So here's a minimal Gist which worked for me as an install on a new M1 Pro. |
VMWare Fusion 13 is now released. Read Vagrant and VMWare Fusion 13 Player on Apple M1 Pro for the latest.
This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated
#!/usr/bin/env sh | |
set -e | |
if [ "$TAILSCALE_APIKEY" = "" ]; then | |
echo "Missing TAILSCALE_APIKEY environment variable, exiting"; exit 21 | |
fi | |
NAME="$(hostname -f)" | |
TAILSCALE_API="https://api.tailscale.com/api/v2" |
#!/usr/bin/env python | |
# | |
# Sync your tailscale hosts to a route53 hosted zone. | |
# | |
import json | |
import platform | |
import subprocess | |
import boto3 | |
import click |
This configuration features:
j
#!/usr/bin/env python3.8 | |
# requires python3.8 | |
from typing import Dict, Final | |
import hashlib | |
import os | |
import subprocess | |
# Expects a file of the format output by sha256sum (text mode) | |
CHECKSUM_FILE: Final = ".local_checksum" |
# First, we need to find our device. BEFORE inserting your USB drive, run the | |
# following: | |
diskutil list | |
# This will output a bunch of info about all of the disk drives connected to | |
# your Mac. Each entry will have a header in the form "/dev/diskX", where X is | |
# some number starting at 0. Now, insert your USB drive and run the command | |
# again. You should see a new entry. Make note of the name (ie, /dev/diskX). | |
diskutil list |