Skip to content

Instantly share code, notes, and snippets.

View rscircus's full-sized avatar
💭
👋

Roland Siegbert rscircus

💭
👋
View GitHub Profile
@KillyMXI
KillyMXI / README.md
Last active June 2, 2024 21:35
Obsidian live-preview list threading and highlight
@rain-1
rain-1 / llama-home.md
Last active June 19, 2024 03:05
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.
#### Open Powershell and run the following commands to install oh-my-posh and posh-git
```
Set-ExecutionPolicy Bypass -Scope Process -Force
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://ohmyposh.dev/install.ps1'))
PowerShellGet\Install-Module posh-git -Scope CurrentUser -Force
```
#### Open Notepad to config Powershell profile
// VIVALDI
function VivaldiStart() {
chrome.windows.getAll({ windowTypes: ['normal'], populate: true }, function(w) {
chrome.storage.local.get(null, function(storage) {
// LOAD PREFERENCES
Preferences_GetCurrentPreferences(storage);
if (storage.data_version == undefined || storage.data_version == 2) {
// load tabs and windows from storage
let refTabs = {};
let tabs_matched = 0;
@kasuken
kasuken / devmachine.ps1
Created October 7, 2021 07:30
Tools and software for my workstations and laptops. Windows 11 version.
#####################
# SOFTWARE
#####################
# Console
cinst poshgit
# 7Zip
cinst 7zip.install -y
@danish17
danish17 / gist:c5c5fb6eb99d452c339e393ed637640b
Last active June 13, 2024 13:00
LogiOps MX Master 3 Configuration
// Logiops (Linux driver) configuration for Logitech MX Master 3.
// Includes gestures, smartshift, DPI.
// Tested on logid v0.2.3 - GNOME 3.38.4 on Zorin OS 16 Pro
// What's working:
// 1. Window snapping using Gesture button (Thumb)
// 2. Forward Back Buttons
// 3. Top button (Ratchet-Free wheel)
// What's not working:
// 1. Thumb scroll (H-scroll)
// 2. Scroll button
@GLMeece
GLMeece / master_list_of_logical_fallacies.md
Created May 26, 2021 13:22
Master List of Logical Fallacies

Master List of Logical Fallacies

original article here

Fallacies are fake or deceptive arguments, "junk cognition," that is, arguments that seem irrefutable but prove nothing. Fallacies often seem superficially sound and they far too often retain immense persuasive power even after being clearly exposed as false. Like epidemics, fallacies sometimes "burn through" entire populations, often with the most tragic results, before their power is diminished or lost. Fallacies are not always deliberate, but a good scholar’s purpose is always to identify and unmask fallacies in arguments. Note that many of these definitions overlap, but the goal here is to identify contemporary and classic fallacies as they are used in today's discourse. Effort has been made to avoid mere word-games (e.g., "The Fallacist's Fallacy," or the famous "Crocodile's Paradox" of classic times), or the so-called "fallacies" of purely formal and symbolic, business and financia

@a-a
a-a / lilygo-t5-weather.ino
Created November 21, 2020 00:21
lilygo-t5-weather.ino
#include <gfxfont.h>
#include <Adafruit_SPITFT_Macros.h>
#include <Adafruit_SPITFT.h>
#include <Adafruit_GFX.h>
#include <Adafruit_GrayOLED.h>
/* ESP Weather Display using an EPD 2.7" Display, obtains data from Open Weather Map, decodes it and then displays it.
####################################################################################################################################
@hgomez
hgomez / Fix AC9560 on Fedora 32.md
Last active November 17, 2022 22:31
How to fix unstable Intel Wireless-AC 9560 on Fedora 32

Problem

I have a Dell Inspiron 15 7586 with Fedora 32. Wifi AC is provided by an Intel AC 9560.

dmesg | grep iwlwifi
...
[   16.978385] iwlwifi 0000:00:14.3: Detected Intel(R) Wireless-AC 9560, REV=0x318
...