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

StableStudio on Google Collab #30

Open
cruhl opened this issue May 19, 2023 Discussed in #26 · 3 comments
Open

StableStudio on Google Collab #30

cruhl opened this issue May 19, 2023 Discussed in #26 · 3 comments
Labels
bug Something isn't working enhancement New feature or request help wanted We'd love some help! needs elaboration Some more information is needed

Comments

@cruhl
Copy link
Contributor

cruhl commented May 19, 2023

Discussed in #26

Originally posted by AbdirayimovS May 19, 2023
Hi there,

I wonder if there is a Google collab notebook to easily install and run StableStudio.

  1. I created a new Google Collab notebook!
  2. Installed nodejs
    !sudo apt install nodejs npm !npm install
  3. Installed yarn
    curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt update && sudo apt install yarn yarn
  4. Copied the repo and run the folowing code:
    git clone https://github.com/Stability-AI/StableStudio.git cd StableStudio yarn yarn dev

The error I am getting:

`internal/modules/cjs/loader.js:638
throw err;
^

Error: Cannot find module 'worker_threads'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at /content/StableStudio/.yarn/releases/yarn-3.3.0.cjs:423:2587
at Object. (/content/StableStudio/.yarn/releases/yarn-3.3.0.cjs:740:8833)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)`

@cruhl cruhl added bug Something isn't working needs elaboration Some more information is needed labels May 19, 2023
@cruhl
Copy link
Contributor Author

cruhl commented May 19, 2023

Getting this working in Google Collab would be pretty neat

@cruhl cruhl added enhancement New feature or request help wanted We'd love some help! labels May 19, 2023
@cruhl cruhl assigned cruhl and unassigned cruhl May 19, 2023
@camenduru
Copy link

https://github.com/camenduru/StableStudio-colab

tocoro pushed a commit to tocoro/StableStudio that referenced this issue May 20, 2023
@felipeavilis
Copy link

felipeavilis commented Aug 8, 2023

Same error here... any ideas? Im using a VM in Azure.

Discussed in #26

Originally posted by AbdirayimovS May 19, 2023 Hi there,

I wonder if there is a Google collab notebook to easily install and run StableStudio.

  1. I created a new Google Collab notebook!
  2. Installed nodejs
    !sudo apt install nodejs npm !npm install
  3. Installed yarn
    curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt update && sudo apt install yarn yarn
  4. Copied the repo and run the folowing code:
    git clone https://github.com/Stability-AI/StableStudio.git cd StableStudio yarn yarn dev

The error I am getting:

`internal/modules/cjs/loader.js:638 throw err; ^

Error: Cannot find module 'worker_threads' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at /content/StableStudio/.yarn/releases/yarn-3.3.0.cjs:423:2587 at Object. (/content/StableStudio/.yarn/releases/yarn-3.3.0.cjs:740:8833) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted We'd love some help! needs elaboration Some more information is needed
Projects
None yet
Development

No branches or pull requests

3 participants