prophet_zhan:

and I want to confirm there will be total 48g memory while I use nvlink to connect two 3090.


No, the devices should not show up as a single GPU with 48GB.
You can connect them via nvlink and use a data or model parallel approach.