Articles on sayandip18's Bloghttps://blogs.python-gsoc.orgUpdates on different articles published on sayandip18's BlogenSun, 22 Aug 2021 23:37:54 +0000Wrapping up!https://blogs.python-gsoc.org/en/sayandip18s-blog/wrapping-up/This is my final week. Hameer helped me fix another bug and I updated the hypothesis PR. The tensor class is incomplete as of now. I hope to complete it after GSoC ends.sayandiph4@gmail.com (sayandip18)Sun, 22 Aug 2021 23:37:54 +0000https://blogs.python-gsoc.org/en/sayandip18s-blog/wrapping-up/Weekly check-in #10https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-10-13/<h2>What did I do this week?</h2> I fixed the bugs mentioned in the previous blog post. <h2>What is coming up?</h2> More bug fixes. <h2>Did I get stuck?</h2> No.sayandiph4@gmail.com (sayandip18)Sun, 15 Aug 2021 20:28:45 +0000https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-10-13/Weekly check-in #9https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-9-17/<h2>What did I do this week?</h2> John managed to fix the bugs in the cmake code. TACO can now be used by downstream users easily. <h2>Where did I get stuck?</h2> I was unable to contribute and my activity during this time was limited to reading the book. <h2>What is coming up?</h2> The cmake work is now over. I will fix the bugs I detected while transferring the test suite to hypothesis.sayandiph4@gmail.com (sayandip18)Wed, 04 Aug 2021 11:34:45 +0000https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-9-17/Weekly check-in #8https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-8-15/<h2>What did I do this week?</h2> With John's help, I managed to write some code that attempts to make TACO available to downstream users leveraging on the cmake config functionality. <h2>Where did I get stuck?</h2> The changes are not working as expected. TACO is still not available to downstream users. <h2>What is coming up?</h2> Pin-pointing and fixing the issues.sayandiph4@gmail.com (sayandip18)Wed, 04 Aug 2021 11:32:35 +0000https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-8-15/Weekly check-in #7https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-7-23/<h2>What did I do this week?</h2> I managed to modify only a few bits and pieces of the code. However, the changes were not really aligned with our immediate goal and have been stashed to be committed later on. <h2> Where did I get stuck?</h2> There have been a lot of hiccups. Most of my time was spent reading the book. I was not particularly productive in coding. <h2>What is coming up?</h2> TACO headers should be detectable for downstream users using the command find_package().sayandiph4@gmail.com (sayandip18)Wed, 28 Jul 2021 14:29:12 +0000https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-7-23/GSoC blog posthttps://blogs.python-gsoc.org/en/sayandip18s-blog/gsoc-blog-post/Finally, the first evaluations have arrived! The coding period is now halfway through. The 6 weeks so far have been a great experience for me. Here is a brief overview of what I did throughout the time. <ol> <li><a href="https://github.com/pydata/sparse/pull/472">PR 472</a> aims at adding Hypothesis to the test suite. During the course of this PR, we have come across 5 bugs in Sparse that were caught from failing Hypothesis tests. The bugs are <ul> <li><a href="https://github.com/pydata/sparse/issues/481">Issue 481</a></li> <li><a href="https://github.com/pydata/sparse/issues/500">Issue 500</a></li> <li><a href="https://github.com/pydata/sparse/issues/503">Issue 503</a></li> <li><a href="https://github.com/pydata/sparse/issues/505">Issue 505</a></li> <li><a href="https://github.com/pydata/sparse/issues/506">Issue 506</a></li> </ul> </li> <li><a href="https://github.com/pydata/sparse/pull/492">PR 492</a> aims to add the tensor class and relevant tests. The PR is stalled for the time being and will be resumed after the upcoming cmake PR is merged.</li> <li>Cmake: So far, I have attempted twice, albeit unsuccessfully, to get cmake install and build TACO in Sparse. The upcoming cmake PRs will now take care of this.</li> </ol>sayandiph4@gmail.com (sayandip18)Thu, 15 Jul 2021 04:48:46 +0000https://blogs.python-gsoc.org/en/sayandip18s-blog/gsoc-blog-post/Weekly check-in #6https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-6-20/<h2>What did I do this week?</h2> <p>I have started to go through the book "Professional Cmake" which John suggested to read. John has forked the TACO repository where we will be pushing our changes. </p> <p>The implementation of the tensor class is kept aside for now. It will be resumed after the cmake code has been written for Sparse.</p> <h2>What is coming up?</h2> <ol> <li> Studying the cmake code in TACO before making it better. </li> <li> Finishing up the cmake PR in Sparse after the TACO PR is merged.</li> </ol> <h2>Did I get stuck anywhere?</h2> Yes. A lot of concepts in the book are not super clear to me now. But, I will be meeting with John to discuss all of those.sayandiph4@gmail.com (sayandip18)Thu, 15 Jul 2021 04:12:04 +0000https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-6-20/Weekly check-in #5https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-5-18/<h2>What did I do this week? </h2> I met with John and we came up with a plan to improve the cmake code of TACO and then add cmake to Sparse. <h2>What is coming up?</h2> Studying and improving the cmake code. Finishing up the Tensor wrapper PR. <h2>Did I get stuck anywhere?</h2> No.sayandiph4@gmail.com (sayandip18)Tue, 06 Jul 2021 08:35:22 +0000https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-5-18/Weekly check-in #4https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-4-17/<h2>What did I do this week? </h2> I designed the __array_ufunc__ protocol for the tensor class. I had a meeting with Hameer where he suggested some changes. <h2>What is coming up?</h2> Completion of the protocol as per Hameer's suggestions. <h2>Did I get stuck anywhere?</h2> No.sayandiph4@gmail.com (sayandip18)Thu, 01 Jul 2021 12:44:23 +0000https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-4-17/Weekly check-in #3https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-3-16/<h2>What did I do this week? </h2> Added methods to the tensor class and started writing tests. The work is in <a href="https://github.com/pydata/sparse/pull/492">this PR </a>. <h2>What is coming up?</h2> Completing the work in the PR mentioned. <h2>Did I get stuck anywhere?</h2> No.sayandiph4@gmail.com (sayandip18)Mon, 21 Jun 2021 16:18:50 +0000https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-3-16/Weekly check-in #2https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-2-15/<h2>What did I do this week</h2> The first three days were spent figuring out how to correctly configure the scikit-build installation. I had a Gmeet meeting with Hameer Abbasi where we tried to solve the issue. Hameer managed to solve most of the issues barring an issue with the setup.py file. <a href="https://github.com/pydata/sparse/pull/487">The PR</a> has been stalled for the time being. <p>I have made a <a href="https://github.com/pydata/sparse/pull/491">PR</a> to add TACO as a submodule. </p> <p>I am currently working on the implementation of the tensor class. I have started a <a href="https://github.com/pydata/sparse/pull/492">PR</a> on that too. </p> <h2>What is coming up?</h2> Implementation of the tensor functions, which I've compiled a list of. <h2>Did I get stuck anywhere?</h2> <p>Yes. As of now the setup.py issue is bugging me. I am still trying to get the rest of the tests passed in the test suit migration PR. As of now only 15 tests are failing.</p> <p>I spent quite some time trying to figure out how the tensor class will be designed. Getting stuck several times has led to fewer work being done in the previous two weeks than I had hoped. However, I'm getting the hang of it now and hoping to speed up the work in the next week.</p>sayandiph4@gmail.com (sayandip18)Wed, 16 Jun 2021 20:11:40 +0000https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-2-15/Weekly check-in #1https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-1-17/Hello, world! My name is Sayandip Halder. I am a final year undergrad at Jadavpur University. I am working to implement ndarray-compatible API for Pytaco in the Sparse project. I will be implementing the APIs for the tensor and the sparse objects, add tests and finally add documentation for the implemented classes. <h2> 1. What did I do this week? </h2> <p> During the community bonding period I worked on transferring the current pytest-based Sparse test suite to Hypothesis in this <a href="https://github.com/pydata/sparse/pull/472">PR</a>. </p> <p>I went through the documentation of cmake and scikit-build. I started <a href="https://github.com/pydata/sparse/pull/485">this</a> pull request that aims to install and compile taco along during sparse installation. </p> <h2> 2. What is coming up next? </h2> The next week will probably see me implementing the actual API of the combined pytaco sparse project. <h2> 3. Did I get stuck anywhere? </h2> <p>Moving the test suite seemed easy initially but there are several cases which I haven't been able to correctly generate.</p> <p>I was not familiar with cmake and scikit-build so going through the docs for the first time was a challenge. The <a href="https://github.com/pydata/sparse/pull/485">PR</a> needs some more work.</p>sayandiph4@gmail.com (sayandip18)Thu, 10 Jun 2021 01:10:16 +0000https://blogs.python-gsoc.org/en/sayandip18s-blog/weekly-check-in-1-17/