Skip to content

Commit

Permalink
Merge pull request #280 from macrocosm-os/hotfix/fix-logging
Browse files Browse the repository at this point in the history
Change event logging
  • Loading branch information
bkb2135 authored Jun 24, 2024
2 parents 0722eda + 18ed24e commit 8f25144
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prompting/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# DEALINGS IN THE SOFTWARE.

# Define the version of the template module.
__version__ = "2.5.0"
__version__ = "2.5.1"
version_split = __version__.split(".")
__spec_version__ = (
(10000 * int(version_split[0]))
Expand Down
2 changes: 1 addition & 1 deletion prompting/utils/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def reinit_wandb(self):

def log_event(self, event):
if not self.config.neuron.dont_save_events:
logger.log(38, "events", **event)
logger.log(38, event)

if self.config.wandb.off:
return
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ argostranslate==1.9.6
python-dotenv
wikipedia_sections
vllm
loguru
argostranslate
transformers==4.41.2
autoawq==0.2.5

0 comments on commit 8f25144

Please sign in to comment.