josStorer / RWKV-Runner

A RWKV management and startup tool, full automation, only 8MB. And provides an interface compatible with the OpenAI API. RWKV is a large language model that is fully open source and available for commercial use.
https://www.rwkv.com
MIT License
5.04k stars 481 forks source link

WSL Not supported when training on Ubuntu #163

Open xAlpacas opened 1 year ago

xAlpacas commented 1 year ago

Summary: Inability to Train Models Using Wails App Due to Unnecessary WSL Requirement on Ubuntu

Steps to Reproduce:

  1. Clone the repository.
  2. Follow the installation commands to build and run the application. I initially encountered a build issue with Wails, which I managed to resolve by referring to this issue.

Expected Behavior: I anticipated a smooth training process without encountering conflicts. Furthermore, I expected the Train.tsx file to function properly without any reliance on WSL-related functions.

Actual Behavior: Unfortunately, the training process does not even initiate, and a "WSL not supported" pop-up message appears when I click the Train button.

Additional Information: I am currently using Ubuntu and not on Windows. As such, I do not believe that WSL is necessary for this particular process.

Environment:

Screenshot

image

josStorer commented 1 year ago

Temporary solution: execute train.py (https://github.com/josStorer/RWKV-Runner/blob/master/finetune/lora/train.py)

iomgaa commented 8 months ago

What time will this problem be resolved? I have used 1.6.8 version for a long time, but the problem still exists.

mystery3021 commented 4 months ago

What time will this problem be resolved? I have used 1.6.8 version for a long time, but the problem still exists. Take a look at RWKV-Runner/backend-golang/wsl_unix.go

func (a *App) WslStart() error { return errors.New("wsl not supported") }

func (a *App) WslCommand(command string) error { return errors.New("wsl not supported") }