Skip to content

Commit d5ab978

Browse files
authored
Set matgl backend to DGL
Added import for matgl and set backend to DGL. Signed-off-by: Runze Liu <146490083+rul048@users.noreply.github.com>
1 parent 69f52d8 commit d5ab978

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

examples/Running the MatCalc-Benchmark.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
"import pandas as pd\n",
2626
"\n",
2727
"from matcalc import load_fp\n",
28-
"from matcalc.benchmark import ElasticityBenchmark"
28+
"from matcalc.benchmark import ElasticityBenchmark\n",
29+
"\n",
30+
"import matgl\n",
31+
"matgl.set_backend(\"DGL\")"
2932
]
3033
},
3134
{

0 commit comments

Comments
 (0)