location /sse/ {
# enables EventSource support
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_buffering off;
}
Discover gists
IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。
- https://education.github.com/pack GitHub学生包,需用教育邮箱验证。各种福利,可从DigitalOcean上手
- https://github.com/ripienaar/free-for-dev 本文尽量不与此项目重复
- https://free.zhelper.net/
- https://github.com/AchoArnold/discount-for-student-dev
Good question! I am collecting human data on how quantization affects outputs. See here for more information: ggerganov/llama.cpp#5962
In the meantime, use the largest that fully fits in your GPU. If you can comfortably fit Q4_K_S, try using a model with more parameters.
See the wiki upstream: https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Step 1: Storage | |
#pvesm remove local-lvm | |
#lvremove /dev/pve/data -y | |
#lvcreate -n vz -l 100%FREE pve | |
#mkfs.ext4 -L vz /dev/pve/vz | |
#mount | grep -q -w '/dev/pve/vz' || mount /dev/pve/vz /var/lib/vz | |
#grep -q -w '/dev/pve/vz /var/lib/vz ext4 defaults,lazytime,commit=60,errors=remount-ro 0 2' /etc/fstab || echo '/dev/pve/vz /var/lib/vz ext4 defaults,lazytime,commit=60,errors=remount-ro 0 2' >> /etc/fstab | |
## Step 2: Free repository | |
rm -f /etc/apt/sources.list.d/pve-enterprise.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Import( vbsFile ) | |
REM@description | |
' Import/include/using code from an external VBScript file. | |
REM@author | |
' Jeremy England, http://codeartery.com/ | |
REM@params | |
' vbsFile <string> - A relative, absolute, or URL path to a file containing vbscript code. | |
REM@returns | |
' Import <bool> - Returns False if the import failed, and True if it succeeded. | |
REM@mini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FIXED_MINIAUDIO_URL=" | |
https://raw.githubusercontent.com/mackron/miniaudio/fe5f17ecf3189c680855b030467bcfa9f8d26143/miniaudio.h" | |
curl -L $FIXED_MINIAUDIO_URL -o src/external/miniaudio.h | |
mkdir -p build | |
cd build | |
cmake \ |
NewerOlder