You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by zh...@apache.org on 2026/03/23 08:42:04 UTC

(singa) branch master updated (a64d65fa -> 87d50ebf)

This is an automated email from the ASF dual-hosted git repository.

zhaojing pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/singa.git


    from a64d65fa Merge Dev branch for V 5.0.0
     add 3c6183e0 Add the init file for the implementation of PEFT
     add 01362bb9 Merge pull request #1302 from gzrp/dev-postgresql-peft-init
     add 49a69662 Add the PEFT config file
     add a3de028d Merge pull request #1303 from solopku/patch-16
     add 74f4922d Add the peft registry module
     add fbfb4a34 Merge pull request #1304 from zmeihui/25-5-13-dev
     add 87dbf1ad Add the training file for the peft example
     add 87a8096e Merge pull request #1305 from NLGithubWP/dev-postgresql
     add 5ef89335 Add the running script for the PEFT examples
     add 23cbf6ab Merge pull request #1307 from solopku/patch-17
     add fbdeb191 Update readme.md for the Hetomalogical disease application
     add 152d965b Update README.md for the kidney disease application
     add 7f425427 Update README.md for the Thyroid Eye Disease application
     add c2ddc3e9 Merge pull request #1306 from lzjpaul/25-6-4-dev
     add eee65860 Add the example model folder for SINGA peft
     add fb6a6bbe Merge pull request #1310 from joddiy/dev-postgresql
     add 5a95594b Add the example data folder for SINGA peft
     add 2469c0bd Merge pull request #1308 from NLGithubWP/add_example_data_folder
     add 2f1b9f43 Add the PEFT tuners folder
     add c9948c38 Merge pull request #1312 from lemonviv/add_tuners
     add 3822e427 Add implementations for the PeftModel class
     add 40748b8f Merge pull request #1314 from solopku/patch-18
     add dc6da745 Update the model folder for the PEFT example
     add aaea196d Merge pull request #1315 from gzrp/dev-postgresql
     add 424e8afc Add the test script for the singa peft example
     add b6720a91 Merge pull request #1316 from NLGithubWP/dev-postgresql
     add e1805fa7 Add the cnn model for the singa peft example
     add ef5715e9 Merge pull request #1317 from zlheui/add_cnn_singa_peft_example
     add 21e03735 Add base tuner for peft
     add dfbe32a4 Merge pull request #1318 from gzrp/dev-postgresql
     add 805c38a5 Add the init file for linear lora
     add 50ed1ab5 Merge pull request #1319 from npcmaci/format4
     add 863c3b50 Add the config file for linear lora
     add e6f78c88 Merge pull request #1320 from Zrealshadow/dev-postgresql-patch-8
     add 83670bdb Add the LinearLora Class
     add a11b5ec4 Merge pull request #1321 from lzjpaul/25-8-20-dev
     add 4f1cb1c5 Update the LinearLoRALayer Class
     add 02e0016d Merge pull request #1322 from gzrp/dev-postgresql
     add 17df1308 Add the implementations of tuner for the PEFT example
     add 615de245 Merge pull request #1323 from gzrp/dev-postgresql
     add dc25f298 Add the readme file for Cerebrovascular disease
     add 2e2271b0 Merge pull request #1324 from npcmaci/format6
     add a45c8d1b Add the training script for the Cerebrovascular disease
     add f9c429cf Merge pull request #1326 from serakiepiphany/dev-postgresql
     add e4d058b9 Add the readme file for Candidiasis disease
     add abe77a34 Merge pull request #1327 from npcmaci/format8
     add e85260b7 Add the implementation for the Cerebrovascular disease model
     add 4a7b795d Merge pull request #1328 from npcmaci/format9
     add d2a104a8 Update the implementation for the Cerebrovascular disease model
     add 2edf5110 Merge pull request #1330 from serakiepiphany/dev-postgresql
     add acf0dc8b Add the implementation for the Candidiasis disease model
     add 4250ff58 Merge pull request #1329 from npcmaci/format10
     add e76a1d02 Add the dataset for the Cerebrovascular disease
     add 32a35b7e Merge pull request #1331 from npcmaci/format11
     add 04e5c6a5 Add the dataset for the Candidiasis disease
     add c60f19f4 Merge pull request #1332 from gzrp/dev-postgresql
     add 4ff10085 Update the implementation for the Candidiasis disease model
     add c67fd9fa Merge pull request #1333 from npcmaci/format12
     add 3cb55220 Add the running script for the cerebrovascular disease
     add d2b2080f Merge pull request #1335 from npcmaci/format13
     add 4cacbc43 Add the autograd implementations for the peft example
     add 6530795b Merge pull request #1334 from NLGithubWP/dev-postgresql
     add e6daad0a Add the model implementations for peft
     add 1bf0f6eb Merge pull request #1336 from solopku/patch-19
     add 57bb9b7f Add the run function for candidiasis disease model
     add e7f1c86c Merge pull request #1337 from npcmaci/format15
     add ca987165 Add the running script for the candidiasis disease.
     add cefcd000 Merge pull request #1338 from gzrp/dev-postgresql
     add dfb8952b Update the train file for the  candidiasis disease model
     add b4ccd89b Merge pull request #1339 from lzjpaul/25-9-18-dev
     add 1bff4194 Add the multiprocess implementations for the singa peft
     add fdbd457f Merge pull request #1340 from gzrp/dev-postgresql
     add 839c981e Add the implementation of distributed ResNet for PEFT
     add 7325aa5e Merge pull request #1341 from xiezl/patch-2
     add 02346706 Add the sparsification model in the peft example
     add d74fbe60 Merge pull request #1342 from gzrp/dev-postgresql
     add 20b01206 Add the multiprocess for the peft
     add fa805d18 Merge pull request #1343 from solopku/patch-20
     add 1001e010 Create the dataset for the peft example
     add 3263218b Merge pull request #1344 from lzjpaul/25-10-19-dev
     add f3337a72 Commit message: Add the sequence model for the peft example
     add b8e867be Merge pull request #1345 from gzrp/dev-postgresql
     add 9b7d3701 Update the Data class for the peft example
     add 02cd50e0 Merge pull request #1346 from gzrp/dev-postgresql
     add 5a5a5c44 Update the sequence model of the peft example
     add 4592c751 Merge pull request #1347 from npcmaci/format16
     add 86ae4c1f Add the training script for the sequence model
     add 5c623994 Merge pull request #1348 from Zrealshadow/dev-postgresql-patch-9
     add bf154c7a Add the implementations of the transformer model
     add 5ed4ccc3 Merge pull request #1349 from calmdown539/dev-postgresql
     add ed71da2d Add the implementations for the transformer decoder layer
     add 33ad5654 Merge pull request #1350 from calmdown539/dev-postgresql
     add 00a836be  Add the generative model for the peft example
     add 43838995 Merge pull request #1351 from xiezl/patch-3
     add d813917a Update the TransformerDecoderLayer for the transformer model
     add cca3b0b5 Merge pull request #1352 from calmdown539/dev-postgresql
     add 243fd766 Add the encoder layer for the transformer model
     add 8dcdcba5 Merge pull request #1353 from calmdown539/dev-postgresql
     add c9a06b03 Add the implementations for the TransformerEncoderLayer
     add 15c87940 Merge pull request #1354 from calmdown539/dev-postgresql
     add 026a02da Add the implementations for the MultiHeadAttention Layer
     add 34e85a7e Merge pull request #1355 from calmdown539/dev-postgresql
     add f9852e20 Add the implementations for the ScaledDotProductAttention
     add 25a27974 Merge pull request #1356 from calmdown539/dev-postgresql
     add 0e6b3a59 Add the implementation for the autograd convolutional neural network
     add b65e2442 Merge pull request #1358 from solopku/patch-21
     add 7909461d Add the implementations for the PoswiseFeedForwardNet
     add 7c17a8ea Merge pull request #1357 from gzrp/dev-postgresql
     add 180c0d2d add the traiing script for the autograd convolutional neural network
     add ef65cab8 Merge pull request #1360 from Zrealshadow/dev-postgresql-patch-10
     add 3f745d0a restructure the BloodMnist folder's Readme file
     add 37ae0d39 restructure the BloodMnist folder's ClassDemo file
     add 3a80628e Merge pull request #1359 from NLGithubWP/dev-postgresql
     add 07638078 Add the implementations for the LayerNorm
     add c03e5957 Merge pull request #1362 from dekumylove/2026.01.06
     add bab57f9a Add the implementations for the Linear3D
     add 88a120a1 Merge pull request #1363 from calmdown539/dev-postgresql
     add 6e13964c restructure the BloodMnist folder
     add a530567c Merge pull request #1365 from NLGithubWP/dev-postgresql
     add 463bb1e0 Add the implementations of the autograd resnet model for peft
     add 2589507e Merge pull request #1366 from solopku/patch-22
     add 322f215d Add the implementations of the autograd xceptionet model
     add 8e7b5d95 Merge pull request #1367 from npcmaci/format20
     add dcb25674 Add the training script for the xceptionet
     add 44b37bb3 Merge pull request #1368 from gzrp/dev-postgresql
     add fd4d7451 Add the implementations for the gan model in the peft
     add 56b4f186 Merge pull request #1371 from npcmaci/format21
     add 705d725b Add the implementations for the unsupervised model
     add 63c6247b Merge pull request #1372 from HMS-Formidable/dev-postgresql
     add d1c0de6b Add the implementations for the gan model in the peft
     add a373f2b0 Merge pull request #1374 from xiezl/patch-4
     add 9dff75a0 Fix: correct typos in Python module docstrings
     add 04921926 Merge pull request #1375 from gzrp/dev-postgresql
     add d923d31c Add the implmentation of generative models for PEFT
     add 2a850a67 Merge pull request #1376 from gzrp/dev-postgresql
     add 398ef478 Add the implementation of the utils functions for the generative model
     add 14c9810c Merge pull request #1377 from calmdown539/dev-postgresql
     add e6926391 Update setup.py for V5.1.0
     add f5d2f78f Update meta.yaml for V5.1.0
     add 698eecc7 Update CMakeLists.txt for v 5.1.0
     add a4fb9695 Merge pull request #1378 from lzjpaul/dev-5.1.0
     add fcb1b46d Add the release notes for V 5.1.0
     add ef2ba0c9 Merge pull request #1379 from dekumylove/dev-postgresql
     new 87d50ebf Merge pull request #1380 from apache/dev-postgresql

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 CMakeLists.txt                                     |   6 +-
 RELEASE_NOTES                                      |  29 ++
 .../demos/Classification/BloodMnist/ClassDemo.py   | 270 --------------
 examples/demos/Classification/BloodMnist/Readme.md |  45 ---
 .../demos/Classification/BloodMnist/transforms.py  | 166 ---------
 .../README.md                                      |  15 +-
 .../run.sh                                         |   3 +-
 .../train.py                                       |  97 ++---
 .../README.md                                      |  15 +-
 .../run.sh                                         |   3 +-
 .../train.py                                       |  66 ++--
 .../application/Hematologic_Disease/readme.md      |   2 +-
 .../application/Kidney_Disease/README.md           |   4 +-
 .../application/Thyroid_Eye_Disease/README.md      |   4 +-
 examples/healthcare/data/candidiasis.py            |  55 +++
 examples/healthcare/data/cerebrovascular.py        |  52 +++
 .../models/{cardionet.py => candidiasis_net.py}    |  19 +-
 .../{cardionet.py => cerebrovascular_net.py}       |  19 +-
 .../examples}/autograd/cifar10_multiprocess.py     |   0
 .../examples}/autograd/mnist_cnn.py                |   0
 .../examples}/autograd/mnist_dist.py               |   0
 .../examples}/autograd/mnist_multiprocess.py       |   0
 .../singa_peft/examples/autograd/resnet_cifar10.py | 153 ++++++++
 .../examples}/autograd/resnet_dist.py              |   0
 .../examples}/autograd/sparsification_mnist.py     |   0
 .../examples}/autograd/xceptionnet.py              |   0
 .../examples}/data/cifar10.py                      |   0
 .../examples}/data/mnist.py                        |  15 +-
 .../examples}/model/alexnet.py                     |   0
 .../{rnn => singa_peft/examples/model}/char_rnn.py |   0
 .../examples}/model/cnn.py                         |   2 +-
 .../{gan => singa_peft/examples}/model/gan_mlp.py  |   0
 .../examples/model/gan_utils.py}                   |   0
 .../{gan => singa_peft/examples/model}/lsgan.py    |   0
 .../examples}/model/lsgan_mlp.py                   |   2 +-
 .../examples/model/mlp.py}                         |  40 +--
 .../train.py => singa_peft/examples/model/rbm.py}  |   0
 .../examples/model/trans.py}                       |  77 ++--
 .../{gan => singa_peft/examples/model}/vanilla.py  |   0
 .../__init__.py => singa_peft/examples/run.sh}     |   2 +
 examples/singa_peft/examples/test.py               |  88 +++++
 examples/singa_peft/examples/train.py              | 399 +++++++++++++++++++++
 .../src/singa_peft}/__init__.py                    |  15 +-
 .../src/singa_peft/peft_config.py}                 |  34 +-
 examples/singa_peft/src/singa_peft/peft_model.py   |  86 +++++
 .../singa_peft/src/singa_peft/peft_registry.py     |  52 +++
 .../src/singa_peft/tuners}/__init__.py             |   9 +-
 .../singa_peft/src/singa_peft/tuners/base_tuner.py |  70 ++++
 .../src/singa_peft/tuners/linear_lora}/__init__.py |   9 +-
 .../src/singa_peft/tuners/linear_lora/config.py    |  40 +++
 .../src/singa_peft/tuners/linear_lora/layer.py     | 129 +++++++
 .../src/singa_peft/tuners/linear_lora/tuner.py     |  58 +++
 python/singa/autograd.py                           |   2 +-
 python/singa/opt.py                                |   4 +-
 python/singa/sonnx.py                              |   2 +-
 setup.py                                           |   2 +-
 tool/conda/singa/meta.yaml                         |   2 +-
 57 files changed, 1407 insertions(+), 755 deletions(-)
 delete mode 100644 examples/demos/Classification/BloodMnist/ClassDemo.py
 delete mode 100644 examples/demos/Classification/BloodMnist/Readme.md
 delete mode 100644 examples/demos/Classification/BloodMnist/transforms.py
 copy examples/healthcare/application/{Diabetic_Disease/Diabetic_Readmission_Prediction => Candidiasis_Disease}/README.md (55%)
 copy examples/healthcare/application/{Diabetic_Disease/Diabetic_Readmission_Prediction => Candidiasis_Disease}/run.sh (94%)
 copy examples/healthcare/application/{Diabetic_Disease/Diabetic_Readmission_Prediction => Candidiasis_Disease}/train.py (71%)
 copy examples/healthcare/application/{Diabetic_Disease/Diabetic_Readmission_Prediction => Cerebrovascular_Disease}/README.md (53%)
 copy examples/healthcare/application/{Diabetic_Disease/Diabetic_Readmission_Prediction => Cerebrovascular_Disease}/run.sh (93%)
 copy examples/healthcare/application/{Diabetic_Disease/Diabetic_Readmission_Prediction => Cerebrovascular_Disease}/train.py (81%)
 create mode 100644 examples/healthcare/data/candidiasis.py
 create mode 100644 examples/healthcare/data/cerebrovascular.py
 copy examples/healthcare/models/{cardionet.py => candidiasis_net.py} (88%)
 copy examples/healthcare/models/{cardionet.py => cerebrovascular_net.py} (88%)
 copy examples/{cifar_distributed_cnn => singa_peft/examples}/autograd/cifar10_multiprocess.py (100%)
 copy examples/{cifar_distributed_cnn => singa_peft/examples}/autograd/mnist_cnn.py (100%)
 copy examples/{cifar_distributed_cnn => singa_peft/examples}/autograd/mnist_dist.py (100%)
 copy examples/{cifar_distributed_cnn => singa_peft/examples}/autograd/mnist_multiprocess.py (100%)
 create mode 100644 examples/singa_peft/examples/autograd/resnet_cifar10.py
 copy examples/{cifar_distributed_cnn => singa_peft/examples}/autograd/resnet_dist.py (100%)
 mode change 100755 => 100644
 copy examples/{cifar_distributed_cnn => singa_peft/examples}/autograd/sparsification_mnist.py (100%)
 copy examples/{cifar_distributed_cnn => singa_peft/examples}/autograd/xceptionnet.py (100%)
 copy examples/{cifar_distributed_cnn => singa_peft/examples}/data/cifar10.py (100%)
 copy examples/{cifar_distributed_cnn => singa_peft/examples}/data/mnist.py (81%)
 copy examples/{cifar_distributed_cnn => singa_peft/examples}/model/alexnet.py (100%)
 copy examples/{rnn => singa_peft/examples/model}/char_rnn.py (100%)
 copy examples/{cifar_distributed_cnn => singa_peft/examples}/model/cnn.py (98%)
 mode change 100755 => 100644
 copy examples/{gan => singa_peft/examples}/model/gan_mlp.py (100%)
 copy examples/{gan/utils.py => singa_peft/examples/model/gan_utils.py} (100%)
 copy examples/{gan => singa_peft/examples/model}/lsgan.py (100%)
 copy examples/{gan => singa_peft/examples}/model/lsgan_mlp.py (99%)
 copy examples/{healthcare/models/cardionet.py => singa_peft/examples/model/mlp.py} (81%)
 copy examples/{rbm/train.py => singa_peft/examples/model/rbm.py} (100%)
 mode change 100755 => 100644
 copy examples/{trans/model.py => singa_peft/examples/model/trans.py} (99%)
 copy examples/{gan => singa_peft/examples/model}/vanilla.py (100%)
 copy examples/{hfl/src/proto/__init__.py => singa_peft/examples/run.sh} (90%)
 create mode 100644 examples/singa_peft/examples/test.py
 create mode 100644 examples/singa_peft/examples/train.py
 copy examples/{singa_easy/singa_easy/modules => singa_peft/src/singa_peft}/__init__.py (65%)
 copy examples/{cifar_distributed_cnn/autograd/mnist_multiprocess.py => singa_peft/src/singa_peft/peft_config.py} (59%)
 create mode 100644 examples/singa_peft/src/singa_peft/peft_model.py
 create mode 100644 examples/singa_peft/src/singa_peft/peft_registry.py
 copy examples/{singa_easy/singa_easy/modules => singa_peft/src/singa_peft/tuners}/__init__.py (75%)
 create mode 100644 examples/singa_peft/src/singa_peft/tuners/base_tuner.py
 copy examples/{singa_easy/singa_easy/modules => singa_peft/src/singa_peft/tuners/linear_lora}/__init__.py (74%)
 create mode 100644 examples/singa_peft/src/singa_peft/tuners/linear_lora/config.py
 create mode 100644 examples/singa_peft/src/singa_peft/tuners/linear_lora/layer.py
 create mode 100644 examples/singa_peft/src/singa_peft/tuners/linear_lora/tuner.py


