chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:35:51 +08:00
commit c36a561cd8
2172 changed files with 455595 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
name: kg-ci
dependencies:
- python=3.6.9
- pip
- pip:
- torch
- torchvision
- mxnet
- pytest
- nose
- numpy
- cython
- scipy
- networkx
- matplotlib
- nltk
- requests[security]
- tqdm
+18
View File
@@ -0,0 +1,18 @@
name: kg-ci
dependencies:
- python=3.6.9
- pip
- pip:
- torch
- torchvision
- mxnet-cu101
- pytest
- nose
- numpy
- cython
- scipy
- networkx
- matplotlib
- nltk
- requests[security]
- tqdm
+22
View File
@@ -0,0 +1,22 @@
name: mxnet-ci
dependencies:
- python=3.7.0
- pip
- pip:
- mxnet==1.6.0
- pytest
- nose
- numpy
- cython==0.29
- scipy
- networkx
- matplotlib
- nltk
- requests[security]
- tqdm
- psutil
- pyyaml
- pydantic
- pandas
- rdflib
- ogb
+22
View File
@@ -0,0 +1,22 @@
name: mxnet-ci
dependencies:
- python=3.7.0
- pip
- pip:
- mxnet-cu101==1.7.0
- pytest
- nose
- numpy
- cython==0.29
- scipy
- networkx
- matplotlib
- nltk
- requests[security]
- tqdm
- psutil
- pyyaml
- pydantic
- pandas
- rdflib
- ogb
@@ -0,0 +1,22 @@
name: tensorflow-ci
dependencies:
- python=3.7
- pip
- pip:
- tensorflow==2.3.0
- pytest
- nose
- numpy
- cython==0.29
- scipy
- networkx
- matplotlib
- nltk
- requests[security]
- tqdm
- psutil
- pyyaml
- pydantic
- pandas
- rdflib
- ogb
@@ -0,0 +1,22 @@
name: tensorflow-ci
dependencies:
- python=3.7.0
- pip
- pip:
- tensorflow==2.3.0
- pytest
- nose
- numpy
- cython==0.29
- scipy
- networkx
- matplotlib
- nltk
- requests[security]
- tqdm
- psutil
- pyyaml
- pydantic
- pandas
- rdflib
- ogb
+7
View File
@@ -0,0 +1,7 @@
name: pytorch-ci
dependencies:
- python=3.10
- pip
- pip:
- --find-links https://download.pytorch.org/whl/torch_stable.html
- --requirement torch_cpu_pip.txt
@@ -0,0 +1,24 @@
--find-links https://download.pytorch.org/whl/torch_stable.html
cython
filelock
matplotlib
networkx
nltk
nose
numpy
ogb
pandas
psutil
pyarrow
pydantic
pytest
pyyaml
rdflib
requests[security]==2.28
scikit-learn
scipy
torch==2.3.0+cpu
torcheval
torchmetrics
torch_geometric
tqdm
+7
View File
@@ -0,0 +1,7 @@
name: pytorch-ci
dependencies:
- python=3.10
- pip
- pip:
- --find-links https://download.pytorch.org/whl/torch_stable.html
- --requirement torch_gpu_pip.txt
@@ -0,0 +1,22 @@
--find-links https://download.pytorch.org/whl/torch_stable.html
cython
matplotlib
networkx
nltk
nose
numpy
ogb
pandas
psutil
pydantic
pytest
pyyaml
rdflib
requests[security]==2.28
scikit-learn
scipy
torch==2.3.0+cu121
torcheval
torchmetrics
torch_geometric
tqdm
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
set -e
set -u
set -o pipefail
cd /usr/local/lib
wget -q https://www.antlr.org/download/antlr-4.7.1-complete.jar
cd -
+11
View File
@@ -0,0 +1,11 @@
# Install cmake with minimum required version.
version=3.18
build=0
mkdir ~/temp
cd ~/temp
wget https://cmake.org/files/v$version/cmake-$version.$build-Linux-x86_64.sh
sudo mkdir /opt/cmake
sudo sh cmake-$version.$build-Linux-x86_64.sh --prefix=/opt/cmake --skip-license
sudo ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
cd ~
rm -rf ~/temp
+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh
export LANG=C.UTF-8 LC_ALL=C.UTF-8
export PATH=/opt/conda/bin:$PATH
apt-get update --fix-missing && \
apt-get install -y wget bzip2 ca-certificates curl git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
/bin/bash ~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh && \
/opt/conda/bin/conda clean -tipy && \
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
echo "conda activate base" >> ~/.bashrc
export TINI_VERSION=v0.16.1
source ~/.bashrc
+6
View File
@@ -0,0 +1,6 @@
# install libraries for building c++ core on ubuntu
apt update && apt install -y --no-install-recommends --force-yes \
apt-utils git build-essential make wget unzip sudo \
libz-dev libxml2-dev libopenblas-dev libopencv-dev \
graphviz graphviz-dev libgraphviz-dev ca-certificates \
systemd vim openssh-client openssh-server
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
set -o errexit -o nounset
set -o pipefail
apt-get update && apt-get install -y openjdk-8-jdk maven
test -d "/usr/lib/jvm/java-8-openjdk-amd64/jre"
echo "export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre" >> /etc/profile
@@ -0,0 +1 @@
pip3 install mxnet
@@ -0,0 +1 @@
pip3 install mxnet-cu90
+14
View File
@@ -0,0 +1,14 @@
# install python and pip, don't modify this, modify install_python_package.sh
apt-get update
apt-get install -y python-dev python3-dev
# install pip
cd /tmp && wget https://bootstrap.pypa.io/get-pip.py
python2 get-pip.py
python3 get-pip.py
# santiy check
python2 --version
python3 --version
pip2 --version
pip3 --version
@@ -0,0 +1,3 @@
# install libraries for python package on ubuntu
#pip2 install nose numpy cython scipy networkx matplotlib nltk requests[security] tqdm
pip3 install nose numpy cython scipy networkx matplotlib nltk requests[security] tqdm
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
# install torch
pip2 install torch==1.0.1 torchvision==0.2.2
pip3 install torch==1.0.1 torchvision==0.2.2
@@ -0,0 +1,3 @@
#!/bin/bash
# install torch
pip3 install torch==1.2.0+cu92 torchvision==0.4.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html