From 85182421ea7af0ec750a01c17888bc7cf4405a7c Mon Sep 17 00:00:00 2001 From: Wenchen Lai Date: Fri, 7 May 2021 13:43:11 +0200 Subject: exp: Add TensorFlow experiment setup This change adds the initial experiment setup for the TensorFlow on OpenDC experiments. --- .../opendc-experiments-tf20/README.md | 7 ++++ .../opendc-experiments-tf20/build.gradle.kts | 44 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 opendc-experiments/opendc-experiments-tf20/README.md create mode 100644 opendc-experiments/opendc-experiments-tf20/build.gradle.kts (limited to 'opendc-experiments') diff --git a/opendc-experiments/opendc-experiments-tf20/README.md b/opendc-experiments/opendc-experiments-tf20/README.md new file mode 100644 index 00000000..ddbff945 --- /dev/null +++ b/opendc-experiments/opendc-experiments-tf20/README.md @@ -0,0 +1,7 @@ +TensorFlow with OpenDC +================= + +This module contains a reproduction of the experiments of Wenchen Lai's MSc Computer Science thesis: +Modeling and Simulation of the Google TensorFlow Ecosystem [1] + +[1] https://atlarge-research.com/pdfs/lai2020thesis.pdf 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..51e167cc --- /dev/null +++ b/opendc-experiments/opendc-experiments-tf20/build.gradle.kts @@ -0,0 +1,44 @@ +/* + * 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(libs.kotlin.logging) + + implementation(libs.parquet) + implementation(libs.hadoop.client) { + exclude(group = "org.slf4j", module = "slf4j-log4j12") + exclude(group = "log4j") + } +} -- cgit v1.2.3