(singa) 01/01: Merge pull request #1380 from apache/dev-postgresql

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zhaojing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/singa.git

commit 87d50ebf64483c6acf6b86084580d0f645634f85
Merge: a64d65fa ef2ba0c9
Author: Zhaojing Luo <zh...@gmail.com>
AuthorDate: Mon Mar 23 16:41:54 2026 +0800

    Merge pull request #1380 from apache/dev-postgresql
    
    Merge Dev for V5.1.0

 CMakeLists.txt                                     |   6 +-
 RELEASE_NOTES                                      |  29 +
 .../demos/Classification/BloodMnist/ClassDemo.py   | 270 ---------
 examples/demos/Classification/BloodMnist/Readme.md |  45 --
 .../demos/Classification/BloodMnist/transforms.py  | 166 ------
 .../application/Candidiasis_Disease/README.md      |  44 ++
 .../application/Candidiasis_Disease/run.sh         |  19 +
 .../application/Candidiasis_Disease/train.py       | 220 ++++++++
 .../application/Cerebrovascular_Disease/README.md  |  44 ++
 .../application/Cerebrovascular_Disease/run.sh     |  19 +
 .../application/Cerebrovascular_Disease/train.py   | 251 +++++++++
 .../application/Hematologic_Disease/readme.md      |   2 +-
 .../application/Kidney_Disease/README.md           |   4 +-
 .../application/Thyroid_Eye_Disease/README.md      |   4 +-
 examples/healthcare/data/candidiasis.py            |  55 ++
 examples/healthcare/data/cerebrovascular.py        |  52 ++
 examples/healthcare/models/candidiasis_net.py      |  80 +++
 examples/healthcare/models/cerebrovascular_net.py  |  80 +++
 .../examples/autograd/cifar10_multiprocess.py      |  43 ++
 examples/singa_peft/examples/autograd/mnist_cnn.py | 304 ++++++++++
 .../singa_peft/examples/autograd/mnist_dist.py     |  25 +
 .../examples/autograd/mnist_multiprocess.py        |  39 ++
 .../singa_peft/examples/autograd/resnet_cifar10.py | 153 +++++
 .../singa_peft/examples/autograd/resnet_dist.py    |  87 +++
 .../examples/autograd/sparsification_mnist.py      |  45 ++
 .../singa_peft/examples/autograd/xceptionnet.py    | 302 ++++++++++
 examples/singa_peft/examples/data/cifar10.py       |  91 +++
 examples/singa_peft/examples/data/mnist.py         |  92 +++
 examples/singa_peft/examples/model/alexnet.py      | 119 ++++
 examples/singa_peft/examples/model/char_rnn.py     | 258 +++++++++
 examples/singa_peft/examples/model/cnn.py          |  90 +++
 examples/singa_peft/examples/model/gan_mlp.py      | 104 ++++
 examples/singa_peft/examples/model/gan_utils.py    |  67 +++
 examples/singa_peft/examples/model/lsgan.py        | 186 +++++++
 examples/singa_peft/examples/model/lsgan_mlp.py    | 101 ++++
 examples/singa_peft/examples/model/mlp.py          |  85 +++
 examples/singa_peft/examples/model/rbm.py          | 137 +++++
 examples/singa_peft/examples/model/trans.py        | 618 +++++++++++++++++++++
 examples/singa_peft/examples/model/vanilla.py      | 175 ++++++
 examples/singa_peft/examples/run.sh                |  21 +
 examples/singa_peft/examples/test.py               |  88 +++
 examples/singa_peft/examples/train.py              | 399 +++++++++++++
 examples/singa_peft/src/singa_peft/__init__.py     |  34 ++
 examples/singa_peft/src/singa_peft/peft_config.py  |  33 ++
 examples/singa_peft/src/singa_peft/peft_model.py   |  86 +++
 .../singa_peft/src/singa_peft/peft_registry.py     |  52 ++
 .../singa_peft/src/singa_peft/tuners/__init__.py   |  28 +
 .../singa_peft/src/singa_peft/tuners/base_tuner.py |  70 +++
 .../src/singa_peft/tuners/linear_lora/__init__.py  |  28 +
 .../src/singa_peft/tuners/linear_lora/config.py    |  40 ++
 .../src/singa_peft/tuners/linear_lora/layer.py     | 129 +++++
 .../src/singa_peft/tuners/linear_lora/tuner.py     |  58 ++
 python/singa/autograd.py                           |   2 +-
 python/singa/opt.py                                |   4 +-
 python/singa/sonnx.py                              |   2 +-
 setup.py                                           |   2 +-
 tool/conda/singa/meta.yaml                         |   2 +-
 57 files changed, 5094 insertions(+), 495 deletions(-)