Coder Social home page Coder Social logo

Comments (7)

gordicaleksa avatar gordicaleksa commented on July 17, 2024 1

Hey @full-stack-ai ! There are 2 implementations in llm.c:

  1. PyTorch reference implementation which is inside train_gpt2.py -> we only use it as a sanity check that our C implementation is correct.
  2. C/CUDA implementation -> that's what you probably care about, to run it after building using make just run ./train_gpt2 in case you care about the CPU implementation.

Let me know if you need any additional help, your feedback is welcome!

Otherwise feel free to close the issue.

from llm.c.

rosslwheeler avatar rosslwheeler commented on July 17, 2024

It's saying that you don't have NVCC which is because you're on a Mac. This is okay - I see the cc line so is it building or are there other errors?

from llm.c.

full-stack-ai avatar full-stack-ai commented on July 17, 2024

Nothing seems to happen
Screenshot 2024-06-06 at 3 50 41 PM

from llm.c.

rosslwheeler avatar rosslwheeler commented on July 17, 2024

Are the executable files there in the directory? Also, which version of gcc are you using?

from llm.c.

full-stack-ai avatar full-stack-ai commented on July 17, 2024

Here is the repo files in the same directory:

Screenshot 2024-06-06 at 9 26 58 PM

And gcc version:
Screenshot 2024-06-06 at 9 28 02 PM

from llm.c.

rosslwheeler avatar rosslwheeler commented on July 17, 2024

Everything is there. train_gpt2 is built. You are good to go. Feel free to close this issue. Thanks.

from llm.c.

full-stack-ai avatar full-stack-ai commented on July 17, 2024

So why the instruction is mentioned to run make train_gpt2? If python train_gpt2.py trains the model, then the documentation should change.

from llm.c.

Related Issues (20)

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.