Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulations with USER Bandwidth mode running into error #13

Open
ssatyendras opened this issue Apr 13, 2024 · 0 comments
Open

Simulations with USER Bandwidth mode running into error #13

ssatyendras opened this issue Apr 13, 2024 · 0 comments

Comments

@ssatyendras
Copy link

Hello,
Thanks for making the tool available for use.

I am trying to run simulations in the USER bandwidth mode, but seem to be running into the following error.

image

It seems the boolean for the estimate_bandwidth_mode is not getting the right value (and receiving a string) in the krittika/single_laye_ sim.py. I made the following changes to pass the boolean value. The error is not showing up any more. However, the simulations are very slow, much slower than in scalesimv2. Is this expected ?

`

    flag_est_bw_mode = True
    if (self.config_obj.get_bandwidth_use_mode()=="USER"):
        flag_est_bw_mode = False
    
    for compute_node in self.compute_node_list:

        this_part_mem = double_buffered_scratchpad()
        this_part_mem.set_params(verbose=self.verbose,
                                 estimate_bandwidth_mode=flag_est_bw_mode,
                                 ifmap_buf_size_bytes=per_core_ifmap_buf_size,
                                 filter_buf_size_bytes=per_core_fitler_buf_size,
                                 ofmap_buf_size_bytes=per_core_ofmap_buf_size,
                                 ifmap_backing_buf_bw=per_core_ifmap_bw,
                                 filter_backing_buf_bw=per_core_filter_bw,
                                 ofmap_backing_buf_bw=per_core_ofmap_bw
                                 )

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant