Pytorch
NumPy
Our great sponsors
Pytorch | NumPy | |
---|---|---|
334 | 272 | |
77,544 | 26,290 | |
2.1% | 1.6% | |
10.0 | 10.0 | |
4 days ago | about 23 hours ago | |
Python | Python | |
BSD 1-Clause License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Pytorch
-
Tinygrad: Hacked 4090 driver to enable P2P
fyi should work on most 40xx[1]
[1] https://github.com/pytorch/pytorch/issues/119638#issuecommen...
-
The Elements of Differentiable Programming
Sure, right here: https://github.com/pytorch/pytorch/blob/main/torch/autograd/...
Here's the documentation: https://pytorch.org/tutorials/intermediate/forward_ad_usage....
> When an input, which we call “primal”, is associated with a “direction” tensor, which we call “tangent”, the resultant new tensor object is called a “dual tensor” for its connection to dual numbers[0].
-
Functions and operators for Dot and Matrix multiplication and Element-wise calculation in PyTorch
*My post explains Dot, Matrix and Element-wise multiplication in PyTorch.
-
Dot vs Matrix vs Element-wise multiplication in PyTorch
In PyTorch with @, dot() or matmul():
-
Building a GPT Model from the Ground Up!
import torch # we use PyTorch: https://pytorch.org data = torch.tensor(encode(text), dtype=torch.long) print(data.shape, data.dtype) print(data[:1000]) # the 1000 characters we looked at earlier will to the GPT look like this
-
Open Source Ascendant: The Transformation of Software Development in 2024
AI's Open Embrace Artificial intelligence (AI) and machine learning (ML) are increasingly leveraging open-source frameworks like TensorFlow [https://www.tensorflow.org/] and PyTorch [https://pytorch.org/]. This democratization of AI tools is driving innovation and lowering entry barriers across industries.
-
Best AI Tools for Students Learning Development and Engineering
Which label applies to a tool sometimes depends on what you do with it. For example, PyTorch or TensorFlow can be called a library, a toolkit, or a machine-learning framework.
-
Element-wise vs Matrix vs Dot multiplication
In PyTorch with * or mul(). ` or mul()` can multiply 0D or more D tensors by element-wise multiplication:
-
Bash Debugging
When I was at Facebook, I wrote a Python script to extract shell scripts from GitHub Actions workflows, so we could run them all through ShellCheck: https://github.com/pytorch/pytorch/blob/69e0bda9996865e319db...
-
Releasing The Force Of Machine Learning: A Novice’s Guide 😃
PyTorch: An open-source deep learning framework that facilitates dynamic computational graphs, making it flexible and efficient for research and production.
NumPy
-
Dot vs Matrix vs Element-wise multiplication in PyTorch
In NumPy with @, dot() or matmul():
- NumPy 2.0.0 Beta1
-
Element-wise vs Matrix vs Dot multiplication
In NumPy with * or multiply(). ` or multiply()` can multiply 0D or more D arrays by element-wise multiplication.
- JSON dans les projets data science : Trucs & Astuces
-
JSON in data science projects: tips & tricks
Data science projects often use numpy. However, numpy objects are not JSON-serializable and therefore require conversion to standard python objects in order to be saved:
-
Introducing Flama for Robust Machine Learning APIs
numpy: A library for scientific computing in Python
- help with installing numpy, please
-
A Comprehensive Guide to NumPy Arrays
Python has become a preferred language for data analysis due to its simplicity and robust library ecosystem. Among these, NumPy stands out with its efficient handling of numerical data. Let’s say you’re working with numbers for large data sets—something Python’s native data structures may find challenging. That’s where NumPy arrays come into play, making numerical computations seamless and speedy.
-
Why do all the popular projects use relative imports in __init__ files if PEP 8 recommends absolute?
I was looking at all the big projects like numpy, pytorch, flask, etc.
-
NumPy 2.0 development status & announcements: major C-API and Python API cleanup
I wish the NumPy devs would more thoroughly consider adding full fluent API support, e.g. x.sqrt().ceil(). [Issue #24081]
What are some alternatives?
Flux.jl - Relax! Flux is the ML library that doesn't make you tensor
SymPy - A computer algebra system written in pure Python
mediapipe - Cross-platform, customizable ML solutions for live and streaming media.
Pandas - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
Apache Spark - Apache Spark - A unified analytics engine for large-scale data processing
SciPy - SciPy library main repository
flax - Flax is a neural network library for JAX that is designed for flexibility.
blaze - NumPy and Pandas interface to Big Data
tinygrad - You like pytorch? You like micrograd? You love tinygrad! ❤️ [Moved to: https://github.com/tinygrad/tinygrad]
Numba - NumPy aware dynamic Python compiler using LLVM
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).