Comments (2)
Yes you can jit compile that part just like any other, just include it in your larger chunk of jitted code.
Or if you want to jit that part on its own you can do
predict = objax.Jit(model.predict, model.vars() + opt_hypers.vars())
from bayesnewton.
Assuming the above solves this issue. If not, feel free to re-open.
from bayesnewton.
Related Issues (20)
- Addition of a Squared Exponential Kernel? HOT 7
- Cannot run demo, possible incompatibility with latest Jax HOT 4
- Double Precision Issues HOT 1
- Missing data for air_quality demo HOT 1
- kernels.py line 406
- GPU training HOT 1
- Periodic Kernel outputs wrong period HOT 5
- Input-dependent noise model HOT 1
- energy function can output NaN if compiled HOT 1
- Latest versions of JAX and objax cause compile slow down
- SparseMarkovVariationalGP vs S2CVI HOT 1
- Missing data for experiments, (electricity ...) HOT 1
- NaN predictions when the inference is outside of the training data. HOT 3
- air_quality.py demo failing HOT 5
- issue with SparseVariationalGP method HOT 1
- How to set initial `Pinf` variable in kernel? HOT 2
- error in heteroscedastic.py with MarkovPosteriorLinearisationQuasiNewtonGP method HOT 2
- How to understand the function `cavity_distribution_tied` in file `basemodels.py` ? HOT 1
- question about the equation (64) in `Bayes-Newton` paper HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bayesnewton.