aiverify-foundation / moonshot

Moonshot - A simple and modular tool to evaluate and red-team any LLM application.
https://aiverify-foundation.github.io/moonshot/
Apache License 2.0
180 stars 34 forks source link

ERROR: Failed building wheel for dependency-injector #311

Open leonyap27 opened 3 months ago

leonyap27 commented 3 months ago

image Attempt to install the requested package, however it still hit the same error message when I re-run the following command: pip install "aiverify-moonshot[all]".

Kindly assist, Leon

imda-normanchia commented 3 months ago

Hi Leon,

According to the log person that you have send, you might have an older version of Microsoft Visual C++. Are you able to check the version of your C+= build tools?

leonyap27 commented 3 months ago

Thank! I managed to get it running. 1) It freezes on the Run Details at 0%. When I attempt to test a model. ![Uploading image.png…]()

2) Would like to verify for OpenAI GPT4 the API in the following image below? image

leonyap27 commented 3 months ago

You may refer to the following log below image

Kindly assist, Leon

imda-normanchia commented 2 months ago

in order to generate a result for mlc-ai-safety , you will need to have an API token for together-llama-guard-7b-assistant . maybe you can try excluding the MLC Safety cookbook from your benchmark run

imda-normanchia commented 2 months ago

also it seems that you might be missing the openai. maybe certain dependencies weren't installed fully when you faced the issue with tensorflow. maybe you can try re installing the requirements for moonshot-data

imda-normanchia commented 2 months ago

hello @leonyap27 ,

Are you still facing any issue with running moonshot?

leonyap27 commented 2 months ago

hello @leonyap27 ,

Are you still facing any issue with running moonshot? Yes, I try re-install on another workstation I encounter the issue below (see image 1), seem like it require tensorflow-io-gcs-filesystem 0.37.1 but (refer to image 2) in anaconda.org only have 3.10 available.

image 1 image image 2 image

imda-normanchia commented 2 months ago

may i know what version of python and pip3 you are running on?

leonyap27 commented 2 months ago

may i know what version of python and pip3 you are running on? @imda-normanchia , I manage to install 3.10 refer to https://github.com/aiverify-foundation/moonshot/issues/312.

However I encounter runtime issue, I believe maybe I not familiar with the configuration. If possible can provide the high level information where I can get relevant API key for different LLM. Thanks. image

imda-normanchia commented 2 months ago

if you are testing open ai model, you would need to put in your OpenAI API Key in the token field. you may refer to this article on how to find your api key.

https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key

imda-normanchia commented 2 months ago

hello, may i know if you are still facing any issue? i would be closing this issue if you are no longer facing any issue.