Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
xyang16 committed Mar 17, 2023
1 parent 7a6f330 commit fd69513
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/spark/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ADD https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/${PROTOBUF_

RUN chmod -R +r /usr/lib/spark/jars/

RUN echo 'export SPARK_JAVA_OPTS ="$SPARK_JAVA_OPTS -Dai.djl.pytorch.graph_optimizer=false"' >> /usr/lib/spark/conf/spark-env.sh
RUN echo 'export SPARK_JAVA_OPTS="$SPARK_JAVA_OPTS -Dai.djl.pytorch.graph_optimizer=false"' >> /usr/lib/spark/conf/spark-env.sh

# Set environment
ENV PYTORCH_PRECXX11 true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
* with the License. A copy of the License is located at
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
* with the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/

/** Contains translators for audio processing. */
package ai.djl.audio.translator;
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import org.apache.spark.ml.util.Identifiable

/**
* WhisperSpeechRecognizer is very similar to the SpeechRecognizer that performs speech recognition on audio,
* except that this API is specially tailored for Whisper related models.
* except that this API is specially tailored for OpenAI Whisper related models.
*
* @param uid An immutable unique ID for the object and its derivatives.
*/
Expand Down

0 comments on commit fd69513

Please sign in to comment.