Skip to content

Add jittor #78

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
merged 27 commits into from
Aug 12, 2024
Merged

Add jittor #78

merged 27 commits into from
Aug 12, 2024

Conversation

hishambarakat16
Copy link
Contributor

@hishambarakat16 hishambarakat16 commented Jul 31, 2024

Checklist

  • I've tested that my changes are compatible with the latest version of Tensorflow.
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary.

Motivation and Context

Description

QuantumLiu and others added 27 commits February 18, 2024 13:56
…ode has been adjusted to Jittor for the first 565 lines
Updated Jittor_backend, jittor_nn, core_jittor, jittor_initializers, seperable_conv.py, shape.py
add_Jittor: Passing model tests, Parameter and Module Container test.

Additional Functionality:
1- TrainOneStep integration.
2- Updated core/train_jt to enable accuracy to be measured.
3- Updated Jittor Optimizer: replaced gradient and apply_gradient function with jittors default functions Zero_grad() and Step(). included a new function Set() to set the trainable_weights paramters for the optimizer.
4- Updated Jittor Metrics for Accuracy, Recall, Precision and AUC.
5- Creating Jittor model tutorial file jittor_module_tutorial.py
6- Module Container and Parameter Container: Updated core_jittor ModuleList and ParameterDict to enable OrderedDict intialization which was not available due to the parent class (Jittor Module) initializing Dict by default which caused integration issues. This issue was handled by updating the function and also excluding the parent Module for these functions.

Areas to optimize integration: Enabling Jittor integration to run large model training as currently it is limited in the complexity of NN layers.
@QuantumLiu QuantumLiu merged commit 5b406f3 into main Aug 12, 2024
1 check passed
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