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

[BUG] install.sh is looping #40

Open
3 tasks done
Tuerpe opened this issue Mar 19, 2024 · 1 comment
Open
3 tasks done

[BUG] install.sh is looping #40

Tuerpe opened this issue Mar 19, 2024 · 1 comment
Labels
🚏 Awaiting User Response [ISSUE] Response from original author is pending 🐛Bug [ISSUE] Ticket describing something that isn't working ✅ Fixed [ISSUE] Auto-Assigned to Tickets whose fix has been deployed ‼️ High Priority [ISSUE] An issue or PR that needs to be dealt with urgently

Comments

@Tuerpe
Copy link

Tuerpe commented Mar 19, 2024

Environment

Linux

System

Arch-Linux

Describe the problem

The install.sh is looping. I looked up the script and here:

install_st_extras_post() {
    # Activate the extras environment
    log_message "INFO" "Activating Conda environment extras..."
    conda activate extras

    # Navigate to the SillyTavern-extras directory
    cd "$PWD/SillyTavern-extras"

    # Use the GPU choice made earlier to install requirements for extras
    if [ "$GPU_CHOICE" == "1" ]; then
        log_message "INFO" "Installing modules for NVIDIA from requirements.txt in extras"
        pip3 install -r requirements.txt
        conda install -c conda-forge faiss-gpu -y
        install_st_extras_post
    elif [ "$GPU_CHOICE" == "2" ]; then
        log_message "INFO" "Installing modules for AMD from requirements-rocm.txt in extras"
        pip3 install -r requirements-rocm.txt
        install_st_extras_post
    elif [ "$GPU_CHOICE" == "3" ]; then
        log_message "INFO" "Installing modules for CPU from requirements-silicon.txt in extras"
        pip3 install -r requirements-silicon.txt
        install_st_extras_post
    fi

... it just keeps itself invoking. It doenst get any further. Is this the issue or is it something else why my installation is looping here?

Additional info

No response

Please tick the boxes

@Tuerpe Tuerpe added the 🐛Bug [ISSUE] Ticket describing something that isn't working label Mar 19, 2024
@deffcolony
Copy link
Collaborator

@Tuerpe could you test if it works now? i made some big changes to the install.sh
afe33f4#diff-043df5bdbf6639d7a77e1d44c5226fd7371e5259a1e4df3a0dd5d64c30dca44f

@deffcolony deffcolony added ✅ Fixed [ISSUE] Auto-Assigned to Tickets whose fix has been deployed 🚏 Awaiting User Response [ISSUE] Response from original author is pending ‼️ High Priority [ISSUE] An issue or PR that needs to be dealt with urgently labels Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚏 Awaiting User Response [ISSUE] Response from original author is pending 🐛Bug [ISSUE] Ticket describing something that isn't working ✅ Fixed [ISSUE] Auto-Assigned to Tickets whose fix has been deployed ‼️ High Priority [ISSUE] An issue or PR that needs to be dealt with urgently
Projects
None yet
Development

No branches or pull requests

2 participants