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

Demo SetUp Doesn't Work #3

Open
Mixddux opened this issue Jul 24, 2024 · 1 comment
Open

Demo SetUp Doesn't Work #3

Mixddux opened this issue Jul 24, 2024 · 1 comment

Comments

@Mixddux
Copy link

Mixddux commented Jul 24, 2024

I have downloaded the template. When opening in Godot, the nodes are missing, thus doesn't run (text_generation.tscn).

I then went to the asset library and downloaded the Godot LLM tool, and installed.

As per the README.md, step 4 (for Windows) says to run in Godot or export APK (which I am not doing) I have it in Forward+ rendering method. Am I supposed to have this in Mobile?

I saved and restarted to get the missing nodes (GDLlama node) to show up in the scene.

llm02

I have created a folder called models in the file directory, mapping to the existing model path:
models/Meta-Llama-3-8B-Instruct.Q5_K_M.gguf
I think there may be a discrepancy with the model name. This is what I downloaded -> Meta-Llama-3-8B-Instruct-Q5_K_M.gguf
Specifically the Instruct DOT Q5 versus Instruct DASH Q5

I have renamed the path to match the model I downloaded.

When I run the text_generation scene in Godot, nothing happens when I click GENERATE - it seems to be working but it doesn't reply and crashes after a moment. What am I doing wrong?

llm03

Thank you for your work here. I'm excited to get this up and running!

@Mixddux
Copy link
Author

Mixddux commented Jul 24, 2024

Also in the text_generation.gd script:

if (OS.get_name() == "Android"):
		$Llama.model_path = OS.get_system_dir(OS.SYSTEM_DIR_DESKTOP) + "/" + "models/phi-3-mini-4k-instruct.Q2_K.gguf"

I'm trying to get this running on Windows 11.

This is referencing another model. Should I change this, or are these two separate issues?

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

1 participant