sudo cat /etc/pacman.conf uncomment:
[core-testing]
Include = /etc/pacman.d/mirrorlist
upgrade
yay -Syyu
1/03/2023
make -f Makefile.sync checkout | |
make -f Makefile.sync sync | |
cmake --preset "ROCm 6" -DCMAKE_INSTALL_PREFIX=/usr/local -B build | |
cmake --build build | |
cd build | |
make install | |
cd .. | |
go build . | |
sudo cp ./ollama /usr/local/bin/ollama | |
sudo systemctl restart ollama |
git clone [email protected]:ollama/ollama.git
cd ollama
make -f Makefile.sync checkout
make -f Makefile.sync sync
import torch, grp, pwd, os, subprocess | |
devices = [] | |
try: | |
print("\n\nChecking ROCM support...") | |
result = subprocess.run(['rocminfo'], stdout=subprocess.PIPE) | |
cmd_str = result.stdout.decode('utf-8') | |
cmd_split = cmd_str.split('Agent ') | |
for part in cmd_split: | |
item_single = part[0:1] | |
item_double = part[0:2] |
query IntrospectionQuery { | |
__schema { | |
queryType { name } | |
mutationType { name } | |
subscriptionType { name } | |
types { | |
...FullType | |
} | |
directives { |
package test | |
import ( | |
"bytes" | |
"crypto/rand" | |
"io" | |
"testing" | |
) | |
func generateRandomFile() io.Reader { |
function updatego(){ | |
GOVERSION=`git ls-remote --tags https://go.googlesource.com/go | grep -E "refs\/tags\/go[[:digit:]]*\.[[:digit:]]*(\.[[:digit:]]*)?$" | cut -f2 -- | sort -V | tail -n 1 | cut -d'/' -f3` | |
FILENAME=$GOVERSION.linux-amd64.tar.gz | |
FILEPATH="/home/$USER/$FILENAME" | |
URL=https://golang.org/dl/$FILENAME | |
echo "Downloading $URL" | |
echo "Saving to $FILEPATH" | |
echo "wget -nc -c -O $FILEPATH $URL" | |
wget -nc -c -O $FILEPATH $URL | |
sudo rm -rf /usr/local/go |
Installing LineageOS 18 on Poco F3 Downgrading Android 12 to Android 11
I tried installing LineageOS following the instructions here: https://wiki.lineageos.org/devices/alioth/install
Problems:
Theres 3 modes that you need to understand the difference between: