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

Fix seq_id/id bug in reader #35

Open
ppebay opened this issue Nov 27, 2024 · 0 comments · May be fixed by #36
Open

Fix seq_id/id bug in reader #35

ppebay opened this issue Nov 27, 2024 · 0 comments · May be fixed by #36
Assignees
Labels
bug Something isn't working

Comments

@ppebay
Copy link
Contributor

ppebay commented Nov 27, 2024

As reported by @lifflander:

# Model configuration:
  is_fwmp: False
  alpha: 1.0
  beta: 0.0
  rank_memory_bound: 4000000000.0
  file_stem: /Users/jliffla/codes/virtual-transport/gemma-test-problems/vt.3x.3n.24rpn.2tpr.3sub.2000rows.2000cols.measjson.nolb/data
# Number of detected ranks: 72
Traceback (most recent call last):
  File "/Users/jliffla/codes/virtual-transport/ccm-milp/src/ccm_milp_run.py", line 217, in <module>
    main()
  File "/Users/jliffla/codes/virtual-transport/ccm-milp/src/ccm_milp_run.py", line 186, in main
    data = Generator.parse_json(files, rpn, rank_mem_bnd, node_mem_bnd, verbose)
  File "/Users/jliffla/codes/virtual-transport/ccm-milp/src/ccm_milp/generator.py", line 630, in parse_json
    data.parse_json(data_files, verbose)
  File "/Users/jliffla/codes/virtual-transport/ccm-milp/src/ccm_milp/data.py", line 128, in parse_json
    com["from"]["seq_id"],
KeyError: 'seq_id'
@ppebay ppebay added the bug Something isn't working label Nov 27, 2024
@ppebay ppebay self-assigned this Nov 27, 2024
@ppebay ppebay linked a pull request Nov 27, 2024 that will close this issue
ppebay added a commit that referenced this issue Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant