Skip to content

配置环境出错的问题 #1

@JunyuanDeng

Description

@JunyuanDeng

您好,我在配置环境的时候出现了写问题:
一个是在regnerf里面,配置完成之后出现

(regnerf) juneyoung@juneyoung:~/Programmes/ConsistentNeRF/RegNeRF$ CUDA_VISIBLE_DEVICES=0 python train.py --gin_configs configs/regnerf3/llff/room3.gin 
I1010 11:52:53.366230 139984956004160 tpu_client.py:54] Starting the local TPU driver.
I1010 11:52:53.366422 139984956004160 xla_bridge.py:226] Unable to initialize backend 'tpu_driver': Not found: Unable to find driver in registry given worker: local://
I1010 11:52:53.413939 139984956004160 xla_bridge.py:226] Unable to initialize backend 'tpu': Invalid argument: TpuPlatform is not available.
2023-10-10 11:52:53.516892: W external/org_tensorflow/tensorflow/stream_executor/gpu/asm_compiler.cc:231] Falling back to the CUDA driver for PTX compilation; ptxas does not support CC 8.9
2023-10-10 11:52:53.516911: W external/org_tensorflow/tensorflow/stream_executor/gpu/asm_compiler.cc:234] Used ptxas at ptxas
2023-10-10 11:52:53.517249: E external/org_tensorflow/tensorflow/stream_executor/cuda/cuda_driver.cc:625] failed to get PTX kernel "shift_right_logical_3" from module: CUDA_ERROR_NOT_FOUND: named symbol not found
2023-10-10 11:52:53.517266: E external/org_tensorflow/tensorflow/compiler/xla/pjrt/pjrt_stream_executor_client.cc:2036] Execution of replica 0 failed: Internal: Could not find the corresponding function
Traceback (most recent call last):
  File "train.py", line 573, in <module>
    app.run(main)
  File "/home/juneyoung/anaconda3/envs/regnerf/lib/python3.7/site-packages/absl/app.py", line 312, in run
    _run_main(main, args)
  File "/home/juneyoung/anaconda3/envs/regnerf/lib/python3.7/site-packages/absl/app.py", line 258, in _run_main
    sys.exit(main(argv))
  File "train.py", line 299, in main
    rng = random.PRNGKey(20200823)
  File "/home/juneyoung/anaconda3/envs/regnerf/lib/python3.7/site-packages/jax/_src/random.py", line 75, in PRNGKey
    k1 = convert(lax.shift_right_logical(seed_arr, lax._const(seed_arr, 32)))
  File "/home/juneyoung/anaconda3/envs/regnerf/lib/python3.7/site-packages/jax/_src/lax/lax.py", line 382, in shift_right_logical
    return shift_right_logical_p.bind(x, y)
  File "/home/juneyoung/anaconda3/envs/regnerf/lib/python3.7/site-packages/jax/core.py", line 264, in bind
    out = top_trace.process_primitive(self, tracers, params)
  File "/home/juneyoung/anaconda3/envs/regnerf/lib/python3.7/site-packages/jax/core.py", line 603, in process_primitive
    return primitive.impl(*tracers, **params)
  File "/home/juneyoung/anaconda3/envs/regnerf/lib/python3.7/site-packages/jax/interpreters/xla.py", line 249, in apply_primitive
    return compiled_fun(*args)
  File "/home/juneyoung/anaconda3/envs/regnerf/lib/python3.7/site-packages/jax/interpreters/xla.py", line 365, in _execute_compiled_primitive
    out_bufs = compiled.execute(input_bufs)
RuntimeError: Internal: Could not find the corresponding function

另一个是配置pytorch1.8_skhu.yaml出现的:

(regnerf) juneyoung@juneyoung:~/Programmes/ConsistentNeRF/nerf-pytorch-master$ conda env create -f pytorch1.8_skhu.yaml
Collecting package metadata (repodata.json): / WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.9.0.*, but conda is ignoring the .* and treating it as 1.9.0
WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.6.0.*, but conda is ignoring the .* and treating it as 1.6.0
WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.7.1.*, but conda is ignoring the .* and treating it as 1.7.1
WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.8.0.*, but conda is ignoring the .* and treating it as 1.8.0
done
Solving environment: failed

ResolvePackageNotFound: 
  - jpeg==9b=0
  - torchaudio==0.8.0=py37
  - ffmpeg==4.3=hf484d3e_0
  - pytorch==1.8.0=py3.7_cuda10.1_cudnn7.6.3_0

您知道是什么问题吗

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions