forked from SocialTensor/SocialTensorSubnet
-
Notifications
You must be signed in to change notification settings - Fork 15
*update staging merge* #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update staging
trungthanhnguyen0502
pushed a commit
that referenced
this pull request
Apr 22, 2025
* WIP refactor for improved workflow abstracitons * Add WIP test and debug validator forward * get miner working * (almost) get validator working * validator working * black formatter * docstrings * tests (WIP) * Remove rewards and unncessary imports. Update forward docstrings * Add axon. Minor reordering and some docstring cleanup * Add miner todo for saving state * Black * Restructure config to separate miner and validator specific args * Black * Change starting scores from ones to zeros * Features/more modular (#27) * Create BaseNeuron class, which takes care of common operations between miner and validator neurons. Also move everything in sync.py to the respective neuron classes and delete * And removes pylint swiftly afterwards * Features/cleanup modular (#31) * Cleanup docs and remove spec version so that these files do not need to be modified by developers * Further docstring improvements and set spec version as an attribute to be used when setting weights * Add license and some docstring improvements * Update README to contain correct TODO files, add note to developer to rename template directory and enforce consistent TODO comments throughout files * Black * Fix imports and logging. Move blacklist and priority abstractmethods to BaseMinerNeuron so that validators do not need to define them; * pylint on major errors, black 79 line limit * run black with 79 line length * update neuron child class names * add spec version as a member of BaseNeuron * don't set_weights on init and add load_state() * add proper enter/exit, don't delete axon, save/load state for vali * handle spec version in base class * set epoch length default 0->5, check if should exit in validator run * don't save/load block, load state in validator init as hint * black * Change epoch length to 100 --------- Co-authored-by: ifrit98 <ifrit98@gmail.com> --------- Co-authored-by: Steffen Cruz <steffenjcruz@gmail.com>
trungthanhnguyen0502
pushed a commit
that referenced
this pull request
Apr 22, 2025
* Update README.md * Update README.md
trungthanhnguyen0502
pushed a commit
that referenced
this pull request
Apr 22, 2025
* Update README.md * Update README.md
trungthanhnguyen0502
pushed a commit
that referenced
this pull request
Apr 22, 2025
Merge pull request #25 from LogicNet-Subnet/main
trungthanhnguyen0502
pushed a commit
that referenced
this pull request
Apr 23, 2025
* WIP refactor for improved workflow abstracitons * Add WIP test and debug validator forward * get miner working * (almost) get validator working * validator working * black formatter * docstrings * tests (WIP) * Remove rewards and unncessary imports. Update forward docstrings * Add axon. Minor reordering and some docstring cleanup * Add miner todo for saving state * Black * Restructure config to separate miner and validator specific args * Black * Change starting scores from ones to zeros * Features/more modular (#27) * Create BaseNeuron class, which takes care of common operations between miner and validator neurons. Also move everything in sync.py to the respective neuron classes and delete * And removes pylint swiftly afterwards * Features/cleanup modular (#31) * Cleanup docs and remove spec version so that these files do not need to be modified by developers * Further docstring improvements and set spec version as an attribute to be used when setting weights * Add license and some docstring improvements * Update README to contain correct TODO files, add note to developer to rename template directory and enforce consistent TODO comments throughout files * Black * Fix imports and logging. Move blacklist and priority abstractmethods to BaseMinerNeuron so that validators do not need to define them; * pylint on major errors, black 79 line limit * run black with 79 line length * update neuron child class names * add spec version as a member of BaseNeuron * don't set_weights on init and add load_state() * add proper enter/exit, don't delete axon, save/load state for vali * handle spec version in base class * set epoch length default 0->5, check if should exit in validator run * don't save/load block, load state in validator init as hint * black * Change epoch length to 100 --------- Co-authored-by: ifrit98 <ifrit98@gmail.com> --------- Co-authored-by: Steffen Cruz <steffenjcruz@gmail.com>
trungthanhnguyen0502
pushed a commit
that referenced
this pull request
Apr 23, 2025
* Update README.md * Update README.md
trungthanhnguyen0502
pushed a commit
that referenced
this pull request
Apr 23, 2025
* Update README.md * Update README.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
update staging