Trending in Questions
One of my LiveView view’s has a very heavy javascript dependency so I want to avoid loading it for every page on the site, while still us...
New
Hi all!
I know that quite a few people use Phoenix LiveView but it is hard to get a more up-to-date list of folks/companies using it. I ...
New
Hello everyone!
I am new to coding with Elixir/Erlang. And i am looking for some utilities for fuzzing testing like AFL++.
Does anyone ...
New
I’m very new to Elixir, so sorry if this is a silly question:
I am wondering what happens to the mailbox of a process when the machine i...
New
I load tested a plain Phoenix chat app backed by Postgres with 100 million messages in it, everything on default settings, to see what br...
New
Background
When trying to execute mix release on a Windows 11 machine for a Phoenix project I get the following error:
* assembling mark...
New
Is there a way to import record definitions in the iex shell for pretty printing (similar to the rr command in the erl shell)? This woul...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hi everyone :waving_hand:
I’ve been working on PhiaUI, an open-source UI component library for Phoenix LiveView, and I wanted to share i...
New
On November 23, 2026, an unauthorized third party exploited a vulnerability in hex.pm (CVE-2026-129514, CVSS 10.0) that let them run comm...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #code-sync
- #discussion
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #ai
- #authentication
- #elixirconf-us
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-eu
- #distillery
- #security
- #processes
- #api
- #forms
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
crova
I know nothing about this subject but every time I listen to José I’m impressed by him.
José, você é o cara !
lud
I had absolutely zero knowledge in machine learning, and that was actually a pretty good introductory class, despite its goal being only to show Nx features.
kokolegorille
For those having some troubles compiling EXLA on Ubuntu 20.4, I found those commands to be helpful.
The link is because it’s looking for python, not python3.
UPDATE: This is not the recommended way, see next post. It’s just a hack to get EXLA compilation working.
Bazel is also available as a plugin for asdf-vm. You need to use 3.1.0 instead of the latest 4.0.0
And now with all in place, I need to find what to do with it
lud
For MacOs Mojave asdf wa the simplst solution for bazel too.
slouchpie
I have worked with Python for a few years and I can absolutely say this is not a good idea:
You should instead make a virtual environment and associate it with whatever directory you occupy while playing with nx.
For example, here is how I do it using
pyenv(GitHub - pyenv/pyenv: Simple Python version management · GitHub):If you have set up
pyenvproperly then being in thenx_fundirectory meanspythonautomatically points to thepython3shim for your virtual environment.It is dangerous to override system python files which are often used under-the {:exla, “~> 0.1.0-dev”, github: “elixir-nx/nx”, sparse: “exla”},
{:nx, “~> 0.1.0-dev”, github: “elixir-nx/nx”, sparse: “nx”, override: true}-hood by a surprising number of packages. I advise never touching your system python files (let
aptoryumorapkorbrewhandle those) and always use a virtual environment when you want topip install.The
bazelinstructions are good though. I also recommendasdf.Update: I got a chance to try this and I want to add something. If using
pyenv, you need to dopyenv global nx(if you followed the instructions above) in order formix deps.compile exlato find numpy. I still recommend doing it this way since you can easily switch you global python version back when you are finished playing withnx. It’s still compiling for me…kokolegorille
I am not a python guy, I will follow your advice
Thanks for reporting.
slouchpie
It took 7 hours for EXLA to compile on my laptop…
patrickdm
Ouch.. that hurts. I had to go through at least 7 attempts before successfully compiling EXLA, each time with different errors. As last hope I kept insisting on mix compile and then after three rounds of it I could get it compiled.
) and I had to try half the afternoon to get it compiled back again. The compilation process takes about 20 minutes on my machine.
I’m on Ubuntu 20.04, the successfull compilation attempt used bazel 3.2.0 through bazelisk (installed with npm) and I used python_is_python3 apt package to alias python.
An attempt to compile with cuda support destroyed a first successful build (
seanmor5
Hi,
If you all can report to me some of your compilation problems and troubleshoot steps, I can put together a comprehensive guide for building EXLA so there are no more issues. Also please note that we fortunately no longer have the NumPy dependency
lud
Is there a good article about the mechanisms used in the demo? Why do we use
dot, why is thelossfunction implemented that way, why thegradis implemented that way, etc. And why do we add a single hidden layer, and why we add it, etc.I can find a lot of tutorials that explains how to code it, just as José did, but not an article that explains the choices in a not-too-complicated way. Then there are the hard-math papers. I mean I am not a maths person ; I don’t mind diving into maths when it is necessary but all docs I found expect me to be able to reduce integrals and multiply matrices like I breathe.
I understand that maybe this topic assumes the developers have a decent math knowledge, but in the end, the code is able to predict numbers (i.e. it works) with just 2-3 math functions so that should not be that hard to grasp with a good explanation.