-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Roger Waleffe
authored and
Roger Waleffe
committed
Oct 15, 2023
1 parent
51aca8b
commit ea44305
Showing
4 changed files
with
62 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
mkdir build | ||
cd build | ||
|
||
#cmake ../ -DUSE_CUDA=1 | ||
#cmake ../ -DUSE_OMP=1 | ||
cmake ../ -DUSE_CUDA=1 -DUSE_OMP=1 #-DCMAKE_C_COMPILER=clang | ||
#cmake ../ -DUSE_CUDA=1 -DUSE_OMP=1 -DCMAKE_BUILD_TYPE=Debug -DMARIUS_USE_ASAN=1 | ||
|
||
make marius_train -j | ||
#make marius_train marius_eval -j | ||
#make _pymarius -j | ||
#make unit -j | ||
|
||
#make bindings -j | ||
#mkdir marius | ||
#cp *.so marius | ||
#cp -r ../src/python/* marius/ | ||
|
||
#cp *.so /usr/local/lib/python3.6/dist-packages/marius/ | ||
|
||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
export MARIUS_ONLY_PYTHON=1 | ||
export MARIUS_NO_BINDINGS=1 | ||
|
||
pip3 uninstall marius | ||
pip3 install . | ||
|
||
#mkdir ../datasets | ||
|
||
#marius_preprocess --dataset fb15k_237 ../datasets/fb15k237/ | ||
#marius_preprocess --dataset fb15k_237 --num_partitions 16 ../datasets/fb15k237_partitioned/ | ||
#marius_preprocess --dataset fb15k_237 --num_partitions 128 ../datasets/fb15k237_partitioned_128/ | ||
#marius_preprocess --dataset fb15k_237 --num_partitions 256 ../datasets/fb15k237_partitioned_256/ | ||
|
||
#marius_preprocess --dataset live_journal ../datasets/livejournal/ | ||
#marius_preprocess --dataset live_journal --num_partitions 16 ../datasets/livejournal_16/ | ||
|
||
#marius_preprocess --dataset freebase86m ../datasets/freebase86m/ | ||
#marius_preprocess --dataset freebase86m --num_partitions 8 ../datasets/freebase86m_8/ | ||
#marius_preprocess --dataset freebase86m --num_partitions 16 ../datasets/freebase86m_16/ | ||
#marius_preprocess --dataset freebase86m --num_partitions 32 ../datasets/freebase86m_32/ | ||
#marius_preprocess --dataset freebase86m --num_partitions 64 ../datasets/freebase86m_64/ | ||
#marius_preprocess --dataset freebase86m --num_partitions 256 ../datasets/freebase86m_256/ | ||
#marius_preprocess --dataset freebase86m --num_partitions 1024 ../datasets/freebase86m_1024/ | ||
#marius_preprocess --dataset freebase86m --num_partitions 4096 ../datasets/freebase86m_4096/ | ||
|
||
|
||
|
||
#marius_preprocess --dataset cora ../datasets/cora/ | ||
|
||
#marius_preprocess --dataset OGBN_ARXIV ../datasets/arxiv/ | ||
|
||
|
||
#marius_preprocess --dataset fb15k_237 --output_dir datasets/fb15k_237_example/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters