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
mkdir ~/user/github | |
cd !$ | |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | |
chmod 755 Miniconda3-latest-Linux-x86_64.sh | |
./Miniconda3-latest-Linux-x86_64.sh -b -f -u -p csp_venv | |
. ~/user/github/csp_venv/etc/profile.d/conda.sh | |
conda config --add channels conda-forge | |
conda config --set channel_priority strict |
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
#!/bin/bash | |
set -xeuo pipefail | |
IFS=$'\n\t' | |
if [ -d "build/" ] | |
then | |
rm -r build | |
fi | |
#meson setup build -Db_sanitize=address,undefined |
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
diff --git a/c/numpy-vstring/Makefile b/c/numpy-vstring/Makefile | |
index 894fbfd..cfaf231 100644 | |
--- a/c/numpy-vstring/Makefile | |
+++ b/c/numpy-vstring/Makefile | |
@@ -1,13 +1,10 @@ | |
SRC = vstring_demo.c vstring_print_utils.c vstring.c | |
HEADERS = vstring_print_utils.h vstring.h | |
-all: vstring_demo vstring_demo_mock_be | |
+all: vstring_demo |
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
diff --git a/c/numpy-vstring/Makefile b/c/numpy-vstring/Makefile | |
index 894fbfd..cfaf231 100644 | |
--- a/c/numpy-vstring/Makefile | |
+++ b/c/numpy-vstring/Makefile | |
@@ -1,13 +1,10 @@ | |
SRC = vstring_demo.c vstring_print_utils.c vstring.c | |
HEADERS = vstring_print_utils.h vstring.h | |
-all: vstring_demo vstring_demo_mock_be | |
+all: vstring_demo |
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
// _cat | |
static PyObject * THPVariable__cat(PyObject* self_, PyObject* args, PyObject* kwargs) | |
{ | |
HANDLE_TH_ERRORS | |
static PythonArgParser parser({ | |
"_cat(TensorList tensors, int64_t dim=0, *, Tensor out=None)", | |
}, /*traceable=*/true); | |
ParsedArgs<3> parsed_args; | |
auto _r = parser.parse(args, kwargs, parsed_args); |
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
In [1]: import yt | |
In [2]: ds = yt.load('ArepoBullet/snapshot_150.hdf5', smoothing_factor=1.5) | |
yt : [INFO ] 2020-02-27 15:45:18,078 Omega Lambda is 0.0, so we are turning off Cosmology. | |
yt : [INFO ] 2020-02-27 15:45:18,138 Parameters: current_time | |
= 1.5380632172269546 | |
yt : [INFO ] 2020-02-27 15:45:18,138 Parameters: domain_dimensions | |
= [1 1 1] | |
yt : [INFO ] 2020-02-27 15:45:18,139 Parameters: domain_left_edge | |
= [0. 0. 0.] |
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
Collecting package metadata (current_repodata.json): ...working... done | |
Solving environment: ...working... done | |
## Package Plan ## | |
environment location: /home/goldbaum/miniconda3/envs/test-environment | |
added / updated specs: | |
- cpuonly | |
- python=3.7 |
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
UnsatisfiableError: The following specifications were found to be incompatible with each other: | |
Package mkl conflicts for: | |
pytorch -> mkl[version='>=2018'] | |
Package libstdcxx-ng conflicts for: | |
python=3.7 -> libstdcxx-ng[version='>=7.2.0|>=7.3.0'] | |
Package python conflicts for: | |
pytorch -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0'] |
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
--- python_nn_functions_old.cpp 2020-02-12 20:49:49.470685646 -0600 | |
+++ python_nn_functions_new.cpp 2020-02-12 20:50:21.507428604 -0600 | |
@@ -53,6 +53,160 @@ | |
END_HANDLE_TH_ERRORS | |
} | |
+// generated forward declarations start here | |
+ | |
+static PyObject * THPVariable_adaptive_avg_pool2d(PyObject* self_, PyObject* args, PyObject* kwargs); | |
+static PyObject * THPVariable_adaptive_avg_pool3d(PyObject* self_, PyObject* args, PyObject* kwargs); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder