mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-24 12:10:09 +01:00
add debug info
This commit is contained in:
@@ -286,6 +286,7 @@ class LLMImageBuilder(Builder):
|
||||
args.autogptq_version = '0.7.1'
|
||||
if not args.flashattn_version:
|
||||
args.flashattn_version = '2.7.1.post4'
|
||||
print(f'>>Debug args: {args}')
|
||||
return args
|
||||
|
||||
def generate_dockerfile(self) -> str:
|
||||
@@ -317,6 +318,8 @@ class LLMImageBuilder(Builder):
|
||||
content = content.replace('{modelscope_branch}',
|
||||
self.args.modelscope_branch)
|
||||
content = content.replace('{swift_branch}', self.args.swift_branch)
|
||||
|
||||
print(f'>>Debug content for llm-image: \n{content}\n\n')
|
||||
return content
|
||||
|
||||
def image(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user