Skip to content

Reformat of the Server code #1042

Closed
Eugene-hu wants to merge 13 commits intonobunagafrom
server_reformat
Closed

Reformat of the Server code #1042
Eugene-hu wants to merge 13 commits intonobunagafrom
server_reformat

Conversation

@Eugene-hu
Copy link
Contributor

@Eugene-hu Eugene-hu commented Jan 4, 2023

The server now follows the same format as the core validator and is a single class.

List of changes:

  • Removed run.py from the core_server and moved it into the main class
  • All functions are now part of the core_server.neuron class
  • Removed the default backwards from axon, now instead expects user to the attach their own backward function
  • Added additional documentation

@Eugene-hu Eugene-hu changed the base branch from master to nobunaga January 4, 2023 20:39
Copy link
Contributor

@isabella618033 isabella618033 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

"""
transformers.set_seed(0)
transformers.enable_full_determinism(0)
print('forward called checkpoint')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a debug logging or just temporary?

@Eugene-hu Eugene-hu closed this Feb 2, 2023
@ifrit98 ifrit98 deleted the server_reformat branch May 24, 2023 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants