GithubHelp home page GithubHelp logo

Comments (3)

miguelgfierro avatar miguelgfierro commented on June 8, 2024

Still the same error in nightly GPU: https://github.com/recommenders-team/recommenders/actions/runs/8372395934/job/22923293913

2024-03-21 09:53:25.709498: W external/local_tsl/tsl/framework/bfc_allocator.cc:497] ********____***_____*_____*****************___*____*____***************************************xxxxx
2024-03-21 09:53:25.709518: W tensorflow/core/framework/op_kernel.cc:1839] OP_REQUIRES failed at conv_grad_input_ops.cc:345 : RESOURCE_EXHAUSTED: OOM when allocating tensor with shape[10000,1,10,300] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
_ test_slirec_quickstart_functional[recommenders/models/deeprec/config/sli_rec.yaml-tests/resources/deeprec/slirec-10-400-expected_values0-42] _

notebooks = ***'als_deep_dive': '/mnt/azureml/cr/j/b321b89c582248be83f964f9e412bd91/exe/wd/examples/02_model_collaborative_filtering...rk_movielens': '/mnt/azureml/cr/j/b321b89c582248be83f964f9e412bd91/exe/wd/examples/06_benchmarks/movielens.ipynb', ...***
output_notebook = 'output.ipynb', kernel_name = 'python3'
yaml_file = 'recommenders/models/deeprec/config/sli_rec.yaml'
data_path = 'tests/resources/deeprec/slirec', epochs = 10, batch_size = 400
expected_values = ***'auc': 0.7183***, seed = 42

    @pytest.mark.gpu
    @pytest.mark.notebooks
    @pytest.mark.parametrize(
        "yaml_file, data_path, epochs, batch_size, expected_values, seed",
        [
            (
                "recommenders/models/deeprec/config/sli_rec.yaml",
                os.path.join("tests", "resources", "deeprec", "slirec"),
                10,
                400,
                ***
                    "auc": 0.7183
                ***,  # Don't do logloss check as SLi-Rec uses ranking loss, not a point-wise loss
                42,
            )
        ],
    )
    def test_slirec_quickstart_functional(
        notebooks,
        output_notebook,
        kernel_name,
        yaml_file,
        data_path,
        epochs,
        batch_size,
        expected_values,
        seed,
    ):
        notebook_path = notebooks["slirec_quickstart"]
    
        params = ***
            "yaml_file": yaml_file,
            "data_path": data_path,
            "EPOCHS": epochs,
            "BATCH_SIZE": batch_size,
            "RANDOM_SEED": seed,
        ***
>       execute_notebook(
            notebook_path, output_notebook, kernel_name=kernel_name, parameters=params
        )

from recommenders.

SimonYansenZhao avatar SimonYansenZhao commented on June 8, 2024

Could you provide more info about the GPU size used for nightly build? @miguelgfierro

from recommenders.

miguelgfierro avatar miguelgfierro commented on June 8, 2024

T4: https://learn.microsoft.com/en-us/azure/virtual-machines/nct4-v3-series

image

from recommenders.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.