graphsignal-python
Keras
graphsignal-python | Keras | |
---|---|---|
30 | 78 | |
200 | 61,044 | |
1.0% | 0.5% | |
8.1 | 9.9 | |
22 days ago | about 20 hours ago | |
Python | Python | |
Apache License 2.0 | Apache License 2.0 |
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.
graphsignal-python
-
Show HN: Python Monitoring for LLMs, OpenAI, Inference, GPUs
We've built it for apps that use LLMs and other ML models. The lightweight Python agent autoinstruments OpenAI, LangChain, Banana, and other APIs and frameworks. Basically by adding one line of code you'll be able to monitor and analyze latency, errors, compute and costs. Profiling using CProfile, PyTorch Kineto or Yappi can be enabled if code-level statistics are necessary.
Here is a short demo screencast for a LangChain/OpenAI app: https://www.loom.com/share/17ba8aff32b74d74b7ba7f5357ed9250
In terms of data privacy, we only send metadata and statistics to https://graphsignal.com. So no raw data, such as prompts or images leave your app.
-
Show HN: Python Monitoring for AI: LLMs, OpenAI, Inference, GPUs
Hi HN. I'm excited to share our AI-focused application monitoring and analytics for Python!
We've built it for apps that use LLMs and other ML models. The lightweight Python agent autoinstruments OpenAI, LangChain, Banana, and other APIs and frameworks. Basically by adding one line of code you'll be able to monitor and analyze latency, errors, compute and costs. Profiling using CProfile, PyTorch Kineto or Yappi can be enabled if code-level statistics are necessary.
Here is a short demo screencast for a LangChain/OpenAI app: https://www.loom.com/share/17ba8aff32b74d74b7ba7f5357ed9250
In terms of data privacy, we only send metadata and statistics to https://graphsignal.com. So no raw data, such as prompts or images leave your app.
We'd love to hear your feedback or ideas!
-
[N] Monitor OpenAI API Latency, Tokens, Rate Limits, and More with Graphsignal
Here is a blog post with more info and screenshots: Monitor OpenAI API Latency, Tokens, Rate Limits, and More. And the GitHub repo.
-
Monitor OpenAI API Latency, Tokens, Rate Limits, and More
Relying on hosted inference with LLMs, such as via OpenAI API, in production has some challenges. The use of APIs should be designed around unstable latency, rate limits, token counts, costs, etc. To make it observable we've built tracing and monitoring specifically for AI apps. For example, the OpenAI Python library is monitored automatically, no need to do anything. We'll be adding support for more libraries. If you'd like to give it try, see https://github.com/graphsignal/graphsignal or the docs.
-
[N] Easily profile FastAPI model serving
We've added a simple way to profile any model serving endpoint, including FastAPI, to identify bottlenecks and make inference (incl. data processing) faster, especially for big models and data. Wanted to share it here in case someone is struggling with profiling and monitoring of deployed code and models. By default, generic Python profiler will automatically profile some of the inferences (and measure all inferences). You can also specify other profilers for PyTorch, TensorFlow, Jax and ONNX Runtime. All profiles and metrics will be available on the SaaS dashboard, no need to setup anything. A couple of links to get started: Repo: https://github.com/graphsignal/graphsignal FastAPI example: https://graphsignal.com/docs/integrations/fastapi/ Happy for any feedback!
-
[P] Using Sparsity & Clustering to compress your models: Efficient Deep Learning Book
Thanks for sharing! That's a very timely topic. I've actually created a profiler to track and analyze inference optimizations, i.e. enable the optimize-verify-evaluate loop.
-
[N] Accuracy-Aware Inference Optimization Tracking and Profiling
To address all these problems, we've built a tool to track inference optimizations, see how accuracy is affected, verify that the optimizations were applied and locate any bottlenecks for further improvements. All in one place.
- Show HN: Graphsignal – ML profiler to speed up training and inference
Keras
-
Library for Machine learning and quantum computing
Keras
-
My Favorite DevTools to Build AI/ML Applications!
As a beginner, I was looking for something simple and flexible for developing deep learning models and that is when I found Keras. Many AI/ML professionals appreciate Keras for its simplicity and efficiency in prototyping and developing deep learning models, making it a preferred choice, especially for beginners and for projects requiring rapid development.
- Release: Keras 3.3.0
-
Getting Started with Gemma Models
After setting the variables for the environment, the next step is to install dependencies. To use Gemma, KerasNLP is the dependency used. KerasNLP is a collection of natural language processing (NLP) models implemented in Keras and runnable on JAX, PyTorch, and TensorFlow.
-
Keras 3.0
All breaking changes are listed here: https://github.com/keras-team/keras/issues/18467
You can use this migration guide to identify and fix each of these issues (and further, making your code run on JAX or PyTorch): https://keras.io/guides/migrating_to_keras_3/
- Keras 3: A new multi-back end Keras
-
Can someone explain how keras code gets into the Tensorflow package?
I'm guessing the "real" keras code is coming from the keras repository. Is that a correct assumption? How does that version of Keras get there? If I wanted to write my own activation layer next to ELU, where exactly would I do that?
-
How popular are libraries in each technology
Other popular machine learning tools include PyTorch, Keras, and Scikit-learn. PyTorch is an open-source machine learning library developed by Facebook that is known for its ease of use and flexibility. Keras is a high-level neural networks API that is written in Python and is known for its simplicity. Scikit-learn is a machine learning library for Python that is used for data analysis and data mining tasks.
-
List of AI-Models
Click to Learn more...
-
Official Question Thread! Ask /r/photography anything you want to know about photography or cameras! Don't be shy! Newbies welcome!
I'm not aware of anything off-the-shelf, but if you have sufficient programming experience, one way to do this would be to build a large dataset of reference images and pictures and use something like keras to train a convolutional neural network on them.
What are some alternatives?
whylogs - An open-source data logging library for machine learning models and data pipelines. 📚 Provides visibility into data quality & model performance over time. 🛡️ Supports privacy-preserving data collection, ensuring safety & robustness. 📈
MLP Classifier - A handwritten multilayer perceptron classifer using numpy.
metaflow - :rocket: Build and manage real-life ML, AI, and data science projects with ease!
scikit-learn - scikit-learn: machine learning in Python
second-brain-agent - 🧠 Second Brain AI agent
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
Imaginer - Imagine with AI
xgboost - Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Dask, Flink and DataFlow
tensor-sensor - The goal of this library is to generate more helpful exception messages for matrix algebra expressions for numpy, pytorch, jax, tensorflow, keras, fastai.
tensorflow - An Open Source Machine Learning Framework for Everyone
PhoneTracer - Gets GPS location of phone numbers
Prophet - Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.