Giter VIP home page Giter VIP logo

Comments (11)

moondiy avatar moondiy commented on June 12, 2024

r u run phi3 ok?

from mlc-llm.

sebastienbo avatar sebastienbo commented on June 12, 2024

r u run phi3 ok?

What do you mean?

from mlc-llm.

sebastienbo avatar sebastienbo commented on June 12, 2024

The 128k version could allow us to analyze a pdf from the phone. the 4k version would probably be less cpu intensive and would work out of the box.

from mlc-llm.

moondiy avatar moondiy commented on June 12, 2024

sorry.i want to known that are yiu run phi3 mini model on the phone?i i run it with onnxruntime genai but it's too slow

from mlc-llm.

sebastienbo avatar sebastienbo commented on June 12, 2024

Well I use phi2 all the time using ml. Android on my phone with Snapdragon 2nd gen and it works really good and smooth. That is why I would like to know how I can put phi 3 on mlc.

from mlc-llm.

kripper avatar kripper commented on June 12, 2024

Have you tried following the instructions for building new models?

from mlc-llm.

indiejoseph avatar indiejoseph commented on June 12, 2024

Tried following the instructions, and got the error:

ValueError: Unknown model type: phi3. Available ones: ['llama', 'mistral', 'gemma', 'gpt2', 'mixtral', 'gpt_neox', 'gpt_bigcode', 'phi-msft', 'phi', 'qwen', 'qwen2', 'stablelm', 'baichuan', 'internlm', 'rwkv5', 'orion', 'llava', 'rwkv6', 'chatglm', 'eagle']

from mlc-llm.

kripper avatar kripper commented on June 12, 2024

I would try to add the string "phi3" to the list

from mlc-llm.

indiejoseph avatar indiejoseph commented on June 12, 2024

@kripper thanks for your advice, the MODELS is not really just a list with a model name, it is a dict with the model name as key and the corresponding loader and implementation.

I've tried specify the --model-type phi-msft but without luck.

from mlc-llm.

kripper avatar kripper commented on June 12, 2024

I would first research if the model loader is compatible with previous versions. If so, map the ID to the existing loader. Otherwise, create a new loader and have fun hacking, ie:

  • research what changed by comparing (diff) the official loader for the previous and new versions.
  • replicate those changes in mlc-llm's loader

Always prefere to share a same code base for the old and new model and use conditions (if(version == 1) {...} else if(version == 3) {...}).

from mlc-llm.

unmotivatedgene avatar unmotivatedgene commented on June 12, 2024

Once this is figured out please update the android app apk with phi3. ❤️

from mlc-llm.

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.