Code Monkey home page Code Monkey logo

Comments (4)

zaneclaes avatar zaneclaes commented on June 30, 2024

Did you have any luck with this? I'm also interested. I'm fairly new to GPU programming, but it seems like it would probably be better/easier to leverage the Metal GPU than to get rid of the GPU support entirely, no? i.e., switch from the Cuda functions to the Metal functions: https://github.com/ggerganov/llama.cpp/blob/master/ggml-metal.m

from mt3.

zfarrell13 avatar zfarrell13 commented on June 30, 2024

hey zane, i did end up getting it to work on mac m1, and then later in linux based docker using linux/arm64 machine. it was very involved. I had to build tensorflow-text, jax, and jaxlib from source for my python version (3.8) and machine aarch64. couldnt find a better way. the dockerfile is 2.1gb :(.

from mt3.

zfarrell13 avatar zfarrell13 commented on June 30, 2024

I also needed to make quite a few modifications to mt3 and t5x setup.py files and scripts in order to use different versions of libraries only available on python 3.8.

from mt3.

zaneclaes avatar zaneclaes commented on June 30, 2024

Would you mind sharing the Dockerfile? I’ve been piecing one together myself but was in the middle of dealing with the versioning hell that is all of Python, as you alluded.

from mt3.

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.