summaryrefslogtreecommitdiff
path: root/opendc-experiments/opendc-experiments-tf20/build.gradle.kts
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-09 23:08:36 +0200
committerGitHub <noreply@github.com>2021-05-09 23:08:36 +0200
commit5e3c9c7ea285ab834b5d5e6dbe6cdf16a73695fd (patch)
tree66a154d5e309bd5cbcc4b8afb3f9b9ed4b725594 /opendc-experiments/opendc-experiments-tf20/build.gradle.kts
parent1387e68a48a00758ae2634de6eb81944d565aec4 (diff)
parent763c1f43141f9fcdf80156548efb33e1df7586e4 (diff)
exp: Add TensorFlow experiment
This pull request merges the TensorFlow model into the OpenDC codebase. The model has seen a few changes in order to fit into the current code-base. * Add model for the high-level Keras library. * Model TensorFlow compute devices * Add simple network model for TensorFlow experiments * Add simple environment reader for experiment setups * Model distribution strategies for TensorFlow
Diffstat (limited to 'opendc-experiments/opendc-experiments-tf20/build.gradle.kts')
-rw-r--r--opendc-experiments/opendc-experiments-tf20/build.gradle.kts46
1 files changed, 46 insertions, 0 deletions
diff --git a/opendc-experiments/opendc-experiments-tf20/build.gradle.kts b/opendc-experiments/opendc-experiments-tf20/build.gradle.kts
new file mode 100644
index 00000000..64483bd4
--- /dev/null
+++ b/opendc-experiments/opendc-experiments-tf20/build.gradle.kts
@@ -0,0 +1,46 @@
+/*
+ * Copyright (c) 2021 AtLarge Research
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+description = "Experiments with the OpenDC TensorFlow model"
+
+/* Build configuration */
+plugins {
+ `experiment-conventions`
+ `testing-conventions`
+}
+
+dependencies {
+ api(platform(projects.opendcPlatform))
+ api(projects.opendcHarness.opendcHarnessApi)
+ implementation(projects.opendcSimulator.opendcSimulatorCore)
+ implementation(projects.opendcSimulator.opendcSimulatorCompute)
+ implementation(projects.opendcTelemetry.opendcTelemetrySdk)
+ implementation(projects.opendcFormat)
+ implementation(projects.opendcUtils)
+
+ implementation(libs.kotlin.logging)
+ implementation(libs.parquet)
+ implementation(libs.hadoop.client) {
+ exclude(group = "org.slf4j", module = "slf4j-log4j12")
+ exclude(group = "log4j")
+ }
+}