r/pytorch • u/a193bd92 • Nov 17 '23
I know nothing about AI. How do I build one using PyTorch?
I want to build a poker playing AI to play against and I have 2 years to do it. But I have no idea how to get started using PyTorch. What should I do?
r/pytorch • u/a193bd92 • Nov 17 '23
I want to build a poker playing AI to play against and I have 2 years to do it. But I have no idea how to get started using PyTorch. What should I do?
r/pytorch • u/delzarraad • Nov 17 '23
Glad I payed 1700€ for my pc to learn AI !!!
I don't understand why torch and cuda and co are just dumb when it comes to gpu support.
There are hundreds of tutorials on how to set up cuda on conda and nothing worked on my PC. Honestly, I have dev friends who just laugh at me when I say I am python main. But now I get it. I guess it's time to learn a real programming language!
First figure put your cuda capabilities, then uninstall torch and then instal cudatlkt then reinstall torch with the right parameters, which freezes and solves for ever in conda, then you have a 70GB environment file that does even work. There are thousands of versions, all of them have conflicts, throw errors, and just make life hell for new devs.
What is this ? Why isn't there a unified way or package to install? And don't tell me about the torch main installer on the webpage cuz it does not work, not even close.
My disappointment is immeasurable and my day is ruined. Hell, my week is ruined ðŸ˜
r/pytorch • u/Grid_AI • Apr 06 '21
Join us on April 13th at 11 am ET to hear about Grid.ai and PyTorch Lightning's latest innovations with our CEO and Founder William Falcon and Thomas Chaton, Research Engineering Manager. This discussion is excellent for AI researchers, machine learning engineers, and data scientists looking for new ways to accelerate and improve their current AI model training process. Leave with tangible strategies, new tools, and great ideas.
Register now and submit any questions you have for William and Thomas!
https://zoom.us/webinar/register/1016176774118/WN_yW66h71HSz-MXWNGAu6OOg
r/pytorch • u/BeautyxArt • Jan 27 '24
just asked that twice before and i got ignored and only feedback is downvote ,
as tittle said how do i install pytorch 0.3.0 , using conda it required cuda 8 that doesn't exist , what is the way to install pytorch 0.3.0 and why my posts got zero answers and only getting downvote ?
if someone make me understand WHY .
r/pytorch • u/thevatsalsaglani • Jan 24 '21
Deploying Deep Learning models with an interactive UI isn't easy. In this hands-on tutorial blog, a NLP model with a very minimal frontend is deployed using Streamlit. The last part of the blog includes steps to deploy the frontend and the backend to the internet using Heroku. A live version is available @ https://classifyquestions.herokuapp.com.
Have a nice read. If you have any feedback or question comment down below.
r/pytorch • u/AntDX316 • Oct 19 '24
ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch
I checked someone elses post of 2020 somewhere else and they said that will happen when your python version is too new.
There needs to be a real-time way for you guys to auto-update the compatibility for the latest version with even just a webhook.
edit: seems like 3.11 is the latest supported version?
edit2: the importance of using venv is shown to be important
r/pytorch • u/Grid_AI • Apr 06 '21
Join us on April 13th at 11 am ET to hear about Grid.ai and PyTorch Lightning's latest innovations with our CEO and Founder William Falcon and Thomas Chaton, Research Engineering Manager. This discussion is excellent for AI researchers, machine learning engineers, and data scientists looking for new ways to accelerate and improve their current AI model training process. Leave with tangible strategies, new tools, and great ideas.
Register now and submit any questions you have for William and Thomas!
https://zoom.us/webinar/register/1016176774118/WN_yW66h71HSz-MXWNGAu6OOg
r/pytorch • u/TheGreatHomer • Jul 09 '21
Hey folks,
I'm currently trying to "hack" a MaskRCNN so that I get the full label distributions into the output.
I was looking into the "postprocessing_detections" function defined in roi_heads - however, when I tried to replace it with my own and slightly altered version by copying it from the git and adding minor changes, it turns out that the function seems to work different than what I find on the git.
Most importantly, it doesn't get 4 inputs - as the code in the git needs - but only 3, which seem to be head outputs, anchors and image shapes. I've found two other definitions of a function with the same name in completely different contexts (RetinaNet and SSD) which take 3 inputs; But it makes 0 sense why they'd play any role here, and also they'd want the arguments to be different types than what I get (those functions want dict, list list; MaskRCNN internally I get inputs torch.Tensor, list, list).
Does anyone have an idea how and why the methods seem to differ from what I find in the git? I literally can't find a code version that seems to fit what the MaskRCNN actuall does internally.
If it's important, here's the scheme of how I get to the model (and the error):
import torchvision
model = torchvision.models.detection.maskrcnn_resnet50_fpn(pretrained=True)
def postprocess_detections_new(self,
class_logits, # type: Tensor
box_regression, # type: Tensor
proposals, # type: List[Tensor]
image_shapes # type: List[Tuple[int, int]]
):
--- code 1:1 copypasted from the postprocess_detections function in git ---
model.roi_heads.postprocess_detections = postprocess_detections_new
output = model(example_input)Where example_input is some random example image I put in that works perfectly well with the unaltered model. Doing only the insertion of the copypasted code, the model already doesn't work anymore due to mismatching number of expected/given arguments.
Thanks a lot in advance, would really appreciate if somebody could point me somewhere!
r/pytorch • u/Willing_Dentist8851 • Jan 30 '25
r/pytorch • u/TopFar5998 • Sep 21 '20
I am curious if Pytorch would support for Julia as like C++.
As all other, I also personally found c++ as jibrish, instead Julia which is as fast as c and as pythonic as python.
I would like to see if it happens in future.
r/pytorch • u/AI111213 • Feb 21 '26
I am network ,cloud and security engineer with CCIE,CISSP,AWS,Azure,VMware,Aviatrix.Basically infra.I want to set a target to get into AI and learn something useful.Not sure if this is right group.But if i want to jump on to Pytorch do i need to understand the basics of ML?
r/pytorch • u/RubiksCodeNMZ • May 11 '20
r/pytorch • u/FlashAIio • Sep 22 '21
Hi Everyone,
FlashAI.io was born out of a need to find a quick and simple way to host or serve my ML models.
Sometimes you want to enable clients, colleagues, or apps to send inference requests to your models.
FlashAI lets you do this via web requests.
Serve your models with any hassle, try FlashAI.io
The workflow is straight forward:
* Train your model locally
* Upload your model file to FlashAI.io
* Send inference requests to your model
Currently this service supports Scikit-learn, TensorFlow, and PyTorch models.
Try it out at flashai.io
See the tutorial at: https://youtu.be/0yxUmZ2GnX8
Please let me know what you think and if you have any suggestions for other features.
r/pytorch • u/PlusSupermarket • Apr 03 '23
Hi, I have been trying to train a ANN model with two different datasets with different sizes using pytorch. The sizes are the followings: dataset_A = (506, 5), dataset_B = (214, 11)
The training dataset will include all of dataset_A and 50 % of dataset_B and as a dataframe.
Does anyone know how to make such a dataloader with the different numbers of columns?
Also, it would be helpful if the example code is attached.
Thank you!
r/pytorch • u/analyticsindiam • Jul 24 '20
r/pytorch • u/verysad1997 • Oct 25 '20
For your reference, this is the link to the hackathon.
According to the rules, there are honorable mention prizes for those who are scoring 3rd to 8th. Although it is not a big deal to most, I find that people should be correctly awarded the right prize given the circumstance.
Edit: As you can clearly see, there are no honorable mention prizes given to participants
Thus I asked twice, once in the official slack channel where I got straight up ignored, and on the official devpost q/a section, where the manager was irresponsive.
This is a literal shot in the dark but what should I do to solve this?? To whom do I even contact at this point?
r/pytorch • u/FromValledupar • Jan 13 '23
im learning ML and DL and I'm having difficulty running PyTorch in my M1 Pro, there is some workarounds and configs, but I really want another solution that I can share in colab and works out of the box for other people.
I'm thinking in buying either an XBOX X or a PS5 to connect it to my home network, run Jupyter there, and connect colab to it. Will this work, or do I need a pc with a cuda card necessarily?
r/pytorch • u/r2d2eeg • Mar 26 '26
I was fortunate to get a scholarship to attend the PyTorch Conference for 2026; however I don't have the funds to travel to PyTorch. I'm wondering if anyone would know of any opportunities to fly there, if there are any other outstanding grants, scholarships, and so on to be able to attend this year? It'd be really helpful to my career to attend.
r/pytorch • u/zoizmez2009 • Jan 24 '26
r/pytorch • u/Haunting-Calendar-11 • Apr 28 '26
Stop burning your AI budget on idle GPUs. In this video, we dive deep into the engineering strategies Meta uses to maximize Effective Training Time (ETT) and reach the elusive 90% efficiency milestone in massive AI clusters.Whether you are managing a small research cluster or scaling enterprise-grade foundation models, understanding how to quantify and eliminate system delays is the difference between a successful deployment and a cratered ROI. We break down the technical bottlenecks—from trainer initialization to slow checkpointing—and provide actionable optimizations to reclaim your compute power.[What You’ll Learn]What is ETT? Why $ETT\%$ is the only metric that matters for large-scale training.The Hidden Costs: Identifying where compute "leaks" during the training lifecycle.Quantifying Delays: How to measure system overhead and trainer stalls accurately.The 90% Strategy: Specific optimizations for initialization, data loading, and checkpointing.