AGiXT icon indicating copy to clipboard operation
AGiXT copied to clipboard

Streamlit Tasks - Illegal instruction

Open birdup000 opened this issue 1 year ago • 9 comments

Description

Running with Docker on WSL2 Ubuntu 22.04 LTS Windows 11

Steps to Reproduce the Bug

1.Start Docker Container Streamlit 2.Access the webui on Streamlit 3.Create Agent (Bard,Palm,gpt4free) 4.Go to tasks 5.Create a task and start it 6.Watch logs Error will show on the logs on streamlit backend

&& you can also try with chat and will probably show the error there too.

Expected Behavior

I expect the tasks to function and run properly.

Actual Behavior

agent-llm-backend-streamlit-1 | Illegal instruction agent-llm-backend-streamlit-1 exited with code 132

Additional Context / Screenshots

agent-llm-backend-streamlit-1 | 2023-05-18 00:09:06.396 Load pretrained SentenceTransformer: all-mpnet-base-v2 agent-llm-backend-streamlit-1 | 2023-05-18 00:09:08.103 Anonymized telemetry enabled. See https://docs.trychroma.com/telemetry for more information. agent-llm-backend-streamlit-1 | 2023-05-18 00:09:08.105 Running Chroma using direct local API. agent-llm-backend-streamlit-1 | 2023-05-18 00:09:08.107 Using embedded DuckDB with persistence: data will be stored in: agents/bees/memories agent-llm-backend-streamlit-1 | Illegal instruction agent-llm-backend-streamlit-1 exited with code 132

Operating System

  • [ ] Microsoft Windows
  • [ ] Apple MacOS
  • [X] Linux
  • [ ] Android
  • [ ] iOS
  • [ ] Other

Python Version

  • [ ] Python <= 3.9
  • [X] Python 3.10
  • [ ] Python 3.11

Environment Type - Connection

  • [X] Local
  • [ ] Remote

Environment Type - Container

  • [X] Using Docker
  • [ ] Not Using Docker

Acknowledgements

  • [X] My issue title is concise, descriptive, and in title casing.
  • [X] I have searched the existing issues to make sure this bug has not been reported yet.
  • [X] I am using the latest version of Agent-LLM.
  • [X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

birdup000 avatar May 18 '23 02:05 birdup000

@Josh-XT you can assign to me, i'll test it

localagi avatar May 19 '23 01:05 localagi

Same problem, same context for me

med4u avatar May 19 '23 15:05 med4u

This issue appears to be specifically with the Docker Streamlit. I'm hearing other reports of the same, but cannot reproduce running streamlit local.

@localagi can you take a look at the docker stuff for streamlit when you have a moment?

Josh-XT avatar May 20 '23 18:05 Josh-XT

Mine does this too, using docker:

agent-llm-backend-streamlit-1 | 2023-05-18 07:31:11.423 Load pretrained SentenceTransformer: all-mpnet-base-v2 agent-llm-backend-streamlit-1 | 2023-05-18 07:31:12.951 Anonymized telemetry enabled. See https://docs.trychroma.com/telemetry for more information. agent-llm-backend-streamlit-1 | 2023-05-18 07:31:12.953 Running Chroma using direct local API. agent-llm-backend-streamlit-1 | 2023-05-18 07:31:12.954 Using embedded DuckDB with persistence: data will be stored in: agents/test5/memories agent-llm-backend-streamlit-1 | Illegal instruction (core dumped) agent-llm-backend-streamlit-1 exited with code 132

DIGist avatar May 21 '23 04:05 DIGist

Having it on Pop! 22.04 using docker, running in VMware Workstation 15, on Win10 Host w. WSL1 both backends exit with code 132, if trying to chat hugchat and gpt4free (haven't tested the others)

UndefinedConstant avatar May 21 '23 07:05 UndefinedConstant

This issue appears to be specifically with the Docker Streamlit. I'm hearing other reports of the same, but cannot reproduce running streamlit local.

@localagi can you take a look at the docker stuff for streamlit when you have a moment?

Jep, all the time learning how to build the AGI-specialities, currently working on it here to not cause disturbance on the main project https://github.com/localagi/AGiXT-docker/actions

localagi avatar May 21 '23 13:05 localagi

@greengeckowizard experienced this also and hunting the bug

localagi avatar May 21 '23 13:05 localagi

Having it on Pop! 22.04 using docker, running in VMware Workstation 15, on Win10 Host w. WSL1 both backends exit with code 132, if trying to chat hugchat and gpt4free (haven't tested the others)

I am also having this issue running on VMware Workstation

adam-eastes avatar May 22 '23 00:05 adam-eastes

@adam-eastes @UndefinedConstant @med4u @DIGist @greengeckowizard Please check out if the problem still persists.

Remember to pull the lastest image versions (e.g. docker compose --profile all pull) do docker compose --profile streamlit up after It should be fixed by now.

As a workaround, if the error still persists, you can use the files and containers from https://github.com/localagi/AGiXT-docker

localagi avatar May 24 '23 18:05 localagi

@Josh-XT after a period of time, you can close this at will. 24hrs no more error reports. (I cannot close)

localagi avatar May 25 '23 18:05 localagi

This appears to be fixed for me now, Now i'm dealing with another unrelated issue. Thanks!

DIGist avatar May 25 '23 18:05 DIGist

@Josh-XT after a period of time, you can close this at will. 24hrs no more error reports. (I cannot close)

I can close if this happens again I can reopen it ig.

birdup000 avatar May 25 '23 21:05 birdup000