Closed AlexanderMath closed 1 year ago
@hatemhelal IPU_MODEL fails when using int16/float16 for the indices. Can we do something like if ipu_model: dense_ERI=True
?
@hatemhelal IPU_MODEL fails when using int16/float16 for the indices. Can we do something like
if ipu_model: dense_ERI=True
?
yes I think the way to do it would be:
pyscf_ipu.experimental.device.has_ipu() and "JAX_IPU_USE_MODEL" in os.environ
It is handy to have utilities for feature testing if we are running on an IPU and if that IPU is a model so seems worthwhile to put that in a common place.
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Removing
pmap_experimental_nanoDFT
by merging changes intonanoDFT
. All the jax.pmap stuff becomes identity when ndevices=1.