rapidsai / asvdb Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
If I query a db on s3 asvdb --read-from=s3://<bucket_name> --print="commitHash, argNameValuePairs, result, unit"
I get the following error:
Traceback (most recent call last):
File "/home/radek/miniconda3/envs/rapids-22.10/bin/asvdb", line 33, in <module>
sys.exit(load_entry_point('asvdb', 'console_scripts', 'asvdb')())
File "/home/radek/workspace/asvdb/asvdb/__main__.py", line 208, in main
fromDb = openAsvdbAtPath(args.read_from)
File "/home/radek/workspace/asvdb/asvdb/__main__.py", line 97, in openAsvdbAtPath
db.updateConfFile()
File "/home/radek/workspace/asvdb/asvdb/asvdb.py", line 233, in updateConfFile
self.__updateConfFile()
File "/home/radek/workspace/asvdb/asvdb/asvdb.py", line 514, in __updateConfFile
raise AttributeError("repo must be set to non-None before "
AttributeError: repo must be set to non-None before writing /tmp/tmpmnj8z4ci/asv.conf.json
If I download the contents of the bucket and query the db locally, everything works.
I execute aws s3 sync s3://<bucket_name> <dir_name>
and then asvdb --read-from=<dir_name> --print="commitHash, argNameValuePairs, result, unit"` and get the result:
Is your feature request related to a problem? Please describe.
ASVDB should be able to take the results of multiple benchmarks.json
files and create a "merged" benchmarks.json
that contains all benchmark info.
Example Problem
asv publish
benchmark.json
will be based on most recent branch, causing us to not render the data of benchmark A. We should be able to merge these two benchmark jsons to make sure all data is represented.
Describe the solution you'd like
A new method that can parse a set of files. Best available on the command line with an argument to provide a filepath to stored .json files to merge.
Given a set of results generated by ASV.
run asvdb --read-from .asv/results
Traceback (most recent call last):
File "/raid/kgerman/miniconda/envs/cuml_integrations/bin/asvdb", line 10, in <module>
sys.exit(main())
File "/raid/kgerman/miniconda/envs/cuml_integrations/lib/python3.7/site-packages/asvdb/__main__.py", line 210, in main
results = fromDb.getResults()
File "/raid/kgerman/miniconda/envs/cuml_integrations/lib/python3.7/site-packages/asvdb/asvdb.py", line 314, in getResults
retList = self.__readResults(filterByInfoObjs=filterInfoObjList)
File "/raid/kgerman/miniconda/envs/cuml_integrations/lib/python3.7/site-packages/asvdb/asvdb.py", line 430, in __readResults
paramValues = benchmarkResults["params"]
TypeError: 'NoneType' object is not subscriptable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.