kohya-ss / kohya-ss/sd-scripts

Using FP8 mixed-precision in accelerate give error. Where and how do I install the necessary packages?

Open
#1,553 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

As per title, I'm experimenting with 8gb gpu training and would like to use fp8 precision for speed improvement but I have this error:

ValueError: Using `fp8` precision requires `transformer_engine` or `MS-AMP` to be installed.

Is there a way to install this packages?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the FP8 precision handling and the installation guidance for `transformer_engine` or `MS-AMP`. Document the supported package installation steps and any relevant requirements so users can resolve the reported ValueError; done means the FP8 setup instructions are clear and reproducible.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.