mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-05-04 08:42:08 +00:00
test(neuron): remove erroneous line
This commit is contained in:
parent
f6859c4179
commit
e783f88dc5
@ -190,7 +190,7 @@ def maybe_export_model(config_name, model_config):
|
|||||||
logger.debug("Build logs %s", logs)
|
logger.debug("Build logs %s", logs)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
container = client.containers.run(
|
client.containers.run(
|
||||||
export_image,
|
export_image,
|
||||||
environment=env,
|
environment=env,
|
||||||
auto_remove=True,
|
auto_remove=True,
|
||||||
@ -199,7 +199,6 @@ def maybe_export_model(config_name, model_config):
|
|||||||
shm_size="1G",
|
shm_size="1G",
|
||||||
)
|
)
|
||||||
logger.info(f"Successfully exported model for config {config_name}")
|
logger.info(f"Successfully exported model for config {config_name}")
|
||||||
container.logs()
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception(f"An exception occurred while running container: {e}.")
|
logger.exception(f"An exception occurred while running container: {e}.")
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user