Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.
Avoid being a link dump. Try to provide only valuable well tuned information.
Neural network links before starting with transformers.
Part | Article |
---|---|
I | The 1201 program alarm |
II | Glenn’s flight |
III | Functional vs non-functional requirements |
IV | RACI |
V | [Chat |
The below currently does not work on Raspbian Buster Lite (Debian 10). The kernel has been compiled without CONFIG_CFS_BANDWIDTH
and pods will fail to spawn due to runc trying to write into cpu.cfs_period_us
in the cgroup of the pod. This file does not exist and trying to create it yields permission denied
.
Example:
open /sys/fs/cgroup/cpu,cpuacct/kubepods.slice/kubepods-besteffort.slice/kubepods-besteffort-pod3a1fe9eafc113856b2d4d409800ef99f.slice/crio-211c0bcc45f43e085415cff3736e38a552ee92657d879d4235f02a7d4dee097f.scope/cpu.cfs_period_us: permission denied
This gist describes how to set up standalone kubelet + CRI-O + CNI on Fedora Core 31. The goal is to place a Kubernetes Pod manifest on an single node and access the application from the network. This guide has been tested on x86-64 and armv7 deployments.
Make sure the system is up to date:
dnf -y update
A lot of people land when trying to find out how to calculate CPU usage metric correctly in prometheus, myself included! So I'll post what I eventually ended up using as I think it's still a little difficult trying to tie together all the snippets of info here and elsewhere.
This is specific to k8s and containers that have CPU limits set.
To show CPU usage as a percentage of the limit given to the container, this is the Prometheus query we used to create nice graphs in Grafana:
sum(rate(container_cpu_usage_seconds_total{name!~".*prometheus.*", image!="", container_name!="POD"}[5m])) by (pod_name, container_name) /
package kubernetes | |
name = input.metadata.name | |
kind = input.kind | |
is_service { | |
kind = "Service" | |
} |
s = status --short --branch --ignore-submodules=untracked | |
find = log --pretty=\"format:%Cgreen%H\n%s\n\n%b\" --name-status --grep | |
amend = commit --amend --no-edit | |
undo = reset HEAD~ | |
upload = "!git push rakyll $(git rev-parse --abbrev-ref HEAD)" | |
prune = "!git co master && git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d" | |
delete = branch -D | |
pr = "!git fetch origin pull/$1/head:pr$1" | |
sync = "!git pull -q -r origin master" |
#!/bin/bash | |
# | |
# NOTE: specify the absolutepath to the directory to use when | |
# loading a plugin. '~' expansion is supported. | |
# | |
chunkc core::plugin_dir /usr/local/opt/chunkwm/share/chunkwm/plugins | |
# |