Skip to content

Instantly share code, notes, and snippets.

View gosuri's full-sized avatar

Greg Osuri gosuri

View GitHub Profile
---
version: "2.0"
services:
service-1:
image: winglian/axolotl:main-py3.11-cu121-2.2.1
expose:
- port: 80
as: 80
to:
- global: true
---
version: "2.0"
services:
ollama:
image: ollama/ollama
expose:
- port: 11434
as: 11434
to:
- global: true
@gosuri
gosuri / akt20-prop.md
Last active January 31, 2023 20:02
AKT 2.0 Proposal

Akash Network Economics 2.0 Proposal

Purpose

This proposal is intended to be a starting point for discussion in the [sig-economics][sig-economics] to propose a working group to complete the design and implementation of ideas presented in this proposal after a rigourous review and feedback from the community. The proposal is not intended to be a final version of the Akash Network Economics 2.0, but rather a starting point.

Motivation

The initial version of [Akash Economics][akt-economics-1] introduced AKT as the native token, used to secure and pay for the usage of the Akash Network. Although this version was effective for bootstrapping, certain limitations require addressing to ensure sustainability and scalability for the network.

@gosuri
gosuri / lh-report-01-14-2023.json
Created January 15, 2023 04:14
Akash Network Light House Report - Jan 14 2023
{
"lighthouseVersion": "9.6.8",
"requestedUrl": "https://akash.network/",
"finalUrl": "https://akash.network/",
"fetchTime": "2023-01-15T02:45:49.341Z",
"gatherMode": "navigation",
"runWarnings": [],
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4695.0 Mobile Safari/537.36 Chrome-Lighthouse",
@gosuri
gosuri / starport-testnet-lauch.md
Last active March 18, 2022 19:08
Spec: Startport Testnet Launch

Starport is the simplest way to build sovereign blockchain-based using Cosmos SDK. It is an excellent tool for scaffolding applications and running Nodes locally but lacks Testnet launch ability, requiring additional effort on the developer.

Maintaining at Testnet is expensive and time-consuming, and most end up on a centralized cloud like AWS.

Using Akash to simplify launching Testnets for Starport chains solves this problem and keeps Web3 decentralized.

Spec (WIP)

Command: Testnet Launch

@gosuri
gosuri / akashian-stats.sh
Created December 9, 2020 16:11
Fetch Akashnet Testnet Stats
export AKASH_NET_BASE=https://raw.githubusercontent.com/ovrclk/net/master
export AKASH_NET="$AKASH_NET_BASE/edgenet"
export AKASH_CHAIN_ID="$(curl -s "$AKASH_NET/chain-id.txt")"
export AKASH_HOME=data
export AKASH_KEYRING_BACKEND=test
export AKASH_KEY_NAME=deploy
export AKASH_NODE=tcp://rpc-edgenet.akashdev.net:26657
@gosuri
gosuri / akash-inlets.md
Last active December 8, 2019 15:19
Using Inlets on Akash

Thanks to awesome @alexellis for this contribution:

  1. Set an Inlets Token
export INLETS_TOKEN=abcd1234
  1. Deploy Inlets on Akash using the below config:
@gosuri
gosuri / inlets.yml
Created November 11, 2019 00:21
inlets-akash
---
version: "1.0"
services:
inlets:
image: inlets/inlets:2.6.1
args:
- server
- --control-port=8081
- --port=8081
@gosuri
gosuri / akash-ml.md
Last active November 10, 2019 23:19
Machine Learning Job on Akash

Thanks to Alex Ellis. Convert a B&W picture into color:

wget https://i.etsystatic.com/7867627/r/il/e78b18/1482264837/il_570xN.1482264837_rbr1.jpg
curl -s --data-binary @./il_570xN.1482264837_rbr1.jpg http://6mwebzdfo8k5chwcqkdwz5.roy.akashtest.net > sf.jpg

open sf.jpg

To run your own ML job, here's a sample: