Coder Social home page Coder Social logo

taijaparallel.jl's Introduction

TaijaParallel

Stable Dev Build Status Coverage Code Style: Blue Aqua QA

This package adds custom support for parallelization for certain Taija packages.

Installation

The stable version of this package can be installed as follows:

using Pkg
Pkg.add("TaijaParallel.jl")

The development version can be installed like so:

using Pkg
Pkg.add("https://github.com/JuliaTrustworthyAI/TaijaParallel.jl")

Usage

Since this package extends the functionality of other Taija packages, it should be used in combination with those packages. For example, see this tutorial to see how TaijaParallel.jl can be used with CounterfactualExplanations.jl.

taijaparallel.jl's People

Contributors

pat-alt avatar kmariuszk avatar

Watchers

 avatar

taijaparallel.jl's Issues

Reallocation of `parallelization` and `traits` folders

Reallocating the parallelization and traits folders from the CounterfactualExplanations.jl package to the newly created TAIJA parallel package.

  • Create TaijaParallel sub-package
  • Move the parallelization and traits folders to the newly created package (both source-code and tests)
  • Remove the extensions and traits folders from this package
  • Update the src/deprecated.jl file
  • Update the documentation

Bug: Can't use DecisionThresholdConvergence object

When I try to run the generate_counterfactual function in parallel as shown in the image below, I get an error about the Convergence object.

Code:
Screenshot 2024-04-17 at 21 04 02

Error:
Screenshot 2024-04-17 at 21 04 32

When I follow the stacktrace of the error it leads me to the get_convergence_type function in the Convergence module in the CounterfactualExplanations package. This function has 2 versions: one with AbstractConvergence as input and one with Symbol as input (see image below)

Screenshot 2024-04-17 at 21 07 10

In my case, because I have created my own DecisionThresholdConvergence object, I would expect the first function to be called. However, for reason currently unknown to me, when the @with_parallelizer macro is used the function with the Symbol as input is being called. I've tested the same code without the macro and this works how it is supposed to.

@pat-alt is this enough information for someone to look into? If more details are necessary, please let me know. Solving this issue would really help me out :)

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

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.