Giter Club home page Giter Club logo

Comments (5)

Jammy2211 avatar Jammy2211 commented on July 23, 2024

First, can you check if your following config file at /home/allan/config:

https://github.com/Jammy2211/autolens_workspace/blob/release/config/non_linear/nest.yaml

Has the input

DynestyStatic:
  parallel:
    number_of_cores: 1              # The number of cores the search is parallelized over by default, using Python multiprocessing.
    force_x1_cpu: false             # Force Dynesty to not use Python multiprocessing Pool, which can fix issues on certain operating systems.

If force_x1_cpu is not there, add it and you should be sorted.

It could be a bug (which we've fixed but not had a chance to release yet) causing the issue. If this is the case, you can fix this by adding the following to the DynestyStatic objects when you use them:

search = af.DynestyStatic(
    path_prefix=path.join("howtolens", "chapter_2"),
    name="tutorial_1_non_linear_search",
    unique_tag=dataset_name,
    nlive=40,
    walks=5,
    force_x1_cpu=False
)

Let me know if it still doesn't work!

from pyautolens.

allangabrielsch avatar allangabrielsch commented on July 23, 2024

Thanks,

I tried both but nothing yet.
I checked the nest.yaml file in home/.local/lib/python3.8/site-packages/autofit/config and the one in the workspace, they both have force_x1_cpu=False
Also tried running it with the modified DynestyStatic object and still raising the same exception.
Let me know whatever else you might need

from pyautolens.

Jammy2211 avatar Jammy2211 commented on July 23, 2024

I have done a new release, which will hopefully fix the issue.

To fix this, try installing the nmew autolens via pip install autolens==2023.3.21.5

You may also need to download the new https://github.com/Jammy2211/autolens_workspace

Let me know if you have any issues!

from pyautolens.

allangabrielsch avatar allangabrielsch commented on July 23, 2024

Great! It's now fixed! Thanks!

from pyautolens.

Jammy2211 avatar Jammy2211 commented on July 23, 2024

:)

from pyautolens.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.