Skip to content

Instantly share code, notes, and snippets.

View ben-alkov's full-sized avatar

Ben Alkov ben-alkov

View GitHub Profile
@ben-alkov
ben-alkov / crossterm_metadata.json
Created March 28, 2025 20:32
Output of `cargo metadata --format-version 1` for `crossterm`
This file has been truncated, but you can view the full file.
{
"packages": [
{
"name": "addr2line",
"version": "0.24.2",
"id": "registry+https://github.com/rust-lang/crates.io-index#[email protected]",
"license": "Apache-2.0 OR MIT",
"license_file": null,
"description": "A cross-platform symbolication library written in Rust, using `gimli`",
"source": "registry+https://github.com/rust-lang/crates.io-index",
@ben-alkov
ben-alkov / requirements.txt
Created March 28, 2024 16:20
Fuly hashed requirements.txt for [StableCascade](https://github.com/Stability-AI/StableCascade)
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe --generate-hashes --output-file=requirements.txt requirements.in
#
accelerate==0.27.2 \
--hash=sha256:a818dd27b9ba24e9eb5030d1b285cf4cdd1b41bbfa675fb4eb2477ddfc097074 \
--hash=sha256:cc715fe9a8bc7a286259bfb6d65fb78363badd3371e7cbda4e4a4ef34a0010aa
# via -r requirements.in
@ben-alkov
ben-alkov / qna.yaml
Created March 10, 2024 17:43
qna for instruct-lab
# All examples generated by https://gitlab.com/jallbrit/cbonsai
# taxonomy/compositional_skills/writing/freeform/asciiart-bonsai
created_by: ben-alkov
seed_examples:
- answer: |-
BONSAI
&&&& &&&
& &&&&\
& &&/
&|
@ben-alkov
ben-alkov / gist:3f9ff6b3b5d30352b6db7c3dcbcdf609
Created March 10, 2024 17:30
Fix for llama.cpp can't memlock enough RAM
Append to '/etc/security/limits.conf'
`* - memlock 23600000`