probml / probml-utils Goto Github PK
View Code? Open in Web Editor NEWUtilities for probabilistic ML
License: MIT License
Utilities for probabilistic ML
License: MIT License
jax.experimental.optimizers
had long been a deprecated alias of jax.example_libraries.optimizers before being removed in 0.3.16 (which is not versioned in requirements*.txt
).
Solution would be to replace:
from jax.experimental import optimizers
with:
from jax.example_libraries import optimizers
Hello;
I can't clone probml_utils from githup due to deprecation issues with setup.py it seems. What is another way to use files in Jupyter notebook? I'm new to Jupyter notebook so I can't seem to resolve. I tried just running code for the Plot of various activation functions in Neural network but section of code that imports from githup will just not work.
Hi,
Thanks a lot for developing probml-util. The package installation fails currently in colab with the following error.
pip install -qq git+https://github.com/probml/probml-utils.git
Error --
ERROR: Could not build wheels for numba, llvmlite, which is required to install pyproject.toml-based projects
error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/yangjing/miniconda3/envs/probml/include -arch arm64 -fPIC -O2 -isystem /Users/yangjing/miniconda3/envs/probml/include -arch arm64 -I/Users/yangjing/miniconda3/envs/probml/lib/python3.10/site-packages/numpy/core/include -I/Users/yangjing/miniconda3/envs/probml/include/python3.10 -c numba/_dispatcher.c -o build/temp.macosx-11.1-arm64-cpython-310/numba/_dispatcher.o" failed with exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numba
Running setup.py clean for numba
Building wheel for llvmlite (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
running bdist_wheel
/Users/yangjing/miniconda3/envs/probml/bin/python /private/var/folders/_9/xdt1l8b142z4_h7d1snnr5440000gn/T/pip-install-_w1xztsd/llvmlite_ee72896449ee4f26972d49632460a140/ffi/build.py
LLVM version... 14.0.6
Traceback (most recent call last):
File "/private/var/folders/_9/xdt1l8b142z4_h7d1snnr5440000gn/T/pip-install-_w1xztsd/llvmlite_ee72896449ee4f26972d49632460a140/ffi/build.py", line 191, in <module>
main()
File "/private/var/folders/_9/xdt1l8b142z4_h7d1snnr5440000gn/T/pip-install-_w1xztsd/llvmlite_ee72896449ee4f26972d49632460a140/ffi/build.py", line 185, in main
main_posix('osx', '.dylib')
File "/private/var/folders/_9/xdt1l8b142z4_h7d1snnr5440000gn/T/pip-install-_w1xztsd/llvmlite_ee72896449ee4f26972d49632460a140/ffi/build.py", line 143, in main_posix
raise RuntimeError(msg)
RuntimeError: Building llvmlite requires LLVM 10.0.x or 9.0.x, got '14.0.6'. Be sure to set LLVM_CONFIG to the right executable path.
Read the documentation at http://llvmlite.pydata.org/ for more information about building llvmlite.
error: command '/Users/yangjing/miniconda3/envs/probml/bin/python' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for llvmlite
Running setup.py clean for llvmlite
Successfully built probml-utils
Failed to build numba llvmlite
ERROR: Could not build wheels for numba, llvmlite, which is required to install pyproject.toml-based projects
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.