Frequently Asked Questions
Get answers to common questions about using and troubleshooting Pieces for Developers.
What is Pieces OS? How does it work?
Pieces OS is the background service that enables Pieces to work locally and handles communications with our various integrations. Without Pieces OS, Pieces for Developers would not be able to save your snippets, generate responses to your questions, or interact with any of installed plugins.
Pieces OS also enables our cloud-enabled features like link sharing.
Head over to our installation page to get started.
How do I check my Pieces versions and update the app?
Pieces OS
- macOS
- Windows
- Linux
Pieces OS: Click the P
icon in your menu bar and view your update status in the dropdown
Pieces OS: Click the PiecesOS icon in your task bar and view in the popup
If you installed via the Pieces Suite Installer, you don't have to do anything to update the applications. Pieces Suite Installer provides the option to manually update the applications, but you never have to launch it again to get updates. You don't even have to update from within the application itself, you can simply ignore any prompts that pop up within the applications and they will be updated for you automatically in the background the next time you restart your computer or the applications.
If you installed via the standalone EXE setup, that uses a different update mechanism that only checks for updates once a day or on application launch. You will receive a prompt where you can install or delay the update.
If you have installed via the standalone EXE, I would recommend switching over to the Pieces Suite Installer, as you will never have to click anything to get updates. Be sure to first uninstall Pieces OS and the Pieces for Developers desktop app to prevent any conflicts. Your user-generated data will not be affected.
To get information including the version of the Pieces OS and Pieces for Developers desktop app snap package, you can run:
snap info pieces-os
snap info pieces-for-developers
This will also show any available updates.
To update Pieces OS and the desktop app, you can run:
sudo snap refresh
Pieces Desktop App
Pieces for VS Code
Select Extensions > Search for Pieces for VS Code
> Select the extension > View the version next to the extension name
Pieces for JetBrains
Select Settings > Plugins > Search for Pieces for Developers
> View the version
Pieces for Obsidian
Select Settings > Community Plugins > View the version under Pieces for Developers
Pieces for JupyterLab
Select Extension Manager > View the version next to jupyter-pieces
If you are on unix, you can also run the following command to check the version of the Pieces for Developers desktop app:
pip list | grep jupyter-pieces
Can’t connect to Pieces OS
Please note that we have found that users who have some sort of proxy set up on all their machines may experience a connection failure with Pieces. We have only seen this on Windows so far, but it could also be the case for macOS or Linux. We expect this to be fixed with PiecesOS Release 8.1.0.
- macOS
- Windows
- Linux
Follow these steps to debug:
-
Restart your computer and launch the application again.
-
Check the version of macOS you are running: we support macOS 12.0 Monterey or higher
-
Ensure PiecesOS is running: you should see the Pieces icon in your menu bar
-
Check for updates using that dropdown and update if possible.
-
Ensure that the desktop application or whichever plugin you are experiencing this with (e.g. VS Code, Chrome, Teams, etc.) is up-to-date.
If you’re still having problems, email support@pieces.app and include the following:
- Your macOS version, PiecesOS version, Pieces Desktop App version
- Zip up any files you see at the following paths and attach them:
/Users/[username]/Library/com.pieces.os/Support/production/logs
/Users/[username]/Library/com.pieces.pfd/production/logs
- Ping the PiecesOS endpoint by clicking the following link. If you get a response, please send that response in the email as well.
http://localhost:1000/applications
Follow these steps to debug:
- Restart your computer and launch the application again.
- Check the version of Windows you are running and make sure you are up-to-date.
- Ensure PiecesOS is running: you should see the PiecesOS icon in your system tray
- Do you have any antivirus or firewall-related software on your machine? You can attempt to whitelist PiecesOS and the Pieces Desktop app with your antivirus software; otherwise, it may continue to block the application.
- Is your machine part of a corporate environment? You may need to try a different installation method, including trying to get it through the Windows store, or you can talk to your system administrator to see if they can assist you with allowing it to pass.
If you’re still having problems, send an email to support@pieces.app and include the following:
- Your Windows version, PiecesOS version, Pieces Desktop App version
- Zip up any files you see at the following paths and attach them:
- Documents > com.pieces.os
- Documents > com.pieces.pfd
- Ping the PiecesOS endpoint by clicking the following link. If you get a response, please send that response in the email as well.
http://localhost:1000/applications
Follow these steps to debug:
- Check the version of Ubuntu you are running. We currently support 22.04 and above.
- Please submit a support ticket and include the following so we can diagnose the issue: In your terminal, print out a debugging log of Pieces OS by using the following command:
pieces-os --debug
Do the same with Pieces for Developers:
pieces-for-developers --debug
Common Installation Issues
- macOS
- Windows
- Linux
- Check your MacOS version: you need to be on macOS 12.0 Monterey or higher in order to run the applications.
- There are two installation packages available for Mac: one for an Intel machine and one for Apple Silicon. Please make sure you have downloaded the correct one based on your machine. You can see what chip your machine has by viewing “About This Mac.”
- If you have the correct package and it failed the first time, please restart your machine and try again.
- If you receive any error messages when attempting to install after restarting, please send over a screenshot using this support form and we can take a look.
- Check for a Windows update and restart your computer.
- Have you tried to install using both the Pieces Suite installer and an alternative method listed on our installation page? If so, please remove everything Pieces-related on your machine and retry using the Pieces Suite installer.
- If you are having an issue with App Installer, you may want to check the Microsoft store for any updates to App Installer and make sure that the Microsoft Store is up-to-date in general.
- If you receive any error messages when attempting to install after restarting, please send over a screenshot using this support form and we can take a look.
- Please note that we only officially support Ubuntu and Ubuntu-based distros; that doesn’t mean others won’t work, but we can’t guarantee support for them.
- Please make sure that Snapd is up to date. Running sudo snap refresh should get you up-to-date on the most recent snap version. Then try installing Pieces OS again.
- You may be able to try switching from x11 to Wayland and vice versa. If you have an Nvidia Graphics card, you can try switching to Hybrid Graphics settings and try to use third-party drivers. If you are still having issues, you may need to consult online forums in order to get Snap working again on your system. If you receive any error messages when attempting to install after restarting, please send over a screenshot using this support form and we can take a look.
Local Model Crashing
Troubleshooting Local LLMs Issues
If you are receiving the error message I’m sorry, something went wrong with processing...
or the Pieces application crashes when you are using an on-device model, you may be trying to run a local model that requires more resources than your machine has available, or you’ve selected a GPU model when you don’t have a dedicated GPU.
Some things to consider:
- Older machines can struggle in general with local models; you'll have the best luck with machines from 2021 or newer.
- A machine with a dedicated GPU with more than 6/7GB of available GPU-RAM (VRAM) is optimal to run any of the GPU versions of the local models.
- If your machine does not have a dedicated GPU, you will likely have to use a CPU version of the model, which may not offer the same performance level.
Unfortunately, if you have an older machine or one with very low resources, you may have to use a cloud model in order to use the copilot.
Another common issue on Linux and Windows is a corrupted or outdated Vulkan API, which we use to communicate with your GPU. Vulkan should be bundled with your AMD or NVIDIA drivers, and you can check its health by executing the command vulkaninfo
in your terminal and scanning the resulting logs for errors or warnings. This could indicate that either your GPU drivers need updating or there is an issue with the API itself. Please contact the Pieces support team if you believe your Vulkan installation is broken.
To understand how to check your machine specs and select the best model for your machine, continue on to the next section. For detailed information on the difference between GPU and CPU and the best hardware for running local models, please see our blog post about this topic.
Checking Your Machine Specs
In order to select the best local model for you, you should first check your machine specifications.
- macOS
- Windows
- Linux
- Click on the Apple logo in the top-left corner of the screen.
- Select "About This Mac".
- In the window that opens, you can see if your machine runs an Intel chip or an Apple Silicon M-series chip.
- Right-click on the taskbar and select
Task Manager
. - In the Task Manager window, go to the
Performance
tab. - Here you can see your CPU and GPU details. Click on "GPU" to see GPU information.
- To see detailed GPU information including VRAM, click on
GPU 0
or your GPU's name.
- Open a terminal window.
- For CPU information, you can use the
lscpu
command. - For GPU information, you can use commands like
lspci | grep -i vga
to list GPU devices.
If you don’t have this installed, you may need to consult online forums for other options for your Linux machine.