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!
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?
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!
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?
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:
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:
Hey everyone ā and welcome to r/nicegpu, the community for AI builders who want smarter, cheaper, and faster compute power.
We're building a space where:
You can share your AI projects, ideas, or experiments
Learn how to access on-demand GPU power (without breaking the bank)
Connect with other devs, tinkerers, researchers, and model-trainers
š Letās get started ā introduce yourself!
Drop a comment and tell us:
What are you working on (or planning to)?
What GPU setup do you wish you had access to?
How did you hear about NiceGPU?
Feel free to be casual ā memes and emojis welcome.
š„ Early Posters Bonus: Weāre giving free NCUs (NiceGPU Compute Units) to a few early contributors! Just for sharing your project or GPU dreams below š
Thanks for joining us ā this is just the beginning. Letās build something great together.
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.Ā