Giter Site home page Giter Site logo

hasco's People

Contributors

knowingnothing avatar walkershaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hasco's Issues

JSON file in rst/software

The JSON file created in the software folder of the result is simply a string with no format at all.
The file is created at src/codesign/explorer.py line 223, which transform an apparently non-dict object into a str and dumps, I don't think JSON is the correct suffix for this output file.

cannot find valid schedules

I downloaded the code , and instal as it told, when I was running the script, python3 testbench/co_mobile_gemm.py .
it turned out:
image
How to handle it? Please help!

AttributeError: module 'tvm' has no attribute 'schedule'

Traceback (most recent call last):
File "testbench/co_resnet_gemm.py", line 8, in
from codesign.hw_evaluation import gen_software
File "./src/codesign/hw_evaluation.py", line 3, in
from codesign.ppa_model import PPAModel, gen_config
File "./src/codesign/ppa_model.py", line 12, in
from codesign.flextensor_extend import parse_schedule
File "./src/codesign/flextensor_extend.py", line 4, in
from flextensor.task import Task
File "./src/flextensor/task.py", line 3, in
from flextensor.space import EnumSpace
File "./src/flextensor/space.py", line 7, in
from flextensor.utils import (assert_print, gen_enum, any_factor_split, get_factor_lst, gen_group,
File "./src/flextensor/utils.py", line 328, in
def get_iter_info(s: tvm.schedule.Schedule):
AttributeError: module 'tvm' has no attribute 'schedule'

Dear folks,

First, quite appreciate your time in this issue.

After the successful installation required by the HSACO, the error pops out when running the following test case.
From the above log, we can see the errors stems from the TVM. My question is what the configuration in config.cmake file should be? Could you give an instance?
python testbench/co_resnet_gemm.py

Thanks

understand or visualize the results

I run the test bench

python testbench/co_resnet_conv.py

and got the following files under rst/software directory.
ResNet50_CONV_15_20_8_128_512_128_256_FIXED_int8_latency_software.json
ResNet50_CONV_5_6_6_256_64_256_128_FIXED_int8_power_software.json
ResNet50_CONV_9_4_3_128_256_256_256_FIXED_int8_area_software.json

Could you tell how to understand these data and how to visualize or show the results ?
I notice there is a utils/visualize.py codes. But it needs some log files.
Thanks.

Need the folder ./RST/ to run the example!

I have configured the running environment for HASCO. When I run the code 'python3 testbench/co_resnet_conv.py', It seems the open source does not have directory ./RST/. I need to manually make those directories.
image
Solution:
image

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.