Git Product home page Git Product logo

chatai's People

Contributors

w4ffl35 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

chatai's Issues

[Feature Request] - Please allow some sort of configuration file to set custom download paths

As the application is today, when installed via the pre-built package provided via itch.io, it downloads and saves model files into the userdata folder on the C:/ drive, and in my case fills up the drive. I was looking through the installed application's files and did not see a config file or any other way to define an alternative model file location. This feature would be exceptionally useful, and would allow at least myself to use this awesome tool.

requirements.txt referenced in readme but does not exist

Describe the bug
The readme file currently contains: "cd chatai && pip install -r requirements.txt". However, this file (requirements.txt) does not exist in the repo.

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/Capsize-Games/chatai
  2. cd chatai && pip install -r requirements.txt
    3: ERROR: Could not open requirements file

Expected behavior
When the file exists, pip should proceed with attempting to install the requirements.

Windows Install

So i create a new bug for the list of errors during installation(3).
Prerequisite:Python 3.10.6 in a new env and git the new version

i went all in and manually installed all the packages that it trowed at me to find the culprits (this is the list but i think i miss some)
pip install torch==1.13.1
pip install nvidia-tensorrt==8.4.3.1
pip install requests==2.28.2
pip install pyre-extensions==0.0.23
pip install requests-oauthlib==1.3.1
pip install safetensors==0.3.0
pip install PyQt6==6.4.2
pip install xformers==0.0.16
pip install aihandler==1.8.12
pip install bitsandbytes==0.37.0
pip install torchaudio==0.13.1
pip install pyqtdarktheme==2.1.0
pip install aihandler==1.8.12
pip install bitsandbytes==0.37.0
pip install torchaudio==0.13.1
pip install torchvision==0.14.1
pip install huggingface-hub==0.13.3
pip install bitsandbytes-cuda117==0.26.0.post2
pip install accelerate==0.18.0
pip install pyqtdarktheme==2.1.0
pip install opencv-python==4.7.0.72
pip install deepspeed==0.8.0
pip install setuptools==65.5.1
pip install scipy==1.10.1
pip install tokenizers==0.13.2
pip install nvidia-pyindex
pip install pytorch-lightning==2.0.
pip install aihandler==1.8.12
pip install numpy==1.23.5
pip install deepspeed==0.8.0
pip install tensorflow==2.12.0

After that the errors remainings are:
---1---
ERROR: Could not find a version that satisfies the requirement triton==2.0.0.dev20221202 (from aihandler) (from versions: none)
ERROR: No matching distribution found for triton==2.0.0.dev20221202

---2---
ERROR: Could not find a version that satisfies the requirement nvidia-tensorrt==8.4.3.1 (from aihandler) (from versions: 0.0.1.dev4, 0.0.1.dev5)
ERROR: No matching distribution found for nvidia-tensorrt==8.4.3.1

---3--- (the same as before)
Collecting deepspeed==0.8.0
Downloading deepspeed-0.8.0.tar.gz (749 kB)
---------------------------------------- 749.9/749.9 kB 9.4 MB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0'
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\Trinca\AppData\Local\Temp\pip-install-mdg72xkd\deepspeed_c397623b64204035987b9cbfb9137476\setup.py", line 156, in
abort(f"Unable to pre-compile {op_name}")
File "C:\Users\Trinca\AppData\Local\Temp\pip-install-mdg72xkd\deepspeed_c397623b64204035987b9cbfb9137476\setup.py", line 48, in abort
assert False, msg
AssertionError: Unable to pre-compile async_io
[WARNING] Torch did not find cuda available, if cross-compiling or running with cpu only you can ignore this message. Adding compute capability for Pascal, Volta, and Turing (compute capabilities 6.0, 6.1, 6.2)
DS_BUILD_OPS=1
←[93m [WARNING] ←[0m async_io requires the dev libaio .so object and headers but these were not found.
←[93m [WARNING] ←[0m If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
←[93m [WARNING] ←[0m One can disable async_io with DS_BUILD_AIO=0
←[31m [ERROR] ←[0m Unable to pre-compile async_io
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

deepspeed error on windows

When installing from windows it gave this error deepspeed==0.8.0

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\Trinca\AppData\Local\Temp\pip-install-x3yegzxd\deepspeed_455d1e6923c14e0789b485515a37a937\setup.py", line 156, in
abort(f"Unable to pre-compile {op_name}")
File "C:\Users\Trinca\AppData\Local\Temp\pip-install-x3yegzxd\deepspeed_455d1e6923c14e0789b485515a37a937\setup.py", line 48, in abort
assert False, msg
AssertionError: Unable to pre-compile async_io
DS_BUILD_OPS=1
←[93m [WARNING] ←[0m async_io requires the dev libaio .so object and headers but these were not found.
←[93m [WARNING] ←[0m If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
←[93m [WARNING] ←[0m One can disable async_io with DS_BUILD_AIO=0
←[31m [ERROR] ←[0m Unable to pre-compile async_io
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

The problems with deepspeed seems recurring on windows and they are still opened right now. I think i will try it on the ubuntu vm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.