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

test_move_bundle_gen_folder #6449

Closed
wyli opened this issue Apr 28, 2023 · 0 comments · Fixed by #6446
Closed

test_move_bundle_gen_folder #6449

wyli opened this issue Apr 28, 2023 · 0 comments · Fixed by #6446
Assignees

Comments

@wyli
Copy link
Contributor

wyli commented Apr 28, 2023

with pytorch 1.9.x:

[2023-04-27T23:35:59.010Z] ======================================================================
[2023-04-27T23:35:59.010Z] ERROR: test_move_bundle_gen_folder (tests.test_auto3dseg_bundlegen.TestBundleGen)
[2023-04-27T23:35:59.010Z] ----------------------------------------------------------------------
[2023-04-27T23:35:59.010Z] Traceback (most recent call last):
[2023-04-27T23:35:59.010Z]   File "/home/jenkins/agent/workspace/Monai-pytorch-versions/tests/test_auto3dseg_bundlegen.py", line 130, in test_move_bundle_gen_folder
[2023-04-27T23:35:59.010Z]     bundle_generator.generate(work_dir, num_fold=1)
[2023-04-27T23:35:59.010Z]   File "/home/jenkins/agent/workspace/Monai-pytorch-versions/monai/apps/auto3dseg/bundle_gen.py", line 589, in generate
[2023-04-27T23:35:59.010Z]     gen_algo.export_to_disk(output_folder, name, fold=f_id)
[2023-04-27T23:35:59.010Z]   File "/home/jenkins/agent/workspace/Monai-pytorch-versions/monai/apps/auto3dseg/bundle_gen.py", line 161, in export_to_disk
[2023-04-27T23:35:59.010Z]     self.fill_records = self.fill_template_config(self.data_stats_files, self.output_path, **kwargs)
[2023-04-27T23:35:59.010Z]   File "/tmp/tmpma08jta_/workdir/algorithm_templates/dints/scripts/algo.py", line 119, in fill_template_config
[2023-04-27T23:35:59.010Z]   File "/tmp/tmpma08jta_/workdir/algorithm_templates/dints/scripts/algo.py", line 31, in get_mem_from_visible_gpus
[2023-04-27T23:35:59.010Z] AttributeError: module 'torch.cuda' has no attribute 'mem_get_info'
[2023-04-27T23:35:59.010Z] 
[2023-04-27T23:35:59.010Z] ----------------------------------------------------------------------
@wyli wyli self-assigned this Apr 28, 2023
wyli added a commit to binliunls/MONAI that referenced this issue Apr 29, 2023
Signed-off-by: Wenqi Li <[email protected]>
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

Successfully merging a pull request may close this issue.

1 participant