StableStudio icon indicating copy to clipboard operation
StableStudio copied to clipboard

StableStudio on Google Collab

Open cruhl opened this issue 2 years ago • 5 comments

Discussed in https://github.com/Stability-AI/StableStudio/discussions/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 avatar May 19 '23 16:05 cruhl

Getting this working in Google Collab would be pretty neat

cruhl avatar May 19 '23 16:05 cruhl

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

camenduru avatar May 19 '23 22:05 camenduru

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)`

felipeavilis avatar Aug 08 '23 13:08 felipeavilis