Code Monkey home page Code Monkey logo

pinokio's People

Contributors

cocktailpeanut 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pinokio's Issues

git error on mac m2 silicon

Hi, great project.
with your fix for git, still getting it with the release you hoped would fix it for us: Pinokio-0.0.29-arm64.dmg

Messaging:

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
bash-3.2$ brew uninstall git
Error: Git is unavailable
bash-3.2$
The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
bash-3.2$ brew install git
Error: Git is unavailable
bash-3.2$

Bark not running out of box

After I install Bark, I get the following error on execution.

Microsoft Windows [Version 10.0.23545.1000]
(c) Microsoft Corporation. All rights reserved.

D:\pinokio\api\bark.pinokio.git>
D:\pinokio\api\bark.pinokio.git>env\Scripts\activate env

(env) D:\pinokio\api\bark.pinokio.git>python app.py
file_upload_available = True
D:\pinokio\api\bark.pinokio.git\env\lib\site-packages\TTS\api.py:77: UserWarning: gpu will be deprecated. Please use tts.to(device) instead.
warnings.warn("gpu will be deprecated. Please use tts.to(device) instead.")

tts_models/multilingual/multi-dataset/bark is already downloaded.
Traceback (most recent call last):
File "D:\pinokio\api\bark.pinokio.git\app.py", line 30, in
tts = TTS("tts_models/multilingual/multi-dataset/bark", gpu=torch.cuda.is_available())
File "D:\pinokio\api\bark.pinokio.git\env\lib\site-packages\TTS\api.py", line 81, in init
self.load_tts_model_by_name(model_name, gpu)
File "D:\pinokio\api\bark.pinokio.git\env\lib\site-packages\TTS\api.py", line 185, in load_tts_model_by_name
self.synthesizer = Synthesizer(
File "D:\pinokio\api\bark.pinokio.git\env\lib\site-packages\TTS\utils\synthesizer.py", line 109, in init
self._load_tts_from_dir(model_dir, use_cuda)
File "D:\pinokio\api\bark.pinokio.git\env\lib\site-packages\TTS\utils\synthesizer.py", line 161, in load_tts_from_dir
config = load_config(os.path.join(model_dir, "config.json"))
File "D:\pinokio\api\bark.pinokio.git\env\lib\site-packages\TTS\config_init
.py", line 91, in load_config
with fsspec.open(config_path, "r", encoding="utf-8") as f:
File "D:\pinokio\api\bark.pinokio.git\env\lib\site-packages\fsspec\core.py", line 102, in enter
f = self.fs.open(self.path, mode=mode)
File "D:\pinokio\api\bark.pinokio.git\env\lib\site-packages\fsspec\spec.py", line 1309, in open
f = self._open(
File "D:\pinokio\api\bark.pinokio.git\env\lib\site-packages\fsspec\implementations\local.py", line 180, in _open
return LocalFileOpener(path, mode, fs=self, **kwargs)
File "D:\pinokio\api\bark.pinokio.git\env\lib\site-packages\fsspec\implementations\local.py", line 298, in init
self._open()
File "D:\pinokio\api\bark.pinokio.git\env\lib\site-packages\fsspec\implementations\local.py", line 303, in _open
self.f = open(self.path, mode=self.mode)
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/danie/AppData/Local/tts/tts_models--multilingual--multi-dataset--bark/config.json'

(env) D:\pinokio\api\bark.pinokio.git>

No gradio

Tried installing the text generation web UI, but when it launches I get a "ModuleNotFoundError: No module named 'gradio'" error.

???

How to make it connect through proxy on Windows?

It stuck on download fail:

downloading installer: https://github.com/cocktailpeanut/miniconda/releases/download/v23.5.2/Miniconda3-py310_23.5.2-0-Windows-x86_64.exe...
Downloading https://github.com/cocktailpeanut/miniconda/releases/download/v23.5.2/Miniconda3-py310_23.5.2-0-Windows-x86_64.exe to D:\AI\pinokio\bin...
Download Failed: connect ETIMEDOUT 20.27.177.113:443!
Download Failed: connect ETIMEDOUT 20.27.177.113:443!

And I've set environment variable: HTTP_PROXY/HTTPS_PROXY. The network needs to go through proxy. How to make it connect through proxy on Windows?

Running AppImage in Linux installs but loops without launching

Running the AppImage file in Linux prompts for the folder to install and runs through the install script. Once it completes (successfully), the button pops up to "Launch". Clicking the button restarts the install process. There is no way to actually launch the app...

editing files in ubuntu

if you open a file with Pinokio and scroll down if you try to mark something with your courser you will mark the spot where your mouse is as if you haven't scrolled down aka
if i try to mark line 4 without scrolling down you mark line 4 then if you scroll down 2 lines and try to mark line 6 at the same spot on the screen now at line 6 you still mark line 4

Screencast from 2023-11-15 20:56:09.webm
the line number on the left that lights up is where my mouse is

Main.exe is crashing at LLM "Demo" on Windows 10 Pro

Hey,

Quite excited to see this AI sandbox you've developed, and the modular vision you have for it. Couldn't have been timed better than the release of Llama-2.

Anyhow, I've installed Pinokio on my Windows system, downloaded your llamacpp.pinokio.git, and tried running an open-source LLM. After I've finished downloading a given model, I click "Run demo" and encounter this error:

image

Greatly appreciate your efforts with this project, and am grateful for any aid or advice (other than ditch Windows :P).

return to the installation screen after install

after pinokio gets installed, when I try to run it, it send me back to the install screen, with the "Install button"

I've ran this on windows and mac os as well (tried on Intel mac and a M1 mac also) and get the same result

any ideas?

[Feature Request] node editor scripting for Pinokio?

It might be really interesting if Pinokio had a higher-level node-based scripting interface that could tie together underlying tools and their functions.

A bit like what is being experimented with in InvokeAI and ComfyUI, but allowing the user to string together data results and functions across multiple tools... I imagine there would be some kind of "node actions definition" data that would describe what nodes to create for an underlying package, their data input/output types, and the way to execute them.

https://invoke-ai.github.io/InvokeAI/features/NODES/#scaling

https://github.com/comfyanonymous/ComfyUI

Uninstall for Mac

Pinokio looks to be a fantastic app, but it does install a lot of packages. Are there plans for an uninstaller?

Or, at least, how can I get to the logs that display while Pinokio is installing?

Pinokio on M1 white screen

Hi my Pinokio stopped working suddenly and only shows a white screen.
i tried installing LCM, and recently installed Audiosep before happened.
Please somebody help me out. The old one worked great.
i've tried downloading new pinokio but it says it's damaged and has to be moved to the bin.

I've added the log file in the original pinokio folder.

log.txt

kohya_ss

Do you have any plan to add kohya_ss to the scripts list?

audio-webui.pinokio.git Fails to install.

Microsoft Windows [Version 10.0.22621.2134]
(c) Microsoft Corporation. All rights reserved.

C:\Users\CRCODE22\pinokio\api\audio-webui.pinokio.git\audio-webui>
C:\Users\CRCODE22\pinokio\api\audio-webui.pinokio.git\audio-webui>python main.py
Checking installs and venv + autodebug checks
Python version: 3.10.6 (main, Aug 2 2022, 18:57:48) [MSC v.1929 64 bit (AMD64)]
Webui version: 13f2ec556b5a08889864f8ae7a894721e8d1319d - Sun Aug 13 16:14:33 2023 +0200
Found extensions:
activating venv
no venv found, creating venv
Checking installs and venv + autodebug checks
Python version: 3.10.6 (main, Aug 2 2022, 18:57:48) [MSC v.1929 64 bit (AMD64)]
Webui version: 13f2ec556b5a08889864f8ae7a894721e8d1319d - Sun Aug 13 16:14:33 2023 +0200
Found extensions:
Installed packaging!
Installed numpy!
Installed PyTorch!
Installed transformers!
Installed diffusers!
Installed gradio!
Installed audio2numpy!
Installed bark!
Installed soundfile!
Installed audiolm!
Installed praat-parselmouth!
Installed pyworld!
Installed faiss!
Installed torchcrepe!
Installed ffmpeg-python!
Installed noisereduce!
Installed demucs!
Installed TTS!
Installed pytube!
Installed openai-whisper!
Installed audiocraft!
Done installing/checking installs.
Activating extensions
Preparing
C:\Users\CRCODE22\pinokio\api\audio-webui.pinokio.git\audio-webui\venv\lib\site-packages\torchaudio\compliance\kaldi.py:22: UserWarning: Failed to initialize NumPy: module compiled against API version 0x10 but this version of numpy is 0xf . Check the section C-API incompatibility at the Troubleshooting ImportError section at https://numpy.org/devdocs/user/troubleshooting-importerror.html#c-api-incompatibility for indications on how to solve this problem . (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84.)
EPSILON = torch.tensor(torch.finfo(torch.float).eps)
2023-08-14 02:45:23 | INFO | fairseq.tasks.text_to_speech | Please install tensorboardX: pip install tensorboardX
2023-08-14 02:45:23 | WARNING | xformers | A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
2023-08-14 02:45:23 | WARNING | xformers | Triton is not available, some optimizations will not be enabled.
This is just a warning: No module named 'triton'
Install finished, pywintypes missing, relaunching script.
Checking installs and venv + autodebug checks
Python version: 3.10.6 (main, Aug 2 2022, 18:57:48) [MSC v.1929 64 bit (AMD64)]
Webui version: 13f2ec556b5a08889864f8ae7a894721e8d1319d - Sun Aug 13 16:14:33 2023 +0200
Found extensions:
Failed to install numpy. Check AutoDebug output.

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█░▄▄▀██░██░█▄▄░▄▄██░▄▄▄░██░▄▄▀██░▄▄▄██░▄▄▀██░██░██░▄▄░██
█░▀▀░██░██░███░████░███░██░██░██░▄▄▄██░▄▄▀██░██░██░█▀▀██
█░██░██▄▀▀▄███░████░▀▀▀░██░▀▀░██░▀▀▀██░▀▀░██▄▀▀▄██░▀▀▄██
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

Install failed!
STDOUT:
Collecting numpy==1.23.5
Using cached numpy-1.23.5-cp310-cp310-win_amd64.whl (14.6 MB)
Installing collected packages: numpy
Attempting uninstall: numpy
Found existing installation: numpy 1.22.0
Uninstalling numpy-1.22.0:
Successfully uninstalled numpy-1.22.0

STDERR:
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\Users\CRCODE22\pinokio\api\audio-webui.pinokio.git\audio-webui\venv\Lib\site-packages\~umpy\.libs\libopenblas.EL2C6PLE4ZYW3ECEVIV3OXXGRN2NRFM2.gfortran-win_amd64.dll'
Check the permissions.

[notice] A new release of pip available: 22.2.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip

Please read the error above carefully.
If you are unsure, please create an issue at https://github.com/gitmylo/audio-webui/issues.
When creating an issue, please include your full autodebug message.
Exit code: 1

Unable to install M1 Macbook Pro

14-inch, 2021
Apple M1 Pro
13.0.1 (22A400)
MacOS Ventura Version 13.0.1 (22A400)

`
Password:
option -r not recognized
Following Download Steps from pinokio.computer:

usage: xattr [-slz] file [file ...]
xattr -p [-slz] attr_name file [file ...]
xattr -w [-sz] attr_name attr_value file [file ...]
xattr -d [-s] attr_name file [file ...]
xattr -c [-s] file [file ...]

The first form lists the names of all xattrs on the given file(s).
The second form (-p) prints the value of the xattr attr_name.
The third form (-w) sets the value of the xattr attr_name to attr_value.
The fourth form (-d) deletes the xattr attr_name.
The fifth form (-c) deletes (clears) all xattrs.

options:
-h: print this help
-s: act on symbolic links themselves rather than their targets
-l: print long format (attr_name: attr_value)
-z: compress or decompress (if compressed) attribute value in zip format

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]
`

Screenshot 2023-08-30 at 6 37 41 PM Screenshot 2023-08-30 at 6 38 15 PM

XTTS error

Microsoft Windows [Version 10.0.22621.2506]
(c) Microsoft Corporation. Minden jog fenntartva.

C:\Users\Reno\pinokio\api\xtts.pinokio.git>
C:\Users\Reno\pinokio\api\xtts.pinokio.git>env\Scripts\activate env

(env) C:\Users\Reno\pinokio\api\xtts.pinokio.git>python app.py

Downloading model to C:\Users\Reno\pinokio\cache\XDG_DATA_HOME\tts\tts_models--multilingual--multi-dataset--xtts_v1
0.00iB [00:00, ?iB/s]
Model's license - CPML
Check https://coqui.ai/cpml.txt for more info.
Traceback (most recent call last):
File "C:\Users\Reno\pinokio\api\xtts.pinokio.git\app.py", line 13, in
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v1")
File "C:\Users\Reno\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\api.py", line 81, in init
self.load_tts_model_by_name(model_name, gpu)
File "C:\Users\Reno\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\api.py", line 185, in load_tts_model_by_name
self.synthesizer = Synthesizer(
File "C:\Users\Reno\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\utils\synthesizer.py", line 109, in init
self.load_tts_from_dir(model_dir, use_cuda)
File "C:\Users\Reno\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\utils\synthesizer.py", line 161, in load_tts_from_dir
config = load_config(os.path.join(model_dir, "config.json"))
File "C:\Users\Reno\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\config_init
.py", line 95, in load_config
data = read_json_with_comments(config_path)
File "C:\Users\Reno\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\config_init
.py", line 22, in read_json_with_comments
data = json.loads(input_str)
File "C:\Users\Reno\pinokio\bin\miniconda\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\Reno\pinokio\bin\miniconda\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\Reno\pinokio\bin\miniconda\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I just install and run.
(Win 11)

Folder doesnt get deleted when uninstalling

Hello, I noticed that the folder under "C:\Users<Username>pinokio" doesn't get deleted.

The folder was 2.4GB big and I think it would be good to delete it when uninstalling the program.

I can't launch stable diffusion on intel Mac.

I don't know why but the process seems stopping in the middle of it.

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> basicsr

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

[notice] A new release of pip available: 22.2.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip

(venv) bash-3.2$

Can't install vs and any app

Why do I click install vs, it also runs install and says complete many times but still shows "vs not installed" and cannot install any application on pinokio
z4869268383275_4e4dd33bea301bc67bc70dd53d672e74

Start Bat Sharing Feature Request?

Installed text-generation-webui and noticed by default it’s running only locally.
However, I had to leave the computer and wanted to test it on my other computers within the network and noticed that there’s no options within Pinokio to share this.

Of course, with manual installs such as A1111 I’ve created separate bat files with one which includes the share argument in the start bat.

However Pinokio currently lacks this feature AFAIK. Any way to require this argument as an option whenever available to people writing these launchers? Or is there any simple way to include it within the base Pinokio?

OSError: [Errno 28] No space left on device - ??

I continue to get this error in some form or another after installation but during initial startup (when files are being downloaded) in different apps. My C: (boot drive) has no space (400mb or so) but my E: which I have setup for the target drive of Pinokio has 1.45TB or more. Is PInokio trying to use my C: for those run file downloads as a temp dir or something?

OSError: [Errno 28] No space left on device
Downloading: 16%|████████████▍

FEATURE REQUEST: Include option to get version & update Pinokio

As I've been submitting some errors to the different modules I've tried but failed installing I was looking for a way to share with them the PInokio version I was using & also to make sure I'm up to date.

Seems like the only way to do that, currently, is a file download & replace.

Adding a version check to the Pinokio UI would be helpful. Heck, just allowing a basic git pull could be turned into a .bat.

Just a thought. I like what you're doing here although more than half to the modules I've tried, so far, have failed : L But I've told the different ones some issues.

Can't download scripts

I downloaded Pinokio just fine on my Linux but when I browse for some features, I get stuck on a loading screen when I try to install them

I can broawse
Capture d’écran du 2023-11-03 14-36-17
But when I click on download ni get this
Capture d’écran du 2023-11-03 14-36-23

Processor: 12th Gen Intel® Core™ i7-12650H × 16
GPU: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] / Mesa Intel® Graphics (ADL GT2)

Ubuntu 22.04.3 LTS
64 bits

i am getting torch.cuda.OutOfMemoryError: CUDA out of memory.

all programs i am unable to launch and i am getting return func(*args, **kwargs)
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 4.00 GiB total capacity; 3.46 GiB already allocated; 0 bytes free; 3.47 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

(env) C:\pinokio\api\xtts.pinokio.git>

Change to GPU inference

Is it possible to change Audiocraft to use my GPU instead of the CPU as is default? Or do I need to write a new script for such feature?

A couple of pinokio.js improvements

A quick win (that even work with the current version) would be moving the menu entries to json files. Like menu_not_installed.json and menu_installed.json. The session.json is trival and could be removed as repeating it's content would not be that harmful.

stage 0

Original: https://github.com/cocktailpeanut/facefusion.pinokio/blob/main/pinokio.js

stage 1

const os = require('os')
const fs = require('fs')
const path = require('path')
const exists = (filepath) => new Promise(r=>fs.access(filepath, fs.constants.F_OK, e => r(!e))) // dude, use proper names - I have no idea what is happening here

module.exports = {
  title: 'FaceFusion',
  description: 'Next generation face swapper and enhancer',
  icon: 'icon.png',
  menu: async (kernel) => {
    const installed = await exists(path.resolve(__dirname, 'facefusion', 'env')) // there is fs.existsSync()
    const conda_installed = await exists(path.resolve(__dirname, 'facefusion', 'conda_env')) // there is fs.existsSync()

    if (installed) {
      return require('menu_installed.json');
    } else if (conda_installed) {
      return require('menu_conda_installed.json');
    } else {
      const arch = os.arch(); // always use const if possible (I changed it everywhere)
      const platform = os.platform();

      if (platform === 'darwin') {
        if (arch === 'x64') {
          return require('menu_apple_intel_not_installed.json');
        } else if (arch === 'arm64') {
          return require('menu_apple_silicon_not_installed.json');
        }
      } else {
          return require('menu_not_installed.json'); // there is no need for else when using return
      }
    }
  }
}

stage 2

const { platform, arch } = require('os');
const { existsSync } = require('fs');
const { resolve } = require('path');

const isInstalled = existsSync(resolve(__dirname, 'facefusion', 'env'));
const hasCondaInstalled = existsSync(resolve(__dirname, 'facefusion', 'conda_env'));

module.exports = {
  title: 'FaceFusion',
  description: 'Next generation face swapper and enhancer',
  icon: 'icon.png',
  menu: kernel => {
    if (isInstalled) {
      return require('menu_installed.json');
    }
    if (hasCondaInstalled) {
      return require('menu_conda_installed.json');
    }
    if (platform() === 'darwin' && arch() === 'x64') {
      return require('menu_apple_intel_not_installed.json');
    }
    if (platform() === 'darwin' && arch() === 'arm64') {
      return require('menu_apple_silicon_not_installed.json');
    }
    return require('menu_not_installed.json');
  }
};

I suggest also to introduce directories like /install, /start and /menu

"conda_hook" is not recognized as an internal or external command,

Hey, I usually try to figure these things out myself, but I thought I'd try the community for once. I am trying to install A1111 and Ooba however I am running into this issue where I cannot install the pre-requests. I've done this manually many times, but I figured pinokio would be an easier one stop solution to all of my AI needs. Help is much appreciated, if I'm doing something dumb, pointing that out is much appreciated as well. Just point me in the right direction and I'll un-dumb myself.

---Thanks in advance---

Issue:
Microsoft Windows [Version 10.0.19045.3570]
(c) Microsoft Corporation. All rights reserved.

C:\Users\User\pinokio\bin>conda_hook && conda activate base && conda install nodejs -y -c conda-forge
'conda_hook' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\User\pinokio\bin>reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f
The operation completed successfully.

image

Not compatible with zsh - Setup loop

After setup, clicking launch takes me back to setup.

Here is the setup output. i suspect that the app is stuck on bash rather than zsh which may be causing issues

bash: export: `Snitch.app/Contents/Components:/Library/Apple/usr/bin:/Users/user/.local/bin': not a valid identifier

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
bash-3.2$ brew uninstall git
Uninstalling /opt/homebrew/Cellar/git/2.41.0_2... (1,633 files, 49.5MB)

Warning: The following may be git configuration files and have not been removed!
If desired, remove them manually with rm -rf:
/opt/homebrew/etc/gitconfig
bash-3.2$ bash: export: `Snitch.app/Contents/Components:/Library/Apple/usr/bin:/Users/user/.local/bin': not a valid identifier

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
bash-3.2$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" in System Settings to install updates
bash-3.2$ bash: export: `Snitch.app/Contents/Components:/Library/Apple/usr/bin:/Users/user/.local/bin': not a valid identifier

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
bash-3.2$ brew install git
==> Downloading https://formulae.brew.sh/api/formula.jws.json

==> Downloading https://formulae.brew.sh/api/cask.jws.json

==> Fetching git
==> Downloading https://ghcr.io/v2/homebrew/core/git/manifests/2.41.0_2
Already downloaded: /Users/user/pinokio/bin/homebrew/cache/downloads/b196d2a0c608ed37e4fe60cece968bb00f891ed65ea2497025379c841f4111c0--git-2.41.0_2.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/git/blobs/sha256:da6d23d518ee51
Already downloaded: /Users/user/pinokio/bin/homebrew/cache/downloads/e214f203b184d84e6330182965fd55a095f0cef0a403ba5898d56caf5c34c0c9--git--2.41.0_2.arm64_ventura.bottle.tar.gz
==> Pouring git--2.41.0_2.arm64_ventura.bottle.tar.gz
==> Caveats
The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the git-gui formula.
Subversion interoperability (git-svn) is now in the git-svn formula.

zsh completions and functions have been installed to:
/opt/homebrew/share/zsh/site-functions
==> Summary
🍺 /opt/homebrew/Cellar/git/2.41.0_2: 1,633 files, 49.5MB
==> Running brew cleanup git...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).
bash-3.2$

FetchError: request

Not able to install:

FetchError: request to https://github.com/cocktailpeanut/bin/releases/download/vs_buildtools/vs_buildtools.exe failed, reason: connect EACCES 140.82.121.3:443
    at ClientRequest. (C:\Users\myuser\AppData\Local\Programs\Pinokio\resources\app.asar\node_modules\node-fetch\lib\index.js:1491:11)
    at ClientRequest.emit (node:events:513:28)
    at TLSSocket.socketErrorListener (node:_http_client:494:9)
    at TLSSocket.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

XFormer & cuda error: Image2vid

After it got this far it stopped:

WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.0.1+cu118 with CUDA 1108 (you have 2.0.1+cpu)
Python 3.10.11 (you have 3.10.6)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
2023-09-04 16:10:47,324 - modelscope - INFO - cuda is not available, using cpu instead.

Cannot Import Undefined from pydantic

File "C:\Users......\pinokio\api\text-generation-webui.pinokio.git\text-generation-webui\installer_files\env\lib\site-packages\fastapi\params.py", line 4, in
from pydantic.fields import FieldInfo, Undefined
ImportError: cannot import name 'Undefined' from 'pydantic.fields' (C:\Users......\pinokio\api\text-generation-webui.pinokio.git\text-generation-webui\installer_files\env\lib\site-packages\pydantic\fields.py)

how fix it? wich version you pydantic you use?

Installation of tool VS crash

During the instalation of : Text Generation WebUI

During the preinstalation of the vs part of tools this is what occur once the installation is successful for VS (after accepting installation on the separate window)

Here is the screenshot of the error
image

then the pinokio install freeze and nothing happen

cuda out of memory with AudioLDM2

Hello I have this error with audioLDM2 which refuses to launch, I have an RTX4070.

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 14.00 MiB (GPU 0; 11.99 GiB total capacity; 11.19 GiB already allocated; 0 bytes free; 11.22 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

torch seems to be taking too much vram...
I'm a beginner and I don't know how (especially where ??) to solve this problem.
Other people with the same GPU as me don't have this problem.

Audiogradio not working on Mac M1 Max

I installed audiogradio using Pinokio on a M1 Max Macbook Pro, but when I try to run it I get the following error:

The default interactive shell is now zsh. To update your account to use zsh, please run chsh -s /bin/zsh. For more details, please visit https://support.apple.com/kb/HT208050. bash-3.2$ bash-3.2$ source env/bin/activate env (env) bash-3.2$ python3 demos/audiogen_app.py Traceback (most recent call last): File "/Users/USER/pinokio/api/audiogradio.pinokio.git/audiocraft/demos/audiogen_app.py", line 20, in <module> import torch ModuleNotFoundError: No module named 'torch' (env) bash-3.2$

EDIT:

I also noticed that I get this error during installation:

(env) (base) bash-3.2$ pip install -r torchcraft.txt ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'torchcraft.txt'

Discord

Can anyone help me. when I click discord. it says accept for invite. I do this and then nothing show.. Any help appreciated. P

XTTS Error

Microsoft Windows [Version 10.0.23585.1001]
(c) Microsoft Corporation. All rights reserved.

C:\Users\SAMET\pinokio\api\xtts.pinokio.git>
C:\Users\SAMET\pinokio\api\xtts.pinokio.git>env\Scripts\activate env

(env) C:\Users\SAMET\pinokio\api\xtts.pinokio.git>python app.py
 > tts_models/multilingual/multi-dataset/xtts_v2 is already downloaded.
 > Using model: xtts
Traceback (most recent call last):
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\app.py", line 13, in <module>
    tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2")
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\api.py", line 81, in __init__
    self.load_tts_model_by_name(model_name, gpu)
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\api.py", line 185, in load_tts_model_by_name
    self.synthesizer = Synthesizer(
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\utils\synthesizer.py", line 109, in __init__
    self._load_tts_from_dir(model_dir, use_cuda)
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\utils\synthesizer.py", line 163, in _load_tts_from_dir
    self.tts_model = setup_tts_model(config)
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\tts\models\__init__.py", line 13, in setup_model
    model = MyModel.init_from_config(config=config, samples=samples)
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\tts\models\xtts.py", line 660, in init_from_config
    return Xtts(config)
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\tts\models\xtts.py", line 215, in __init__
    self.init_models()
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\tts\models\xtts.py", line 226, in init_models
    self.gpt = GPT(
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\tts\layers\xtts\gpt.py", line 135, in __init__
    self.conditioning_encoder = ConditioningEncoder(80, model_dim, num_attn_heads=heads)
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\tts\layers\xtts\latent_encoder.py", line 129, in __init__
    self.init = nn.Conv1d(spec_dim, embedding_dim, kernel_size=1)
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\torch\nn\modules\conv.py", line 297, in __init__
    super().__init__(
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\torch\nn\modules\conv.py", line 134, in __init__
    self.weight = Parameter(torch.empty(
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\torch\utils\_device.py", line 77, in __torch_function__ 
    return func(*args, **kwargs)
  File "C:\Users\SAMET\pinokio\api\xtts.pinokio.git\env\lib\site-packages\torch\cuda\__init__.py", line 298, in _lazy_init        
    torch._C._cuda_init()
RuntimeError: Unrecognized CachingAllocator option: 512

(env) C:\Users\SAMET\pinokio\api\xtts.pinokio.git>

just installed and ran it

Installation failure cycle

Versions prior to 138 were working fine. Before it failed, I first changed the directory where it was installed, by moving it to a folder that did not include a # symbol D:\#AI to D:\AI to avoid potential path name conflicts. I then updated, or reinstalled it to that directory... it succeeded, and got to the 'launch' phase and launching failed. So I did a clean install, removing all roaming files, resulting in the exact same problem.

Unrelated, but I just noticed there are dump files upon loading the installer also, which doesn't seem to crash the program entirely, still allowing for the installation process to proceed. Though, those also appeared with v0.135 which installed fine.

Latest Install Result:

image

After hitting install it says

image

I've tried rebooting, same issue. I can extract the file fine with 7zip outside of pinokio installer. Disabling all exploit protections did not fix this issue.

pinokio setup dmp.7z.zip
I have exploit protections set to 'on by default', rather than 'use default'. This can occasionally cause conflicts with programs that do not implement proper security functions in windows, typically 'validate heap integrity' with installers.

image

image

Cant install apps

Hi, not sure if this been asked here before but I need help sorting this out.

I cant install any app as it show this:

image
I have all those already installed and I use them everyday.
However, when i press install it does install those missing and I get this:
image

pressing ok it take me back to this:
image

As if it is looping.

How to solve this?

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.