Skip to content

Commit

Permalink
Release: v1.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
regisss committed Dec 25, 2024
1 parent aee39ed commit f0438ae
Show file tree
Hide file tree
Showing 30 changed files with 31 additions and 31 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ The `--upgrade-strategy eager` option is needed to ensure `optimum-habana` is up
To use the example associated with the latest stable release, run:
> ```
> git clone https://github.com/huggingface/optimum-habana
> cd optimum-habana && git checkout v1.14.0
> cd optimum-habana && git checkout v1.15.0
> ```
> with `v1.14.0` the version number of this release.
> with `v1.15.0` the version number of this release.
### Option 2: Use the latest main branch under development
Expand Down
2 changes: 1 addition & 1 deletion docs/source/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ At the time of writing this guide, latest Optimum for Intel Gaudi release versio
version 1.19.0. Install Optimum for Intel Gaudi as follows:

```bash
git clone -b v1.14.0 https://github.com/huggingface/optimum-habana
git clone -b v1.15.0 https://github.com/huggingface/optimum-habana
pip install ./optimum-habana
```

Expand Down
2 changes: 1 addition & 1 deletion examples/audio-classification/run_audio_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=1.14.0", "To fix: pip install -r examples/pytorch/audio-classification/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion examples/contrastive-image-text/run_bridgetower.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/contrastive-image-text/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion examples/contrastive-image-text/run_clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/contrastive-image-text/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion examples/image-classification/run_image_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=2.14.0", "To fix: pip install -r examples/pytorch/image-classification/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion examples/language-modeling/run_clm.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=2.14.0", "To fix: pip install -r examples/pytorch/language-modeling/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion examples/language-modeling/run_lora_clm.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def check_optimum_habana_min_version(*a, **b):
logger = logging.getLogger(__name__)

# Will error if the minimal version of Optimum Habana is not installed. Remove at your own risks.
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")


@dataclass
Expand Down
2 changes: 1 addition & 1 deletion examples/language-modeling/run_mlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=2.14.0", "To fix: pip install -r examples/pytorch/language-modeling/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion examples/language-modeling/run_multitask_prompt_tuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risk.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/language-modeling/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion examples/language-modeling/run_prompt_tuning_clm.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/language-modeling/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion examples/protein-folding/run_esmfold.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def check_optimum_habana_min_version(*a, **b):


# Will error if the minimal version of Optimum Habana is not installed. Remove at your own risks.
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")


def convert_outputs_to_pdb(outputs):
Expand Down
2 changes: 1 addition & 1 deletion examples/protein-folding/run_sequence_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def check_optimum_habana_min_version(*a, **b):


# Will error if the minimal version of Optimum Habana is not installed. Remove at your own risks.
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion examples/protein-folding/run_zero_shot_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def check_optimum_habana_min_version(*a, **b):


# Will error if the minimal version of Optimum Habana is not installed. Remove at your own risks.
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")


logging.basicConfig(
Expand Down
2 changes: 1 addition & 1 deletion examples/question-answering/run_qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion examples/question-answering/run_seq2seq_qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion examples/speech-recognition/run_speech_recognition_ctc.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=1.18.0", "To fix: pip install -r examples/pytorch/speech-recognition/requirements.txt")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=1.18.0", "To fix: pip install -r examples/pytorch/speech-recognition/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion examples/stable-diffusion/depth_to_image_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def check_optimum_habana_min_version(*a, **b):


# Will error if the minimal version of Optimum Habana is not installed. Remove at your own risks.
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")


logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion examples/stable-diffusion/image_to_image_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def check_optimum_habana_min_version(*a, **b):


# Will error if the minimal version of Optimum Habana is not installed. Remove at your own risks.
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")


logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion examples/stable-diffusion/image_to_video_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def check_optimum_habana_min_version(*a, **b):


# Will error if the minimal version of Optimum Habana is not installed. Remove at your own risks.
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")


logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion examples/stable-diffusion/text_to_image_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def check_optimum_habana_min_version(*a, **b):


# Will error if the minimal version of Optimum Habana is not installed. Remove at your own risks.
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")


logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion examples/stable-diffusion/training/train_controlnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def check_optimum_habana_min_version(*a, **b):


# Will error if the minimal version of Optimum Habana is not installed. Remove at your own risks.
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")
if is_wandb_available():
import wandb

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def check_optimum_habana_min_version(*a, **b):


check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

# Setup logging
logging.basicConfig(
Expand Down
2 changes: 1 addition & 1 deletion examples/summarization/run_summarization.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/summarization/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion examples/text-classification/run_glue.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/text-classification/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion examples/text-to-video/text_to_video_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def check_optimum_habana_min_version(*a, **b):


# Will error if the minimal version of Optimum Habana is not installed. Remove at your own risks.
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")


logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion examples/translation/run_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def check_optimum_habana_min_version(*a, **b):

# Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks.
check_min_version("4.45.0")
check_optimum_habana_min_version("1.14.0.dev0")
check_optimum_habana_min_version("1.15.0")

require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/translation/requirements.txt")

Expand Down
2 changes: 1 addition & 1 deletion optimum/habana/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev0"
__version__ = "1.15.0"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

QUALITY_REQUIRES = [
"ruff",
"hf_doc_builder @ git+https://github.com/huggingface/doc-builder.git",
"hf_doc_builder",
]

EXTRAS_REQUIRE = {
Expand Down

0 comments on commit f0438ae

Please sign in to comment.