Ghiad
Ghiad
@Lssyes can you help me with that https://github.com/alpa-projects/alpa/issues/960? > """To build with debug information, add the flag --bazel_options='--copt=/Z7'.""" FROM https://jax.readthedocs.io/en/latest/developer.html#id1 不过这个是基于最新的openxla的回答了,不确定这个0.3.22的能不能用 btw,可以加个vx交流一下吗老哥
it says we compiled for one device but ran on another.CUDA_VISIBLE_DEVICES=0 fixes this problem for me.However,when i run this command CUDA_VISIBLE_DEVICES=0,1,2 python3 -m alpa.test_install, another error occured , there was...
> 你有几张卡,num_stages默认是2,你的num_devices不能整除num_satges就会出现这个问题,最好保证num_devices为偶数 我的服务器上有5张卡,如下图  我应该怎么修改num_devices的数量,当我尝试输入CUDA_VISIBLE_DEVICES=0,1 python3 -m alpa.test_install,还是会有相同的问题
> > > 你有几张卡,num_stages默认是2,你的num_devices不能整除num_satges就会出现这个问题,最好保证num_devices为偶数 > > > > > > 我的服务器上有5张卡,如下图  > > 我应该怎么修改num_devices的数量,当我尝试输入CUDA_VISIBLE_DEVICES=0,1 python3 -m alpa.test_install,还是会有相同的问题 > > 我不知道怎么修改卡的数目,你有五张卡,并且卡的型号也不一样,你在a100上编译的,在3090上运行可能会出问题 我已经解决了这个error,通过在启动ray的时候限制gpu数量ray start --head --num-gpus=2,然后当我继续运行CUDA_VISIBLE_DEVICES=0,1 python3 -m alpa.test_install 另一个error报错了,另外通过CUDA_VISIBLE_DEVICES=0,1可以限定运行的设备,让代码在同一种设备上运行 ...
一个愚蠢的错误,一张显卡被其他用户占用了,换另外的显卡就能顺利执行,十分感谢