Giter VIP home page Giter VIP logo

ctn_benchmarks's People

Contributors

tcstewar avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

hunse

ctn_benchmarks's Issues

Future of ctn_benchmarks

Because development activity seems to be slightly increasing here (#8, #9), I was wondering what the plans for the future are, especially with respect to PR #7. As #7 is a major rewrite of central parts it seems that it might be wasted effort to implement a lot of new features on the current master branch if the intend is to transition to that approach. It certainly adds complexity, but also increases the flexibility.

I will use #7 as part of my projects for sure and it would be nice to be able to link to it and pip install it easily (which is problematic if it lives in this branch). So if there is no intend to get this merged into ctn_benchmarks, I might go ahead and transition the code from the PR to its own repository.

Another point is that I think that #4 should be resolved earlier than later. The larger the user-base, the more problematic such fundamental changes as renaming the package will get.

ValueException doesn't exist in Python

In benchmark.py a ValueException is raised when 0 parameters are specified and when the same parameter is added twice to the list of defaults.

ValueException isn't a valid Python exception, so if any of the two cases above happen it ends up with:
NameError: global name 'ValueException' is not defined

Maybe ValueError, KeyError or TypeError would be more appropriate? I can submit a PR for this (if you let me :)

Inconsistent naming

The repository is named ctn_benchmarks (plural), but you import ctn_benchmark (singular).

Problematic loading data with exec

I had a case where one of the stored parameters was text which Python did not manage to evaluate as an object it recognizes:
_context = <pyopencl.Context at 0x319aaa0 on <pyopencl.Device 'GeForce GTX 970' on 'NVIDIA CUDA' at 0x251dc60>>

this ended up not loading the data (returning [] from Data object) and it took some time to figure it out. I raised the issue because:
a) cases such as these should also be handled somehow
b) it would be useful if an Exception would not continue quietly in this case, even a small warning would be very useful

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.