You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2022/05/13 22:21:32 UTC

[tvm] branch areusch/freeze-dependencies updated (c09dc0a06b -> 942d2c2094)

This is an automated email from the ASF dual-hosted git repository.

areusch pushed a change to branch areusch/freeze-dependencies
in repository https://gitbox.apache.org/repos/asf/tvm.git


    from c09dc0a06b freeze py deps
     new 4130879d7e downgrade black due to tensorflow-gpu
     new 942d2c2094 fix jenkinsfile

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Jenkinsfile                      | 17 ++++++++++-------
 docker/python/ci-constraints.txt |  2 +-
 jenkins/Jenkinsfile.j2           | 15 +++++++++------
 3 files changed, 20 insertions(+), 14 deletions(-)


[tvm] 01/02: downgrade black due to tensorflow-gpu

Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

areusch pushed a commit to branch areusch/freeze-dependencies
in repository https://gitbox.apache.org/repos/asf/tvm.git

commit 4130879d7e8e4c932a19fe6c9c6f7f0be464af47
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Fri May 13 15:21:09 2022 -0700

    downgrade black due to tensorflow-gpu
---
 docker/python/ci-constraints.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/python/ci-constraints.txt b/docker/python/ci-constraints.txt
index c7971c9680..42e3ecb301 100644
--- a/docker/python/ci-constraints.txt
+++ b/docker/python/ci-constraints.txt
@@ -6,7 +6,7 @@
 #keras = "^2.6.0"
 #mxnet = "^1.6.0"
 
-black = "==22.3.0"
+black = "<21.8b0"  # Breaks tensorflow-gpu. Revisit when tensorflow is upgraded.
 blocklint = "==0.2.3"
 #commonmark = ">=0.7.3"
 cpplint = "==1.6.0"


[tvm] 02/02: fix jenkinsfile

Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

areusch pushed a commit to branch areusch/freeze-dependencies
in repository https://gitbox.apache.org/repos/asf/tvm.git

commit 942d2c20943cc162570fa95f15ce8d4c173c06f2
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Fri May 13 15:21:20 2022 -0700

    fix jenkinsfile
---
 Jenkinsfile            | 17 ++++++++++-------
 jenkins/Jenkinsfile.j2 | 15 +++++++++------
 2 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 9d3a4c35bd..1226ae6b29 100755
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -45,7 +45,7 @@
 // 'python3 jenkins/generate.py'
 // Note: This timestamp is here to ensure that updates to the Jenkinsfile are
 // always rebased on main before merging:
-// Generated at 2022-05-13T14:05:46.407588
+// Generated at 2022-05-13T15:21:06.701453
 
 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
 // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. -->
@@ -332,12 +332,15 @@ def freeze_python_deps() {
     script: "docker/build.sh ci_py_deps",
     label: "Build image for ci_py_deps"
   )
-  sh(
-    script: "docker/python/freeze-dependencies.sh",
-    label: "Build image for ci_py_deps"
-  )
-  archiveArtifacts artifacts: "docker/build/base_${arch_name}/**", fingerprint: true
-  pack_lib("${arch_name}-lockfiles", "docker/python/build/**")
+  try {
+    sh(
+      script: "docker/python/freeze-dependencies.sh",
+      label: "Build image for ci_py_deps"
+    )
+  } finally {
+    archiveArtifacts artifacts: "docker/python/build/**", fingerprint: true
+    pack_lib("${arch_name}-lockfiles", "docker/python/build/**")
+  }
 }
 
 def build_image(arch_name, image_name) {
diff --git a/jenkins/Jenkinsfile.j2 b/jenkins/Jenkinsfile.j2
index d7284eaa2f..138b95582b 100644
--- a/jenkins/Jenkinsfile.j2
+++ b/jenkins/Jenkinsfile.j2
@@ -249,12 +249,15 @@ def freeze_python_deps() {
     script: "docker/build.sh ci_py_deps",
     label: "Build image for ci_py_deps"
   )
-  sh(
-    script: "docker/python/freeze-dependencies.sh",
-    label: "Build image for ci_py_deps"
-  )
-  archiveArtifacts artifacts: "docker/build/base_${arch_name}/**", fingerprint: true
-  pack_lib("${arch_name}-lockfiles", "docker/python/build/**")
+  try {
+    sh(
+      script: "docker/python/freeze-dependencies.sh",
+      label: "Build image for ci_py_deps"
+    )
+  } finally {
+    archiveArtifacts artifacts: "docker/python/build/**", fingerprint: true
+    pack_lib("${arch_name}-lockfiles", "docker/python/build/**")
+  }
 }
 
 def build_image(arch_name, image_name) {