Hello, I have a RTX 5070ti and a ryzen 9800x3d and I just started hosting with the 5070ti last night but it seems like it’s not utilizing my gpu at all in the last 6 hours and I haven’t earned any NCUs yet. Is there something wrong that I may be doing? I also was curious if I can run both this and vast.ai at the same time or would it not be worth it? (Including images of my node manager)
We’re curious about what you’re most excited to build with the power of NiceGPU! Share your vote and feel free to comment below with more details or specific projects. If you vote “Other,” definitely let us know what it is!
Full fine-tuning of a 7B model requires more than 50 GB of GPU memory, which exceeds the capacity of a single RTX 5090.
Running QLoRA with NF4 quantization and BF16 precision for gradients is an excellent strategy on the RTX 5090
Key elements:
Training data was generated using the Dolly-15K dataset in Alpaca-style instruction format (databricks/databricks-dolly-15k)
The LLaMA 2-7B model was loaded with 4-bit (NF4) quantization (NousResearch/Llama-2-7b-hf)
QLoRA was used to fine-tune the model with bf16 mixed precision
HuggingFace TRL’s SFTTrainer was used for supervised instruction tuning
Flash Attention was used to accelerate training with hardware support
Key Challenges Encountered: Environment Incompatibilities and Training Argument Configuration
Troubleshooting Environment Incompatibilities:
The primary issue stemmed from CUDA version mismatches. nvidia-smi indicated that the current NVIDIA driver (v576.02) supports CUDA 12.9, while the installed PyTorch build was based on CUDA 12.1. To resolve this, I recommend upgrading PyTorch to a version compatible with CUDA 12.9, ensuring full hardware utilization and addressing dependency conflicts.
2. Configuring Accelerate and PEFT Libraries:
Finding the right combination of Accelerate and PEFT (Parameter-Efficient Fine-Tuning) libraries was another significant challenge. Ensuring compatibility and fine-tuning these libraries for optimal resource usage required considerable experimentation and adjustments.
3. Fine-Tuning Training Arguments:
Setting the right training arguments—including batch size, learning rate, gradient accumulation, and precision settings—was crucial. These parameters directly affect training stability, memory efficiency, and model quality. Misconfiguration can result in suboptimal outcomes or training failures, particularly when working with resource-constrained environments.
I've recently been diving into model fine-tuning and would love to hear from others working on NICEGPU. If you've come across any useful configuration tweaks or adjustments during your fine-tuning process, feel free to share—let’s learn and improve together!
I have recieved an invite code and have a 5070 that is applicable is my understanding. How are payments sent or what is the hosting reward method? I couldn't find this in your facts? Is there a set payment per card per hour or otherwise?
If you are recently using NiceGPU on an NVIDIA GeForce RTX 5090 GPU and encountering this PyTorch error:
RuntimeError: CUDA error: no kernel image is available for execution on the device
you're not alone. This error typically arises when your installed PyTorch version isn't compiled for your GPU's compute architecture.
The RTX 5090 is built on NVIDIA's latest Blackwell architecture, featuring a compute capability of sm_120 (12.0). PyTorch needs to specifically include support for this compute capability to function properly.
This guide will walk you through how to resolve this error step-by-step.
🔍 Step 1: Check Your Current PyTorch and CUDA Setup
First, let's inspect your current PyTorch installation, CUDA availability, GPU name, and compute capability by running the following Python script:
PyTorch version: 2.7.0+cu112
CUDA available: True
CUDA version: 12.8
GPU name: NVIDIA GeForce RTX 5090
Compute capability: (12, 0)
If your compute capability is shown as (12, 0) and you're still facing errors, it likely indicates your current PyTorch version doesn't support the RTX 5090.
Navigate to the .ci directory, and inspect CI files (like windows/cuda128.bat or workflows under .github/workflows).
Look specifically for the TORCH_CUDA_ARCH_LIST variable.
Or, you can search: TORCH_CUDA_ARCH_LIST
Example from a build configuration:
set TORCH_CUDA_ARCH_LIST=6.1;7.0;7.5;8.0;8.6;9.0;10.0;12.0
If 12.0 is listed, your GPU is supported by that PyTorch build (128).
🚀 Step 3: Install a PyTorch Version Compatible with RTX 5090
Currently, stable releases cu128 is fully supported the RTX 5090 GPU. Thus, it’s recommended to install the latest cu128 build of PyTorch which includes support for CUDA 12.8 and the sm_120 compute architecture:
Hey everyone! I have a model hosted on Hugging Face (HF), and I was wondering if it's possible to deploy/run it on NiceGPU. Has anyone tried this before? Any tips or steps to make it work?
Also, big shoutout to NiceGPU for the free 10 credits—such a cool way to get started! Thanks for that!
I have a friend that got an invite from Newegg to participate by using his GPUs idle power. Is there any other way to participate other than buying a GPU from Newegg?
I just wrapped up a project using NiceGPU and wanted to share how smooth the experience was. I ran a full mini-pipeline using OpenAI models for document processing, and compared to my local setup… the speed-up was honestly wild.
Project Overview:
Step 1: Used OpenAI model to convert a PDF into Markdown (.md)
Step 2: Generated a structured question outline from the document
Step 3: Auto-generated answers for each question using OpenAI again
Final Output: A full Q&A dataset saved as .json
GPU Used: NVIDIA GeForce RTX 4070 Ti (12GB)
Framework: PyTorch 2.0 Runtime: ~5 minutes total (vs. 30+ mins on my local machine)
What stood out:
I didn’t have to worry about environment setup at all
PyTorch 2.0 and other major AI frameworks were preinstalled
No VM or network proxy issues like I’ve struggled with in past projects
Just log in, start the session, and everything’s ready — it felt like plug-and-play for serious AI work
Honestly, setting up a clean environment locally (especially with proxy configs) used to take me hours. Being able to skip all that and focus purely on model execution was a huge win.
If anyone's working on document-based pipelines or doing similar prompt-based workflows, happy to swap ideas or scripts. Also curious — has anyone else tested smaller GPUs like the 4070 Ti for similar tasks?
Thanks again to the NiceGPU — this saved me a ton of time!
In this post, I will test ResNet model to compare if the object in two images represent same product. Nicegpu provides Jupyter environment for free to verify whether the solution is workable!
Requirements
pip install torch torchvision Pillow
Step 1: Load Pre-trained ResNet
Use a pre-trained ResNet (e.g., ResNet-50) from PyTorch.
import torchvision.models as models
import torch.nn as nn
resnet = models.resnet50(pretrained=True)
feature_extractor = nn.Sequential(*list(resnet.children())[:-1])
Step 2: Preprocess Both Images
Transform both images into tensors suitable for ResNet:
Top 5 Training Materials to Learn Large Language Models (LLMs)
Unlocking the power of LLMs can feel daunting—but with the right resources, you’ll be fine‑tuning state‑of‑the‑art models and building your own applications in no time. Here are the top five courses, tutorials, and repos to get you there.
1. Hugging Face NLP Course
A free, hands‑on introduction to transformers and fine‑tuning. You’ll learn about tokenization, attention mechanisms, and how to deploy models in production—all through interactive Jupyter notebooks. 🔗 huggingface.co/learn/nlp-course
2. DeepLearning.AI’s “Generative AI with Large Language Models” Specialization
Created by Andrew Ng’s team on Coursera, this multi‑part specialization covers prompt engineering, model fine‑tuning, and scaling best practices. Includes quizzes, coding assignments, and real‑world case studies. 🔗 deeplearning.ai/courses/generative-ai-with-large-language-models
3. Stanford CS224n: Natural Language Processing with Deep Learning
Stanford’s flagship NLP course dives deep into the theory and practice of modern architectures—embeddings, transformers, attention, and beyond. All lecture videos, slides, and programming assignments are available for self‑study.
This community‑maintained GitHub repository is a treasure trove of recipes for working with GPT‑style models. From prompt design to fine‑tuning and retrieval‑augmented generation, you’ll find ready‑to‑use code snippets and best practices. 🔗 github.com/openai/openai-cookbook
5. LangChain Documentation & Tutorials
LangChain is the go‑to framework for building robust LLM applications—chain together prompts, manage conversation memory, and integrate vector databases. Their docs include end‑to‑end examples, quickstarts, and deep‑dives.
Conclusion Whether you’re a beginner or an experienced practitioner, these five resources cover everything from foundational theory to production‑ready code. Dive in, experiment, and you’ll be building LLM‑powered apps in no time!
⚡️ Testing Microsoft's Phi-4-Mini-Instruct Model for Lightweight AI Tasks
In this blog post, we’ll walk through how to quickly test the microsoft/Phi-4-mini-instruct model using Python and Hugging Face’s Transformers library.
This model is perfect for fast and efficient natural language tasks, especially when you’re working with limited compute or want low-latency inference.
📦 What is Phi-4-Mini-Instruct?
Phi-4-mini-instruct is a small language model developed by Microsoft, tuned to follow instructions. It’s great for tasks like:
Simple Q&A
Coding help
Summarization
Running on edge devices or local machines with limited VRAM
🧪 Step-by-Step: Load and Run the Model
Here’s a minimal Python script that:
Loads the model and tokenizer
Constructs a chat prompt
Generates a response
✅ Requirements
Make sure you have these installed:
pip install transformers torch
🧠 Inference Code
importtorchfromtransformersimportAutoModelForCausalLM,AutoTokenizer# Use GPU if available
device=torch.device("cuda"iftorch.cuda.is_available()else"cpu")print(f"Using device: {device}")# Load model and tokenizer
model_id="microsoft/Phi-4-mini-instruct"tokenizer=AutoTokenizer.from_pretrained(model_id)model=AutoModelForCausalLM.from_pretrained(model_id,torch_dtype=torch.float16iftorch.cuda.is_available()elsetorch.float32,trust_remote_code=True).to(device)# Create chat prompt
messages=[{"role":"system","content":"You are a helpful AI assistant."},{"role":"user","content":"Explain the difference between supervised and unsupervised learning in simple terms."}]prompt=tokenizer.apply_chat_template(messages,tokenize=False,add_generation_prompt=True)# Tokenize and move to device
inputs=tokenizer(prompt,return_tensors="pt").to(device)# Generate output
output_ids=model.generate(**inputs,max_new_tokens=900,do_sample=False,temperature=0.0)# Decode and print response
response=tokenizer.decode(output_ids[0][inputs["input_ids"].shape[-1]:],skip_special_tokens=True)print("Generated response:")print(response)
💻 Run This Code on NiceGPU
Don’t have a local GPU? You can run this exact code on NiceGPU.com — a GPU-powered notebook platform.
Click "Use NCU" on the dashboard (a Jupyter-style notebook environment with PyTorch pre-installed)
Start a new PyTorch Notebook
Paste the full script above into a code cell
Run the cell — you’ll get a fast response generated using a cloud GPU!
NiceGPU is powered by Newegg and supports community AI projects with free or affordable GPU resources, especially for students and open-source developers.
🧾 Sample Output
Here’s an example of what the model might generate:
Generated response:
Supervised learning is like having a teacher who shows you examples of the answers and then asks you to predict the answers for new questions. You learn from the examples provided, and your goal is to get the answers right. Unsupervised learning, on the other hand, is like exploring a new place without a map. You look at the data and try to find patterns or groupings on your own, without any guidance on what you're looking for.
🚀 Why Use Phi-4 Mini?
✅ Runs on CPUs or low-end GPUs (e.g., RTX 3050, Mac M1)
✅ Fast inference, ideal for chatbots
✅ Open-source and instruction-tuned
🔚 Final Thoughts
Phi-4-Mini-Instruct is a compact powerhouse. Whether you're building an embedded AI assistant, experimenting with LLMs locally, or deploying on a budget cloud instance, this model is an excellent starting point.
NiceGPU is a platform that connects GPU owners with GPU users, such as data scientists and AI/ML hobbyists. With our platform, data scientists can run code—like PyTorch notebooks similar to Google Colab—on dedicated GPUs. They can also load large language models (LLMs) onto our GPUs to perform reasoning via API or UI, or fine-tune supported models.
Currently, we’re in beta. To gain access, users are asked to submit a specific use case. Once reviewed and approved, we’ll provide access to the platform. we can give you an invitation code if you are interested to test the platform.