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/build.gradle.kts | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 opendc-experiments/opendc-experiments-tf20/build.gradle.kts (limited to 'opendc-experiments/opendc-experiments-tf20/build.gradle.kts') 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 From 89895e068bd3434bba18194c69a5bfb96f1d18ee Mon Sep 17 00:00:00 2001 From: Wenchen Lai Date: Fri, 7 May 2021 20:48:03 +0200 Subject: exp: Add environment reader for TensorFlow experiments This change adds a reader for the environment/topology format that is used for the TensorFlow experiments in OpenDC. --- opendc-experiments/opendc-experiments-tf20/build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'opendc-experiments/opendc-experiments-tf20/build.gradle.kts') diff --git a/opendc-experiments/opendc-experiments-tf20/build.gradle.kts b/opendc-experiments/opendc-experiments-tf20/build.gradle.kts index 51e167cc..3ee5462a 100644 --- a/opendc-experiments/opendc-experiments-tf20/build.gradle.kts +++ b/opendc-experiments/opendc-experiments-tf20/build.gradle.kts @@ -34,8 +34,9 @@ dependencies { implementation(projects.opendcSimulator.opendcSimulatorCore) implementation(projects.opendcSimulator.opendcSimulatorCompute) implementation(projects.opendcTelemetry.opendcTelemetrySdk) - implementation(libs.kotlin.logging) + implementation(projects.opendcFormat) + implementation(libs.kotlin.logging) implementation(libs.parquet) implementation(libs.hadoop.client) { exclude(group = "org.slf4j", module = "slf4j-log4j12") -- cgit v1.2.3 From 052f2b4a80c737e0a3fc38c5facdec5472931aeb Mon Sep 17 00:00:00 2001 From: Wenchen Lai Date: Fri, 7 May 2021 21:07:40 +0200 Subject: exp: Add simple network model for TensorFlow experiments --- opendc-experiments/opendc-experiments-tf20/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) (limited to 'opendc-experiments/opendc-experiments-tf20/build.gradle.kts') diff --git a/opendc-experiments/opendc-experiments-tf20/build.gradle.kts b/opendc-experiments/opendc-experiments-tf20/build.gradle.kts index 3ee5462a..64483bd4 100644 --- a/opendc-experiments/opendc-experiments-tf20/build.gradle.kts +++ b/opendc-experiments/opendc-experiments-tf20/build.gradle.kts @@ -35,6 +35,7 @@ dependencies { implementation(projects.opendcSimulator.opendcSimulatorCompute) implementation(projects.opendcTelemetry.opendcTelemetrySdk) implementation(projects.opendcFormat) + implementation(projects.opendcUtils) implementation(libs.kotlin.logging) implementation(libs.parquet) -- cgit v1.2.3