Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for LLM support #96

Open
HeldvonKosmos opened this issue Oct 17, 2024 · 2 comments
Open

Request for LLM support #96

HeldvonKosmos opened this issue Oct 17, 2024 · 2 comments

Comments

@HeldvonKosmos
Copy link

Dear Sir or Madam,

i know that there are only a few supporters for this project, but it has a big potential.
I have tried to use it for converting the new Llama3.2 Model, because i can't find any LLM that is written in Julia.
Can you please help, to add the missing Operations for converting LLM's?
I would like to contribute, but haven't the time to understand the code, because it looks very complex.

Thanks in advance!
Jonas

@DrChainsaw
Copy link
Owner

Hi,

The code is a bit of a mess, but it is (hopefully) designed to make adding new operations easy without having to tackle the mess.

Before looking further into that, have you tried using https://github.com/FluxML/ONNX.jl? It is the more "official" and well maintained project when it comes to importing ONNX models.

There is also https://github.com/jw3126/ONNXRunTime.jl which will allow you to run LLMs in Julia through onnxruntime.

Assuming you want to take a stab at implementing the new OPs:

What I would do is to just try to load the model, note down which OP OnnxNaiveNASflux complains about, look it up here and try to implement it.

For deserializing (i.e import), it shall be added to this file with test cases going in here (look at existing testcases and here to get an idea of how to download to ONNX testdata).

For serialization (i.e export), it shall be added to this file with test cases going in here.

I will of course provide assistance as needed.

After the OP is added, then try to load the model again and repeat the procedure :)

@HeldvonKosmos
Copy link
Author

Thank you for the guide, i will have a look and will reply again, when there are any further questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants