llama_index icon indicating copy to clipboard operation
llama_index copied to clipboard

[Bug]: Unable to package llama-index-llms-groq in requirements.txt

Open AyushParikh opened this issue 9 months ago • 4 comments

Bug Description

Hello,

I added llama-index-llms-groq to my requirements.txt file and im doing sam build to deploy to AWS but it looks likes the command runs indefinitely trying to package the build.

Version

latest

Steps to Reproduce

add llama-index-llms-groq to requirements.txt do sam build

Relevant Logs/Tracbacks


AyushParikh avatar Mar 01 '25 02:03 AyushParikh

I'm not really sure how to even fix this? I can pip install llama-index-llms-groq just fine locally

Is it maybe related to overall size of your dependencies?

logan-markewich avatar Mar 01 '25 02:03 logan-markewich

@logan-markewich is it a dependancy issue?

When i have:

llama-index
llama-index-llms-groq

Its stuck on: Running PythonPipBuilder:ResolveDependencies

But when I do :

llama-index==0.11.0
llama-index-llms-groq==0.2.0

it seems to be going past this stage now, I want to use latest versions though. what is compatible?

AyushParikh avatar Mar 01 '25 02:03 AyushParikh

Seems like build is being created with:

llama-index==0.11.0 llama-index-llms-groq==0.2.0

But can you please let me know latest compatible versions?

AyushParikh avatar Mar 01 '25 02:03 AyushParikh

Another issue is that:

llama-index==0.11.0 llama-index-llms-groq==0.2.0

having both of these, the build size is too because of all of the dependancy packages as well so it doesn't even deploy.

AyushParikh avatar Mar 01 '25 04:03 AyushParikh

Hi, @AyushParikh. I'm Dosu, and I'm helping the LlamaIndex team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • You encountered an issue where adding llama-index-llms-groq to requirements.txt causes sam build to hang indefinitely during AWS deployment.
  • Specifying older versions (llama-index==0.11.0 and llama-index-llms-groq==0.2.0) allows the build to proceed.
  • The build size remains too large due to dependencies, preventing deployment.
  • Logan-markewich suggested the issue might be related to the overall size of dependencies.

Next Steps

  • Please confirm if this issue is still relevant with the latest version of the LlamaIndex repository. If it is, feel free to comment to keep the discussion open.
  • If there is no further activity, this issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar May 31 '25 16:05 dosubot[bot]