-
Notifications
You must be signed in to change notification settings - Fork 20
Avoid assigning meaning to arch_target_map
keys
#294
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
Comments
Changes will be needed at least at around eessi-bot-software-layer/tasks/build.py Line 603 in d4b4811
GOAL Suppose we have
Then we have the following four scenarios:
There is no accel defined. Thus, the bot should match this to the
Bot matches this to
Bot matches this to
Bot matches this to |
Currently, the
arch_target_map
keys have meaning: they are interpreted by thebot/build.sh
fromsoftware-layer
to represent the OS/SUBDIR (but not accelerator). This is problematic, because if I have a system with e.g.zen4
CPU nodes andzen4+H100
GPU nodes, those would normally both be encoded aslinux/x86_64/amd/zen4
in the architecture map - and clearly I cannot do that because keys have to be unique.It would be better if the keys were meaningless, and if the
bot/build.sh
would get it's information elsewhere. For example:would then configure the cpu-only zen4 partition and zen4+H100 partition respectively.
This would require changes in two places:
arch_target_map
is the slurm parameters to be used for submission. That should change, and it should extract one level deeper, i.e.arch_target_map['some_partition']['slurm_params']
instead ofarch_target_map['some_os_subdir']
.bot/build.sh
should extract the relevant information from a more deeply nested dict.The text was updated successfully, but these errors were encountered: