Skip to content

Commit

Permalink
final updates ahead of initial publication
Browse files Browse the repository at this point in the history
  • Loading branch information
bryansmith-db committed Aug 8, 2024
1 parent e42ba34 commit 94a2f65
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions 04a_timegpt_load_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,22 @@

# COMMAND ----------

# MAGIC %md
# MAGIC ##Set the logging level

# COMMAND ----------

import logging

logger = spark._jvm.org.apache.log4j

# Setting the logging level to ERROR for the "py4j.java_gateway" logger
# This reduces the verbosity of the logs by only showing error messages
logging.getLogger("py4j.java_gateway").setLevel(logging.ERROR)
logging.getLogger("py4j.clientserver").setLevel(logging.ERROR)

# COMMAND ----------

# MAGIC %md
# MAGIC ## Record the TimeGen-1 Endpoint Target URI

Expand Down
16 changes: 16 additions & 0 deletions 04b_timegpt_fine_tune.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@

# COMMAND ----------

# MAGIC %md
# MAGIC ##Set the logging level

# COMMAND ----------

import logging

logger = spark._jvm.org.apache.log4j

# Setting the logging level to ERROR for the "py4j.java_gateway" logger
# This reduces the verbosity of the logs by only showing error messages
logging.getLogger("py4j.java_gateway").setLevel(logging.ERROR)
logging.getLogger("py4j.clientserver").setLevel(logging.ERROR)

# COMMAND ----------

# MAGIC %md
# MAGIC ## Record the TimeGen-1 Endpoint Target URI

Expand Down

0 comments on commit 94a2f65

Please sign in to comment.