Skip to content

Commit

Permalink
Rename download_datasets.sh to install.sh & add pytorch cpp setup
Browse files Browse the repository at this point in the history
  • Loading branch information
francois141 committed Oct 26, 2023
1 parent a507fde commit 9f86da6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
## Requirements

You need to install the C++ distributions of pytorch as indicated [here](https://pytorch.org/cppdocs/installing.html). The current way of compilation expects you to unzip the downloaded file in your homefolder, by setting `DCMAKE_PREFIX_PATH` accordingly. You can run the commands below:

```
cd
wget https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip
unzip libtorch-shared-with-deps-latest.zip
rm libtorch-shared-with-deps-latest.zip
```
# SDDMM Project
7 changes: 6 additions & 1 deletion download_datasets.sh → install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ unzip -n nips+conference+papers+1987+2015.zip -d ./
wget -nc http://snap.stanford.edu/data/email-Enron.txt.gz
gzip -d email-Enron.txt.gz

cd ..
cd ..

cd
wget https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip
unzip libtorch-shared-with-deps-latest.zip
rm libtorch-shared-with-deps-latest.zip

0 comments on commit 9f86da6

Please sign in to comment.