Code Monkey home page Code Monkey logo

xgpu's Introduction

Easily set up a GPU mining server for XENBLOCKS mining. A single line of code installs all dependencies and executes GPU mining. Here's how you get started:

XENBLOCKS - Effortless GPU Mining on VAST.AI

  1. VAST.AI Mining - vast.ai (verified):

    • First, clone this repository to your own public repository.
    • Navigate to your repo, open vast.sh (depending on where you mine or vast4.sh or vast8.sh, depending on the number of GPUs) and replace the existing address with your own:
    • image
    • Go to Vast.ai, select Templates / Cuda:12.0.1-Devel-Ubuntu20.04 option: image
    • Then under machines select the image you want. If you select 'unverified machines' you may find those that are a better deal: image
    • Now you're all set!
    • Use a single line command below to get a new GPU server up and running (from 0 to full-speed mining with one press of a button).
    • Note: of course replace (JozefJarosciak/xgpu/main/vast.sh, or vash4.sh or vast8.sh) with a path to your repo

    For single GPU use vast.sh:

    sudo apt update && sudo apt -y install wget && sudo wget https://raw.githubusercontent.com/JozefJarosciak/xgpu/main/vast.sh && sudo chmod +x vast.sh && sudo ./vast.sh
    

    For 4 X GPU use vast4.sh:

    sudo apt update && sudo apt -y install wget && sudo wget https://raw.githubusercontent.com/JozefJarosciak/xgpu/main/vast4.sh && sudo chmod +x vast4.sh && sudo ./vast4.sh
    

    For 8 X GPU use vast8.sh:

    sudo apt update && sudo apt -y install wget && sudo wget https://raw.githubusercontent.com/JozefJarosciak/xgpu/main/vast8.sh && sudo chmod +x vast8.sh && sudo ./vast8.sh
    

1.1 VAST.AI Video DEMO:

Video Name

XENBLOCKS - Effortless GPU Mining on RUNPOD.IO

  1. RUNPOD Mining - runpod.io (unverified):
  • Same as above, just update runpod.sh file with your address
apt update && apt -y install wget && wget https://raw.githubusercontent.com/JozefJarosciak/xgpu/main/runpod.sh && chmod +x runpod.sh && ./runpod.sh

XENBLOCKS - USEFUL COMMANDS

Tail logs:

tail -f /root/XENGPUMiner/miner.log
tail -f /root/XENGPUMiner/xengpuminer.log
tail -f /root/XENGPUMiner/xengpuminer-0.log (to xengpuminer-7.log)

Download the latest miner.py file only:

wget https://raw.githubusercontent.com/shanhaicoder/XENGPUMiner/main/miner.py

Maintenance - this is how you can kill multiple instances when needed

pkill -f "xengpuminer"
pkill -f "python3"

Start Miner.py in the background (in case you needed to stop it):

sudo nohup python3 miner.py --gpu=true > miner.log 2>&1 &

Renaming directory:

mv XENGPUMiner XENGPUMiner2

xgpu's People

Contributors

jozefjarosciak avatar rhemi7 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.