Comments (5)
Ahh, ok. Is the error absent when you install TF 2.15.0 without BayesFlow? Or is there a version change with the BF installation?
As this seems a usual problem according to this issue, we probably have to find which TF-related dependency changes and introduces the problem, though I don't know whether we can resolve this. Could you try the following?
- Create a conda environment, install TF 2.15.0 with CUDA and check whether the errors occur (if they do, it's TF version and not BF related)
- save the environment using
conda list --explicit > env-pre-bf.txt
- Install BayesFlow, check whether the errors occur (expecting that they will)
- save the environment using
conda list --explicit > env-post-bf.txt
diff env-pre-bf.txt env-post-bf.txt
The resulting diff may tell us something about the changes BF introduces to the TensorFlow installation, which might give us a lead on what we need to fix
from bayesflow.
Thanks for reaching out! If I remember correctly, I have encountered those warnings/errors, but could use the GPU anyway. In the last line it says it is able to create a GPU device. What is the output of tf.config.list_physical_devices('GPU')
, does a GPU show up there or is it an empty list?
Regarding the 2.16 version of TensorFlow: We are currently working on adapting BF to Keras 3, which will also enable using the newest TensorFlow version. As this is a bigger change, it will need a bit more time, you can track the progress in the PR #159
from bayesflow.
I completely understand it is challenging, but it would be great if the new BF release could support tensorflow-cpu 2.16 too.
from bayesflow.
Absolutely. The new release will support all recent tensorflow, pytorch, and jax versions.
from bayesflow.
Hey Valentin, yes It finds the gpu - but from my searches the errors at the beginning indicate, that the libs are not used then, which results in slower training. and its also suspicious, that those errors are absent, before the bayesflow installtion ! yes I already track the streamline-backend branch and can't wait to finally use torch as backend ;-)
from bayesflow.
Related Issues (20)
- FAQ in README
- Change Support / Acknowledgements HOT 1
- Publish as conda installable package
- Parallelize Test Workflows HOT 2
- `test_time_series_transformer` occasionally fails
- Make heavier use of `pytest.fixture`
- Diagnostic plots do not do so well with simple (one-parameter) models HOT 2
- Remove code duplication from diagnostics module HOT 1
- Add tests for model comparison
- Links in the table of contents of the example notebooks do not work
- Dependency problems HOT 1
- Backport dependency fixes to releases/master HOT 1
- pip install v1.1.5 fails on Mac (M1) HOT 1
- OOM after ~ 50 epochs HOT 10
- Affine coupling flows underperforming with current settings on streamlined-backend
- OfflineDataset should not require both batch_size and batches_per_epoch
- Loss not shown in keras output HOT 4
- streamlined-backend DeepSet
- Implement LSTMNet for time series embedding
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 bayesflow.