sdk-python
cupy
sdk-python | cupy | |
---|---|---|
8 | 22 | |
410 | 7,800 | |
10.2% | 1.4% | |
8.2 | 9.9 | |
5 days ago | 7 days ago | |
Python | Python | |
MIT License | MIT License |
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.
sdk-python
-
The Many Problems with Celery
My problem with Temporal is that it doesn't support gevent https://github.com/temporalio/sdk-python/issues/59
-
Pydantic V2 rewritten in Rust is 5-50x faster than Pydantic V1
> Unless Pydantic is downloading all OS binaries with the package and loading the right one at runtime, this would become a "problem" as well.
Nah, it's not that bad. I built a Rust-backed Python library used by many [0], and with setuptools-rust (maturin wasn't flexible enough at the time) and cibuildwheel and GH actions, the wheels are built/shipped with the shared libraries embedded and the end user never has to worry or even be aware of its presence.
Pydantic has already been shipping a binary mode with an option for pure Python, so maybe they'll keep the pure Python mode around.
0 - https://github.com/temporalio/sdk-python
-
Python SDK: The Release
Either way, let us know how it goes! Building something cool? We’d love to hear about it! Our forum has a new Show & Tell section. If you want to share, we’ll send you some sweet swag. Have feedback on how we can do better? We want to know that too. Raise an issue in the SDK or samples repos, or send us an email ([email protected]).
-
Making Python fast for free – adventures with mypyc
We built to logic backing the Temporal Python SDK[0] in Rust and leverage PyO3. Unfortunately Maturin didn't let us do some of the advanced things we needed to do for wheel creation (at the time, unsure now), so we use setuptools-rust with Poetry.
0 - https://github.com/temporalio/sdk-python
- GitHub - temporalio/sdk-python: Temporal Python SDK
- Temporal Python SDK Beta 2 – Fault-tolerant asyncio-based workflows
-
Red Engine – modern scheduling framework for Python applications
Going to shamelessly plug Temporal’s Python SDK which was designed for asyncio.
https://github.com/temporalio/sdk-python
Disclaimer: I work for Temporal
-
Temporal raises $100M Series B to invest in open source and communities
hey sorry for taking a while to respond, was busy with personal stuff and hope you see this.
1. yes. its on the order of months. start watching https://github.com/temporalio/sdk-python
2. temporal itself will not produce something like that, because we much rather have a lively community of third party maintainers/startups do that and be their supporters rather than competitors. interested?
cupy
- CuPy: NumPy and SciPy for GPU
-
Keras 3.0
I did not expect anything interesting, but this is actually cool.
> A full implementation of the NumPy API. Not something "NumPy-like" — just literally the NumPy API, with the same functions and the same arguments.
I suppose it's like https://cupy.dev/
- Progress on No-GIL CPython
-
Fedora 40 Eyes Dropping Gnome X11 Session Support
What was the difference in runtime performance, and did you try CuPy?
https://github.com/cupy/cupy :
> CuPy is a NumPy/SciPy-compatible array library for GPU-accelerated computing with Python. CuPy acts as a drop-in replacement to run existing NumPy/SciPy code on NVIDIA CUDA or AMD ROCm platforms.
Projects using CuPy:
-
How does one optimize their functions?
It's more effort though. You will likely have to format your data in specific ways for the GPU to efficiently process it. I've done this kind of thing with PyTorch tensors, but there are also math-specific libraries like CuPy. If you only have millions, Numpy should be fine.
-
Speed Up Your Physics Simulations (250x Faster Than NumPy) Using PyTorch. Episode 1: The Boltzmann Distribution
I'd also recommend checking out CuPy which aims to fully re-implement the Numpy api for CUDA GPUs, while taking advantage of Nvidia's specialized libraries like cuBLAS, cuRAND, cuSOLVER etc. The tradeoff being that it only works with Nvidia GPUs.
-
ELI5: Why doesn't numpy work on GPUs?
u/Spataner's answer is great. If you WANT GPU-enabled numpy functions, I would check out CuPy: https://cupy.dev/
-
Help!!! Training neural net in vs code
Not sure how VS Code is relevant here as it's just you IDE, shouldn't have any influence on this. Now, seeing as you're using numpy (which has no gpu support), you could try and use something like CuPy in place of numpy. I'm not sure about the interoperability because I've never used this myself, but if you're lucky it could be as simple as just replacing all numpy calls with the same CuPy calls (or replacing all import numpy as np with import cupy as np ).
-
What's the best thing/library you learned this year ?
Cupy replicates the numpy and scipy APIs but runs on the GPU.
-
Making Python fast for free – adventures with mypyc
For that, you can use cupy[0], PyTorch[1] or Tensorflow[2]. They all mimic the numpy's API with the possibility to use your GPU.
[0] https://cupy.dev/
What are some alternatives?
sdk-java - Temporal Java SDK
cunumeric - An Aspiring Drop-In Replacement for NumPy at Scale
arq - Fast job queuing and RPC in python with asyncio and redis.
Numba - NumPy aware dynamic Python compiler using LLVM
matrix-mul-test - Testing matmul performance on the M1 Mac
scikit-cuda - Python interface to GPU-powered libraries
samples-python - Samples for working with the Temporal Python SDK
TensorFlow-object-detection-tutorial - The purpose of this tutorial is to learn how to install and prepare TensorFlow framework to train your own convolutional neural network object detection classifier for multiple objects, starting from scratch
shiv - shiv is a command line utility for building fully self contained Python zipapps as outlined in PEP 441, but with all their dependencies included.
bottleneck - Fast NumPy array functions written in C
sdk-java - The official Java library for the Modzy Machine Learning Operations (MLOps) Platform
dpnp - Data Parallel Extension for NumPy