rstrivedi/Melting-Pot-Contest-2023

How to install dmlab2d on CentOS

yqqxyy opened this issue · 6 comments

yqqxyy commented

I tried to setup MeltingPot environment on my lab's server but failed when I run
SYSTEM_VERSION_COMPAT=0 pip install dmlab2d
raising error:
ERROR: Could not find a version that satisfies the requirement dmlab2d (from versions: none) ERROR: No matching distribution found for dmlab2d
The system on server is CentOS Linux release 7.9.2009, and I also tried with my Mac (M1 chips) and the installation succeeded, so I suppose the installation failure should be caused by the system version. I think it would be better if I can run it on server for better GPU resources, is there some method to install dmlab2d on CentOS?

Currently dmlab2d only has wheels (and hence pypi exposure) for Linux and MacOS.
You can always build it from scratch for your platform but understandably it is hard to do.
I can ask the dmlab2d maintainers to see if they can get CentOS wheels but cannot promise on this one as that is a separate dependency.
In the meantime, I suggest you to also connect with us on discord where there is another such request related to Windows. So we will post updates there as and if new wheels become available.

Update: We are trying to see if we can provide an environment image that is "ready to go" for training with CentOS. I will get back to you once I know the outcome of our efforts.

yqqxyy commented

Update: We are trying to see if we can provide an environment image that is "ready to go" for training with CentOS. I will get back to you once I know the outcome of our efforts.

Thanks! looking forward to see the CentOS version.

I am running into the same issue. It also seems that building dmlab2d from source is not possible at the moment:
google-deepmind/lab2d#33

duenez commented

It is possible, just needs to be done manually. There are instructions in that thread, and some better documentation might be coming soon.

I managed to build dmlab2d from source for CentOS 7. The build wheels and dockerfile to reproduce can be found here:
https://github.com/brenting/dmlab2d-wheels