Package Details: lmstudio 0.3.5.2-1

Git Clone URL: https://aur.archlinux.org/lmstudio.git (read-only, click to copy)
Package Base: lmstudio
Description: Discover, download, and run local LLMs
Upstream URL: https://lmstudio.ai/
Keywords: appimage
Licenses: custom
Conflicts: lmstudio-appimage
Submitter: envolution
Maintainer: envolution
Last Packager: envolution
Votes: 12
Popularity: 2.32
First Submitted: 2024-11-23 18:53 (UTC)
Last Updated: 2024-11-28 17:50 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

DemianNetwork commented on 2024-03-28 08:51 (UTC)

Same trouble, how to fix ?

This doesn't look like a squashfs image.

Cannot mount AppImage, please check your FUSE setup. You might still be able to extract the contents of this AppImage if you run it with the --appimage-extract option. See https://github.com/AppImage/AppImageKit/wiki/FUSE for more information open dir error: No such file or directory

tovo commented on 2024-03-27 15:37 (UTC)

Hi, Just updated today and lm-studio stopped working.

Error message:

This doesn't look like a squashfs image.

Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information
open dir error: No such file or directory

Fuse is installed and lm-studio --appimage-extract gives:

This doesn't look like a squashfs image.
Failed to open squashfs image

Is there any workaround?

myyc commented on 2024-02-21 15:47 (UTC)

alright. i caved in and added the symlinks here. still think it's a bug that should be fixed upstream. when it is i'll just remove them.

phrippy commented on 2024-02-05 02:04 (UTC)

I am ready to create a fork of this PKGBUILD with a binary patch that corrects the library paths from /usr/local/lib to /usr/lib. Can I mark you as a contributor myyc <myyc@domain.xxx> according to your git commits?

myyc commented on 2024-02-04 03:18 (UTC)

@phrippy: the release notes say specifically "if you run into libclblast errors". it's not a bug in this package, it's a lmstudio issue that shows up in some machines. you're free to add your meta package to the aur and i'll recommend it here as a solution.

phrippy commented on 2024-02-01 16:32 (UTC)

Okay, now this is official recommendation, hehe.

Can you make something like this and add it as depends?

pkgname=clblast-local
pkgver=1.0
pkgrel=1
pkgdesc="Symlinks for clblast libraries to work with /usr/local/lib"
arch=('x86_64')
license=('custom')
depends=('clblast')

package() {
    # Create directory if it does not exist
    mkdir -p "${pkgdir}/usr/local/lib"

    # Creating symlinks
    ln -s /usr/lib/libclblast.so "${pkgdir}/usr/local/lib/libclblast.so"
    ln -s /usr/lib/libclblast.so.1 "${pkgdir}/usr/local/lib/libclblast.so.1"
}

myyc commented on 2024-01-24 02:19 (UTC)

@phrippy i don't have this issue, and the fact that you only need it for the first run seems a bit strange. the package is an appimage and it shouldn't depend on external packages - minus the ones required to run any appimage. can you raise this to the lm studio devs?

phrippy commented on 2024-01-23 23:17 (UTC)

@myyc after manual installing the clblast package and set specified symlinks everything is fine. Even if I delete the symlinks or package after first run lm-studio (!). So, it is only first run trouble. I can reproduce it again by this steps:

  1. Delete directory ~/.cache/lm-studio
  2. Delete package clblast (or only specified symlinks, subject trying find it only in /usr/local/lib, not /usr/lib ; it's stange)
  3. Run lm-studio in terminal and get this output:
~ lm-studio
Reading gpu_preferences at /home/phrippy/.cache/lm-studio/gpu-preferences.json
00:54:21.201 › GPU Preferences: null
00:54:21.235 › GPU info: 05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barcelo (rev c2)

00:54:21.235 › Got GPU Type: amd
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /usr/local/lib/libclblast.so.1: cannot open shared object file: No such file or directory
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
    at Module._extensions..node (node:internal/modules/cjs/loader:1326:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1822)
    at Module.load (node:internal/modules/cjs/loader:1096:32)
    at Module._load (node:internal/modules/cjs/loader:937:12)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at Module.require (node:internal/modules/cjs/loader:1120:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at 6829 (/tmp/.mount_lm-sturzIAvc/resources/app/.webpack/main/index.js:2:1756)
    at r (/tmp/.mount_lm-sturzIAvc/resources/app/.webpack/main/index.js:8:420150)

If the symlinks is available and correct, then output is fine and file ~/.cache/lm-studio/gpu-preferences.json will created. After that, specified symlinks and so-files is not needed, we can delete it

myyc commented on 2024-01-23 15:41 (UTC)

@prippy what does it mean that it needs to depend on it? i downloaded a small model and it works fine without, i don't have that package installed. can you be more specific?