Skip to content

Instantly share code, notes, and snippets.

View russellballestrini's full-sized avatar
💭
https://uncloseai.com

Russell russellballestrini

💭
https://uncloseai.com
View GitHub Profile
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Russell Ballestrini",
"label": "Product & Services Engineer",
"email": "[email protected]",
"url": "https://russell.ballestrini.net",
"summary": "Innovative and results-driven Full Stack Engineer with over 15 years of experience in scaling systems, automating processes, and developing open-source software. Proven track record in executing ideas guided by vision and mission, uniting teams through effective communication, and growing product pipelines. Expertise in AWS infrastructure, DevOps practices, and growing SaaS products from the ground up.",
"location": {
"region": "Connecticut",
@russellballestrini
russellballestrini / gist:b1d17d8832859fbba8623c03069e61c2
Created January 16, 2024 16:16
error installing unsloth in python virtualenv
(env-unsloth) fox@ai:~$ pip install "unsloth[cu121_ampere] @ git+https://github.com/unslothai/unsloth.git"
Collecting unsloth[cu121_ampere]@ git+https://github.com/unslothai/unsloth.git
Cloning https://github.com/unslothai/unsloth.git to /tmp/pip-install-1v7p_k83/unsloth_c0bb12f6e08849a6afa66cb8e700f678
Running command git clone --filter=blob:none --quiet https://github.com/unslothai/unsloth.git /tmp/pip-install-1v7p_k83/unsloth_c0bb12f6e08849a6afa66cb8e700f678
Resolved https://github.com/unslothai/unsloth.git to commit c1ac4d2707574868767345e76ebe49c8353f9057
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting bitsandbytes (from unsloth[cu121_ampere]@ git+https://github.com/unslothai/unsloth.git)
*** Starting uWSGI 2.0.19.1 (64bit) on [Tue Oct 13 16:22:12 2020] ***
*** Starting uWSGI 2.0.19.1 (64bit) on [Tue Oct 13 16:22:12 2020] ***
compiled with version: 8.3.0 on 13 October 2020 15:53:38
os: Linux-4.14.193-149.317.amzn2.x86_64 #1 SMP Thu Sep 3 19:04:44 UTC 2020
nodename: ip-10-100-9-21.ec2.internal
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app
detected binary path: /usr/local/bin/uwsgi
@russellballestrini
russellballestrini / sts2env
Last active August 2, 2022 14:37
Configure your shell with temporary AWS environment variables from
#!/usr/bin/env python
"""
How to use:
eval $(eval "aws sts assume-role --role-arn arn:aws:iam::0123456789:role/the-role-name --role-session-name my-aws-prod | ./sts2env")
Then run `env` and you should see the environment vars in your shell.
"""
from collections import (
OrderedDict,
deque,
)
g = OrderedDict()
g["root"] = ["a", "b", "c"]
g["a"] = ["e","f","g"]

Keybase proof

I hereby claim:

  • I am russellballestrini on github.
  • I am russellbal (https://keybase.io/russellbal) on keybase.
  • I have a public key ASAgpdRTP4uDKmokgkNTTJyZcGRM9zecQ_CT79SejupRwAo

To claim this, I am signing this object: