mirror of
				https://github.com/hiyouga/LLaMA-Factory.git
				synced 2025-11-04 18:02:19 +08:00 
			
		
		
		
	update wechat
Former-commit-id: 11a9d96a042e8afd972e0bf2fa3e51f95e4799ec
This commit is contained in:
		
							parent
							
								
									cca6286b6f
								
							
						
					
					
						commit
						0eeae9061c
					
				@ -1,11 +1,11 @@
 | 
			
		||||
name: "\U0001F41B Bug / Help"
 | 
			
		||||
name: "\U0001F41B Bug / help"
 | 
			
		||||
description: Create a report to help us improve the LLaMA Factory
 | 
			
		||||
body:
 | 
			
		||||
  - type: markdown
 | 
			
		||||
    attributes:
 | 
			
		||||
      value: |
 | 
			
		||||
        Issues included in **FAQs** or those with **insufficient** information may be closed without a response.
 | 
			
		||||
        包含在**常见问题**内或提供信息**不完整**的 issues 可能不会被回复。
 | 
			
		||||
        Issues included in **[FAQs](https://github.com/hiyouga/LLaMA-Factory/issues/4614)** or those with **insufficient** information may be closed without a response.
 | 
			
		||||
        包含在 **[常见问题](https://github.com/hiyouga/LLaMA-Factory/issues/4614)** 内或提供信息**不完整**的 issues 可能不会被回复。
 | 
			
		||||
 | 
			
		||||
  - type: checkboxes
 | 
			
		||||
    id: reminder
 | 
			
		||||
@ -38,26 +38,16 @@ body:
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: Reproduction
 | 
			
		||||
      description: |
 | 
			
		||||
        Please provide code snippets, error messages and stack traces that reproduces the problem.
 | 
			
		||||
        请提供运行参数,错误信息以及异常堆栈以便于我们复现该问题。
 | 
			
		||||
        Remember to use Markdown tags to correctly format your code.
 | 
			
		||||
        请合理使用 Markdown 标签来格式化您的文本。
 | 
			
		||||
        Please provide entry arguments, error messages and stack traces that reproduces the problem.
 | 
			
		||||
        请提供入口参数,错误日志以及异常堆栈以便于我们复现问题。
 | 
			
		||||
        Remember to wrap your log messages with \`\`\`.
 | 
			
		||||
        请务必使用 Markdown 标签 \`\`\` 来包裹您的日志信息。
 | 
			
		||||
 | 
			
		||||
      placeholder: |
 | 
			
		||||
        ```bash
 | 
			
		||||
        llamafactory-cli train ...
 | 
			
		||||
      value: |
 | 
			
		||||
        ```text
 | 
			
		||||
        Put your message here.
 | 
			
		||||
        ```
 | 
			
		||||
 | 
			
		||||
  - type: textarea
 | 
			
		||||
    id: expected-behavior
 | 
			
		||||
    validations:
 | 
			
		||||
      required: false
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: Expected behavior
 | 
			
		||||
      description: |
 | 
			
		||||
        Please provide a clear and concise description of what you would expect to happen.
 | 
			
		||||
        请提供您原本的目的,即这段代码的期望行为。
 | 
			
		||||
 | 
			
		||||
  - type: textarea
 | 
			
		||||
    id: others
 | 
			
		||||
    validations:
 | 
			
		||||
							
								
								
									
										23
									
								
								.github/ISSUE_TEMPLATE/2-feature-request.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.github/ISSUE_TEMPLATE/2-feature-request.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
			
		||||
name: "\U0001F680 Feature request"
 | 
			
		||||
description: Submit a request for a new feature
 | 
			
		||||
labels: ["enhancement"]
 | 
			
		||||
body:
 | 
			
		||||
  - type: textarea
 | 
			
		||||
    id: description
 | 
			
		||||
    validations:
 | 
			
		||||
      required: true
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: Description
 | 
			
		||||
      description: |
 | 
			
		||||
        A clear and concise description of the feature proposal.
 | 
			
		||||
        请详细描述您希望加入的新功能特性。
 | 
			
		||||
 | 
			
		||||
  - type: textarea
 | 
			
		||||
    id: contribution
 | 
			
		||||
    validations:
 | 
			
		||||
      required: false
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: Pull Request
 | 
			
		||||
      description: |
 | 
			
		||||
        Have you already created the relevant PR and submitted the code?
 | 
			
		||||
        您是否已经创建了相关 PR 并提交了代码?
 | 
			
		||||
							
								
								
									
										1
									
								
								.github/ISSUE_TEMPLATE/config.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.github/ISSUE_TEMPLATE/config.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
			
		||||
blank_issues_enabled: false
 | 
			
		||||
@ -23,10 +23,10 @@ ARG HTTP_PROXY=
 | 
			
		||||
WORKDIR /app
 | 
			
		||||
 | 
			
		||||
# Set http proxy
 | 
			
		||||
RUN if [ -n "$HTTP_PROXY" ]; then \  
 | 
			
		||||
        echo "Configuring proxy..."; \  
 | 
			
		||||
        export http_proxy=$HTTP_PROXY; \  
 | 
			
		||||
        export https_proxy=$HTTP_PROXY; \  
 | 
			
		||||
RUN if [ -n "$HTTP_PROXY" ]; then \
 | 
			
		||||
        echo "Configuring proxy..."; \
 | 
			
		||||
        export http_proxy=$HTTP_PROXY; \
 | 
			
		||||
        export https_proxy=$HTTP_PROXY; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
# Install the requirements
 | 
			
		||||
@ -34,10 +34,10 @@ COPY requirements.txt /app
 | 
			
		||||
RUN pip config set global.index-url "$PIP_INDEX" && \
 | 
			
		||||
    pip config set global.extra-index-url "$PIP_INDEX" && \
 | 
			
		||||
    python -m pip install --upgrade pip && \
 | 
			
		||||
    if [ -n "$HTTP_PROXY" ]; then \  
 | 
			
		||||
        python -m pip install --proxy=$HTTP_PROXY -r requirements.txt; \  
 | 
			
		||||
    else \  
 | 
			
		||||
        python -m pip install -r requirements.txt; \  
 | 
			
		||||
    if [ -n "$HTTP_PROXY" ]; then \
 | 
			
		||||
        python -m pip install --proxy=$HTTP_PROXY -r requirements.txt; \
 | 
			
		||||
    else \
 | 
			
		||||
        python -m pip install -r requirements.txt; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
# Copy the rest of the application into the image
 | 
			
		||||
@ -63,10 +63,10 @@ RUN EXTRA_PACKAGES="metrics"; \
 | 
			
		||||
    if [ "$INSTALL_EETQ" == "true" ]; then \
 | 
			
		||||
        EXTRA_PACKAGES="${EXTRA_PACKAGES},eetq"; \
 | 
			
		||||
    fi; \
 | 
			
		||||
    if [ -n "$HTTP_PROXY" ]; then \  
 | 
			
		||||
        pip install --proxy=$HTTP_PROXY -e ".[$EXTRA_PACKAGES]"; \  
 | 
			
		||||
    else \  
 | 
			
		||||
        pip install -e ".[$EXTRA_PACKAGES]"; \  
 | 
			
		||||
    if [ -n "$HTTP_PROXY" ]; then \
 | 
			
		||||
        pip install --proxy=$HTTP_PROXY -e ".[$EXTRA_PACKAGES]"; \
 | 
			
		||||
    else \
 | 
			
		||||
        pip install -e ".[$EXTRA_PACKAGES]"; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
# Rebuild flash attention
 | 
			
		||||
@ -76,8 +76,8 @@ RUN pip uninstall -y transformer-engine flash-attn && \
 | 
			
		||||
        if [ -n "$HTTP_PROXY" ]; then \
 | 
			
		||||
            pip install --proxy=$HTTP_PROXY ninja && \
 | 
			
		||||
            pip install --proxy=$HTTP_PROXY --no-cache-dir flash-attn --no-build-isolation; \
 | 
			
		||||
        else \  
 | 
			
		||||
            pip install ninja && \  
 | 
			
		||||
        else \
 | 
			
		||||
            pip install ninja && \
 | 
			
		||||
            pip install --no-cache-dir flash-attn --no-build-isolation; \
 | 
			
		||||
        fi; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
@ -18,10 +18,10 @@ ARG HTTP_PROXY=
 | 
			
		||||
WORKDIR /app
 | 
			
		||||
 | 
			
		||||
# Set http proxy
 | 
			
		||||
RUN if [ -n "$HTTP_PROXY" ]; then \  
 | 
			
		||||
        echo "Configuring proxy..."; \  
 | 
			
		||||
        export http_proxy=$HTTP_PROXY; \  
 | 
			
		||||
        export https_proxy=$HTTP_PROXY; \  
 | 
			
		||||
RUN if [ -n "$HTTP_PROXY" ]; then \
 | 
			
		||||
        echo "Configuring proxy..."; \
 | 
			
		||||
        export http_proxy=$HTTP_PROXY; \
 | 
			
		||||
        export https_proxy=$HTTP_PROXY; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
# Install the requirements
 | 
			
		||||
@ -29,10 +29,10 @@ COPY requirements.txt /app
 | 
			
		||||
RUN pip config set global.index-url "$PIP_INDEX" && \
 | 
			
		||||
    pip config set global.extra-index-url "$TORCH_INDEX" && \
 | 
			
		||||
    python -m pip install --upgrade pip && \
 | 
			
		||||
    if [ -n "$HTTP_PROXY" ]; then \  
 | 
			
		||||
        python -m pip install --proxy=$HTTP_PROXY -r requirements.txt; \  
 | 
			
		||||
    else \  
 | 
			
		||||
        python -m pip install -r requirements.txt; \  
 | 
			
		||||
    if [ -n "$HTTP_PROXY" ]; then \
 | 
			
		||||
        python -m pip install --proxy=$HTTP_PROXY -r requirements.txt; \
 | 
			
		||||
    else \
 | 
			
		||||
        python -m pip install -r requirements.txt; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
# Copy the rest of the application into the image
 | 
			
		||||
@ -43,10 +43,10 @@ RUN EXTRA_PACKAGES="torch-npu,metrics"; \
 | 
			
		||||
    if [ "$INSTALL_DEEPSPEED" == "true" ]; then \
 | 
			
		||||
        EXTRA_PACKAGES="${EXTRA_PACKAGES},deepspeed"; \
 | 
			
		||||
    fi; \
 | 
			
		||||
    if [ -n "$HTTP_PROXY" ]; then \  
 | 
			
		||||
        pip install --proxy=$HTTP_PROXY -e ".[$EXTRA_PACKAGES]"; \  
 | 
			
		||||
    else \  
 | 
			
		||||
        pip install -e ".[$EXTRA_PACKAGES]"; \  
 | 
			
		||||
    if [ -n "$HTTP_PROXY" ]; then \
 | 
			
		||||
        pip install --proxy=$HTTP_PROXY -e ".[$EXTRA_PACKAGES]"; \
 | 
			
		||||
    else \
 | 
			
		||||
        pip install -e ".[$EXTRA_PACKAGES]"; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
# Unset http proxy
 | 
			
		||||
 | 
			
		||||
@ -19,10 +19,10 @@ ARG HTTP_PROXY=
 | 
			
		||||
WORKDIR /app
 | 
			
		||||
 | 
			
		||||
# Set http proxy
 | 
			
		||||
RUN if [ -n "$HTTP_PROXY" ]; then \  
 | 
			
		||||
        echo "Configuring proxy..."; \  
 | 
			
		||||
        export http_proxy=$HTTP_PROXY; \  
 | 
			
		||||
        export https_proxy=$HTTP_PROXY; \  
 | 
			
		||||
RUN if [ -n "$HTTP_PROXY" ]; then \
 | 
			
		||||
        echo "Configuring proxy..."; \
 | 
			
		||||
        export http_proxy=$HTTP_PROXY; \
 | 
			
		||||
        export https_proxy=$HTTP_PROXY; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
# Install the requirements
 | 
			
		||||
@ -30,10 +30,10 @@ COPY requirements.txt /app
 | 
			
		||||
RUN pip config set global.index-url "$PIP_INDEX" && \
 | 
			
		||||
    pip config set global.extra-index-url "$PIP_INDEX" && \
 | 
			
		||||
    python -m pip install --upgrade pip && \
 | 
			
		||||
    if [ -n "$HTTP_PROXY" ]; then \  
 | 
			
		||||
        python -m pip install --proxy=$HTTP_PROXY -r requirements.txt; \  
 | 
			
		||||
    else \  
 | 
			
		||||
        python -m pip install -r requirements.txt; \  
 | 
			
		||||
    if [ -n "$HTTP_PROXY" ]; then \
 | 
			
		||||
        python -m pip install --proxy=$HTTP_PROXY -r requirements.txt; \
 | 
			
		||||
    else \
 | 
			
		||||
        python -m pip install -r requirements.txt; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
# Copy the rest of the application into the image
 | 
			
		||||
@ -56,10 +56,10 @@ RUN EXTRA_PACKAGES="metrics"; \
 | 
			
		||||
    if [ "$INSTALL_HQQ" == "true" ]; then \
 | 
			
		||||
        EXTRA_PACKAGES="${EXTRA_PACKAGES},hqq"; \
 | 
			
		||||
    fi; \
 | 
			
		||||
    if [ -n "$HTTP_PROXY" ]; then \  
 | 
			
		||||
        pip install --proxy=$HTTP_PROXY -e ".[$EXTRA_PACKAGES]"; \  
 | 
			
		||||
    else \  
 | 
			
		||||
        pip install -e ".[$EXTRA_PACKAGES]"; \  
 | 
			
		||||
    if [ -n "$HTTP_PROXY" ]; then \
 | 
			
		||||
        pip install --proxy=$HTTP_PROXY -e ".[$EXTRA_PACKAGES]"; \
 | 
			
		||||
    else \
 | 
			
		||||
        pip install -e ".[$EXTRA_PACKAGES]"; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
# Rebuild flash attention
 | 
			
		||||
@ -69,8 +69,8 @@ RUN pip uninstall -y transformer-engine flash-attn && \
 | 
			
		||||
        if [ -n "$HTTP_PROXY" ]; then \
 | 
			
		||||
            pip install --proxy=$HTTP_PROXY ninja && \
 | 
			
		||||
            pip install --proxy=$HTTP_PROXY --no-cache-dir flash-attn --no-build-isolation; \
 | 
			
		||||
        else \  
 | 
			
		||||
            pip install ninja && \  
 | 
			
		||||
        else \
 | 
			
		||||
            pip install ninja && \
 | 
			
		||||
            pip install --no-cache-dir flash-attn --no-build-isolation; \
 | 
			
		||||
        fi; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user