Symmetry - Inference Network
Symmetry is an experimental decentralized computing network that allows users to share and access computational resources. Initially integrated with the twinny VSCode extension, Symmetry has potential to become a powerful tool for developers, researchers, and data scientists.
Note: Symmetry is still in alpha and there may be some issues. Please report any issues you find at https://github.com/twinnydotdev/symmetry.
The symmetry client is licensed under the MIT license.
https://github.com/twinnydotdev/symmetry
Connecting to Symmetry in twinny VSCode Extension
Symmetry can be used as an inference provider within the twinny VSCode extension if there are active providers available in the network for the specific model. You can find the current providers and the available models at: https://twinny.dev/symmetry.
- In the twinny extension settings, select your desired model.
- Click the “Connect to Symmetry” button in the extension.
- The extension will automatically connect to the Symmetry network using the selected model. The model name can be configured inside the twinny extension settings, please try to match this with one of the available models found at https://twinny.dev/symmetry. This process will be improved in the future to allow users to select from a list of available models.
- When you’re connected you should see the green “Connected” status in the extension sidebar.
- Try sending some requests to the model using the twinny extension it should work as expected.
Disconnected:
Connected:
Look for the icon:
Becoming a Symmetry Provider
As Symmetry grows, there’s an opportunity for users to contribute by becoming providers. Here’s what you need to know:
Why Consider Becoming a Provider?
- Contribute to a decentralized computing network
- Utilize idle computational resources
- Potential for future incentive systems (subject to network development)
- Gain experience with decentralized technologies
- Become the collector of data for machine learning research
How to Become a Provider
-
Install Symmetry:
Unix
Windows
-
Configure Your Node: Create a
provider.yaml
file in~/.config/symmetry/
with your provider settings. -
Start Your Node:
The provider will start and make a test call to your provider.
Programatically
Provider Configuration
Example provider.yaml
:
Adjust these settings based on your setup and preferences.
Considerations for Providers
- Ensure your node is secure and up-to-date
- Be aware of the data passing through your node
- Maintain a stable and reliable connection
Beyond VSCode: Future Developments
While currently focused on the twinny extension, Symmetry’s potential extends further:
- Standalone Usage: Plans are in place to develop a Node.js package that will allow developers to tap into the Symmetry network from any Node.js application.
- API Access: Future versions may include direct API access, enabling integration with a wide range of applications and services.
Frequently Asked Questions (FAQs)
-
Q: Is Symmetry only for VSCode users? A: While currently integrated with the twinny VSCode extension, there are plans to expand Symmetry’s accessibility through a Node.js package and potentially direct API access in the future.
-
Q: Can I use Symmetry for chat and autocomplete? Currently, Symmetry is designed for chat, but it could be used for other purposes in the future (e.g., autocomplete).
-
Q: How does Symmetry ensure data privacy? A: Symmetry uses encrypted connections for all communications. After initial matchmaking, clients and providers communicate directly, bypassing the central server. However, providers do have access to decrypted data for processing, so consider data sensitivity when using the network.
-
Q: Can I use Symmetry in my own projects? A: Currently, Symmetry is primarily used within the twinny VSCode extension. However, plans for a Node.js package are in development, which will allow broader integration in various projects.
-
Q: Are there rewards for being a provider?
A: Yes, providers can earn points through a gamification system:
- 1 base point for every hour they stay online
- Progressive bonus points each consecutive hour (2, 3, 4, etc.) up to a maximum of 6 bonus points
- Points currently serve as a fun way to track participation and engagement
- While there may be potential for future utility token integration with the Twinny VSCode extension and Symmetry network, this is not guaranteed and there are no concrete plans at this time.
- Q: How can I stay updated on Symmetry’s development? A: Keep an eye on the official Symmetry GitHub repository and documentation for the latest updates and announcements.
By exploring Symmetry, whether as a user through the twinny extension or as a provider, you’re participating in the development of decentralized computing technologies. As Symmetry evolves, it aims to offer more flexible and powerful options for developers and researchers alike.