DirectML
onnx
Our great sponsors
DirectML | onnx | |
---|---|---|
26 | 38 | |
1,944 | 16,858 | |
4.9% | 2.4% | |
7.6 | 9.5 | |
3 days ago | 3 days ago | |
Python | Python | |
MIT License | 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.
DirectML
- Microsoft DirectML: high-performance DirectX 12 library for ML
-
AMD Radeon RX 7600 XT Linux Performance
Only reason I am using the DirectML fork of Automatic1111 is because I am on Windows and pytorch hasn't caught up to RocM 6.
DirectML is fully supported path on Windows and is support by Microsoft et al. (https://github.com/microsoft/DirectML).
Everyone is moving off Cuda as quickly as possible not because the other are better, per se, but because it is easier and cheaper.
-
Train issue on AMD card
See: https://github.com/microsoft/DirectML/issues/400
-
'Everyone and Their Dog is Buying GPUs,' Musk Says as AI Startup Details Emerge
ONNX (https://onnx.ai/ https://github.com/onnx/onnx) is an alternative to the basic CUDA model, using Direct-ML ( https://learn.microsoft.com/en-us/windows/ai/directml/dml-intro https://github.com/microsoft/DirectML), which is a microsoft-backed open approach. That is what has allowed AMD cards, even slightly older ones, to join in on the machine learning fun.
-
AMD ROCm: A Wasted Opportunity
It's really shocking that AMD fails to extend support natively.
Workarounds such as DirectML claim to be the answer in unifying people with NVIDIA or AMD GPUs, but thus far it hasn't, with issues such as [this](https://github.com/microsoft/DirectML/issues/58) constantly popping up.
As nicolaslem points out, Arch does have community packages for ROCm, but that, unsurprisingly fails to lend support to many consumer GPUs. The best community support I have come across are [rocm-opencl](https://copr.fedorainfracloud.org/coprs/mystro256/rocm-openc... [rocm-hip](https://copr.fedorainfracloud.org/coprs/mystro256/rocm-hip/) for Fedora maintained by [mystro256](https://github.com/Mystro256), who is a single AMD employee.Thanks to him, my AMD GPU (Radeon 6800XT) hasn't completely gone to waste, and I was able to tinker with some things (Gaming isn't really up my alley).
Lately however, after beginning to work on DGX V100s and A100s, and using my older laptop with a GTX 1650, it was apparent how simple setting up CUDA was, and how easily I could experiment with it on my consumer card. Many have spoken about similar stories, and here's mine. Really hope AMD does a whole lot more, and doesn't exclusively keep their powerful GPUs for gaming.
-
nn-morse neural network mentioned in ftroop by VK6MIK
You can use a NVidia gpu or the cpu to do the training but the cpu training is very very slow. For AMD graphics cards like the AMD Radeon VII the only solution is pytorch_directml but unfortunately there appears to be a bug that stops it working nn-morse and torch-directml memory leak? · Issue #355
- Trying to get my computer set up for ML
- ROCm installation on Acer Aspire 3
-
Microsoft’s PyTorch-DirectML Release-2 Now Works with Python Versions 3.6, 3.7, 3.8, and Includes Support for GPU Device Selection to Train Machine Learning Models
Github: https://github.com/microsoft/DirectML
- Dying Light 2 is 30 fps on Series S 😴
onnx
- Onyx, a new programming language powered by WebAssembly
-
From Lab to Live: Implementing Open-Source AI Models for Real-Time Unsupervised Anomaly Detection in Images
Once your model has been trained and validated using Anomalib, the next step is to prepare it for real-time implementation. This is where ONNX (Open Neural Network Exchange) or OpenVINO (Open Visual Inference and Neural network Optimization) comes into play.
-
Object detection with ONNX, Pipeless and a YOLO model
ONNX is an open format from the Linux Foundation to represent machine learning models. It is becoming extensively adopted by the Machine Learning community and is compatible with most of the machine learning frameworks like PyTorch, TensorFlow, etc. Converting a model between any of those formats and ONNX is really simple and can be done in most cases with a single command.
-
38TB of data accidentally exposed by Microsoft AI researchers
ONNX[0], model-as-protosbufs, continuing to gain adoption will hopefully solve this issue.
[0] https://github.com/onnx/onnx
-
Reddit’s LLM text model for Ads Safety
Running inference for large models on CPU is not a new problem and fortunately there has been great development in many different optimization frameworks for speeding up matrix and tensor computations on CPU. We explored multiple optimization frameworks and methods to improve latency, namely TorchScript, BetterTransformer and ONNX.
-
Operationalize TensorFlow Models With ML.NET
ONNX is a format for representing machine learning models in a portable way. Additionally, ONNX models can be easily optimized and thus become smaller and faster.
-
Onnx Runtime: “Cross-Platform Accelerated Machine Learning”
I would say onnx.ai [0] provides more information about ONNX for those who aren’t working with ML/DL.
[0] https://onnx.ai
-
Does ONNX Runtime not support Double/float64?
It's not clear why you thing this sub is appropriate for some third party system with a Python interface. Why don't you try their discussion group: https://github.com/onnx/onnx/discussions
-
Async behaviour in python web frameworks
This kind of indirection through standardisation is pretty common to make compatibility between different kinds of software components easier. Some other good examples are the LSP project from Microsoft and ONNX to represent machine learning models. The first provides a standard so that IDEs don't have to re-invent the weel for every programming language. The latter decouples training frameworks from inference frameworks. Going back to WSGI, you can find a pretty extensive rationale for the WSGI standard here if interested.
- Pickle safety in Python
What are some alternatives?
text2image-gui - Somewhat modular text2image GUI, initially just for Stable Diffusion
onnxruntime - ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
civitai - A repository of models, textual inversions, and more
stable-diffusion-webui - Stable Diffusion web UI
stable-diffusion-webui - Stable Diffusion web UI [Moved to: https://github.com/Sygil-Dev/sygil-webui]
sentence-transformers - Multilingual Sentence & Image Embeddings with BERT
stable-diffusion - A latent text-to-image diffusion model
stable-diffusion-webui - Stable Diffusion web UI [Moved to: https://github.com/sd-webui/stable-diffusion-webui]
iree - A retargetable MLIR-based machine learning compiler and runtime toolkit.
tensorflow-directml - Fork of TensorFlow accelerated by DirectML
hummingbird - Hummingbird compiles trained ML models into tensor computation for faster inference.
invisible-watermark - python library for invisible image watermark (blind image watermark)