Skip to content

Commit

Permalink
Fix minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbenayoun committed Feb 15, 2024
1 parent 39c9a02 commit 230458f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@

include README.md
include LICENSE
include optimum/neuron/utils/neuron_cc_wrapper
2 changes: 2 additions & 0 deletions optimum/neuron/utils/hub_neuronx_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ def patch(restore: bool = False):
patch()
xm.rendezvous("Patch neuron_cc_wrapper")
yield
except Exception as e:
raise e
finally:
if xm.get_ordinal() == 0:
patch(restore=True)
Expand Down
2 changes: 1 addition & 1 deletion optimum/neuron/utils/neuron_cc_wrapper
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
##!/usr/bin/env python3
# -*- coding: utf-8 -*-
import re
import sys
Expand Down

0 comments on commit 230458f

Please sign in to comment.